From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f66ab,c2ed41f6f9544612 X-Google-Attributes: gidf66ab,public X-Google-Thread: fa705,4e5700f5f17e49f4 X-Google-Attributes: gidfa705,public X-Google-Thread: 103376,18a09885d036772 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Is this ground dead? Also, info on Mach that's more recent Date: 1998/01/19 Message-ID: #1/1 X-Deja-AN: 317469757 References: <34AE2AE8.ED17B2C6@gildea.net> <5lzpky66rq.fsf@tequila.systemsz.cs.yale.edu> <69jr4q$44j$1@encore.ece.cmu.edu> <69rdmb$j29$1@encore.ece.cmu.edu> <34c39dc4.0@news1.ibm.net> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 885247476 23992 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.os.mach,comp.unix.bsd.misc,comp.lang.ada Date: 1998-01-19T00:00:00+00:00 List-Id: Mark said <> The C facilities are far more primitive. In particular the bit fields in C can only be applies to integral types (you cannot use them for float types, or even for enumeration types). Yes, you can rig things up with bit fields, but it is often complex and implementation dependent to do so. As for what can happen without careful type definition, rampant unchecked conversions are the least of the problems. If there is one place where care is needed (and good training and design sense counts for a lot) it is in proper design of types. Properly written low level code in Ada is cleaner and easier to read than corresponding low level code in C, for the simple reason that Ada provides more extensive facilities in this area.