home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!isc-br!tau-ceti!jimc
- From: jimc@tau-ceti.isc-br.com (Jim Cathey)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Sozobon C - a free C for the Mac, too?
- Message-ID: <2955@tau-ceti.isc-br.com>
- Date: 5 Jan 93 21:20:07 GMT
- References: <29848@castle.ed.ac.uk> <3917@isgtec.isgtec.com> <1992Dec31.134136.24364@alw.nih.gov>
- Organization: ISC - Bunker Ramo, Spokane, WA
- Lines: 24
-
- In article <1992Dec31.134136.24364@alw.nih.gov> fixer@faxcsl.dcrt.nih.gov writes:
- >Remember, too, that at a purely practical level, arithmetic involving 16-bit
- >values is faster than arithmetic using 32-bit values, so declaring things
- >'short' whenever possible is also an efficient thing to do from an object-code
- >standpoint.
-
- Not, generally, if the int size is 32 bits, which is one of my big
- peeves about 32-bit int environments. You can always say 'long' and get
- an efficient long math construct in a 16-bit int environment, but using
- the converse _still_ gets you a long math construct, not a short one! Most
- 32-bit int environment programmers are pretty sloppy about data sizing,
- and whine when the 16-bit int compiler punishes them for their laxity.
-
- --
- +----------------+
- ! II CCCCCC ! Jim Cathey
- ! II SSSSCC ! ISC-Bunker Ramo
- ! II CC ! TAF-C8; Spokane, WA 99220
- ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.isc-br.com)
- ! II CCCCCC ! (509) 927-5757
- +----------------+
- One Design to rule them all; one Design to find them.
- One Design to bring them all and in the darkness bind
- them. In the land of Mediocrity where the PC's lie.
-