Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site tolerant.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!hplabs!oliveb!tolerant!berry From: berry@tolerant.UUCP (David W. Berry) Newsgroups: net.micro.mac Subject: Re: Macintosh C comparisons? Message-ID: <336@tolerant.UUCP> Date: Fri, 18-Apr-86 17:44:19 EST Article-I.D.: tolerant.336 Posted: Fri Apr 18 17:44:19 1986 Date-Received: Mon, 21-Apr-86 04:22:55 EST References: <2392@decwrl.DEC.COM> Reply-To: berry@handel.UUCP (David W. Berry) Organization: Tolerant Systems, Inc. San Jose, CA Lines: 63 Summary: In article <2392@decwrl.DEC.COM> santiago@ny1mm.DEC (Carlos D. DTN 333-6249) writes: As far as LightspeedC is concerned > > 1) compilation speed NOT USING A HARD DISK Easily 250-500 Lines per second from 800k floppies. Even faster if the compiler and includes are on a ramdisk. > 2) linker intelligence Unfortunately not as bright as it could be. Indications are that they sacrificed this to meet release schedules. > 3) adherence to K&R They claim complete. I haven't noticed any inconsistencies. > 4) produces 'clickable' applications As an extra step. Part of the edit-recompile-test cycle speed is that a complete application isn't built for every cycle. Extra time to build a large application is measurable in seconds. > 5) supports float & double Yes. double is 80-bit extended IEEE (using SANE). > 6) supports TYPEDEF Yes. > 7) for that matter passing structs by ref? Passing of structs by ref and return of structs are both supported. In addition: 1) Has a blindlingly fast edit/recompile cycle. 2) Supports enum, pascal function modifier and inline toolbox traps. 3) Editor/Compiler are a single package occupying 173K. 4) The editor supports unix style full regular expression search and replace. 5) There is a multi-file search and replace capability that is rather well implemented. 6) The package has a built in make facility. It isn't unix make, nor is it as powerful, but it quite adequate for it's purpose. 7) It will generate applications, da's/drivers, and pure code resources. It even allows initialized globals in da's. Defects: 1) Doesn't yet support added traps in the new roms/HFS. It runs under HFS but you can't write programs to use the new calls as delivered. I have a set of glue routines and header files that fixes the problem though. 2) Doesn't have inline assembly. Nor does it integrate well with MDS. You have to assemble the file with MDS and then run a program they supply to convert to a useable format. They do provide a method of mapping the single case MDS names to the dual-case names they use. 3) It breaks when run under heap scramble in TMon which means it might have lot's of trouble on a 128K mac or in a small switch segment. The again, so does Finder 5.2. If you need/want more information feel free to contact me by mail at: -- David W. Berry dwb@well.UUCP Delphi: dwb {ucbvax,pyramid,idsvax,bene,oliveb}!tolerant!berry I'm only here for the beer.