mdh@linus.UUCP (Mike, no not that one, no, the other one) (10/23/87)
About 2 weeks ago, I what people thought were a good 'C'-compilier, and/or a good assembler for the Mac. I got three Replies, and are as follows.: From: decvax!ucbvax!dewey.soe.berkeley.edu!oster (David Phillip Oster) LightSpeed C has an integrated C compiler, Editor, grep, make, link, and assembler. It comes with Apple's MacsBug. It is a very fast compiler, and linking is almost instantaneous (because it keeps around the link info as part of the compile.) It compiles direct to object code. The assembler is integrated with the compiler, so if you say: foo(xP)register char*xP;{ asm{ move.l (xp),D0 } } it does the right thing. I prototype in C then profile to prove to myslef I know where the hot spots are (you'd be amazed how often you are wrong about that.) (LightSpeed C has an integrated profiler.) After I get my algorithms right, I translate to assmebly langauge as required. I don't use MPW, it is too big and slow. From: jww@sdcsvax.ucsd.edu (Joel West) MPW comes with an assembler, macro interpreter and an assembly language debugger. You can also buy either Apple's or Manx's C compiler to go with it. From: singer@endor.harvard.edu (Richard Siegel) Well, my recommendation would be obvious, and no one would take me seriously :-), but I personally prefer LightspeedC (as I did before THINK hired me). It's a good C compiler, and better yet, has a fairly good in-line assembler built-in. I Also asked what are some good reference books, to which the replies where: From: decvax!ucbvax!dewey.soe.berkeley.edu!oster (David Phillip Oster) The books to get are: Inside Mac, Vols 1, 2, 4, and 5 (1 and 2 are the basic Mac, 4 covers upgrades with System 3.2, and 5 covers upgrades with System 4.1) You need them. Accept no substitutes. The tech notes. These are 6 times a year articles by apple staff on fine point in programming the system. There are about 150 articles in the collected tech notes. Scott Knaster's book on writing Macintosh software. Programmer's at Work, Microsoft Press, has the complete source code for Andy Hertzfeld's "Icon Bounce" program if you are interested in assembly language source. From: jww@sdcsvax.ucsd.edu (Joel West) The best books on assembly language programming are considered to be The Complete Book of Macintosh Assembly Language Programming, Volumes I & II by Dan Weston; publisher is Scott Foresman Co. I would like to thank these people for there inputs, and I hope this helps someone else, as much as it helped me. -- Mike Houle | Real World: Life's a Bitch, | and then you Die!. ! UUCP -> decvax!linus!mdh | Fantasy World: Life's a Die, ! ARPA -> mdh%linus@mitre-bedford | and then you Bitch!