Path: utzoo!mnetor!uunet!husc6!rutgers!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.lang.c Subject: Re: what C needs Message-ID: <1759@bsu-cs.UUCP> Date: 1 Jan 88 01:55:36 GMT References: <8712241909.AA03710@decwrl.dec.com> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 16 In article <8712241909.AA03710@decwrl.dec.com> devine@cookie.dec.com (Bob Devine) writes: > Something I wish that the committee *had* turned there attention >to is the memory layout of members inside a structure. Pascal >provides a packed/no-packed approach... Another interesting thing about Pascal, that ANSI might want to consider, is the idea of a level 0 (the basic language) and a level 1 (the fancy stuff). ISO level 0 C would be essentially K&R C plus function prototypes and a standardized library. ISO level 1 C would have all the fancy stuff, such as noalias, string concatenation, token pasting, parentheses being not rearranged, etc. Portable code could be written in level 0, and level 0 compilers would become available much sooner. -- Rahul Dhesi UUCP: !{iuvax,pur-ee,uunet}!bsu-cs!dhesi