[fa.info-cpm] Aztec C compiler

info-cpm (12/06/82)

>From decvax!ihuxf!larry@Ucb-C70  Mon Dec  6 03:52:16 1982
Received: by UCBVAX.BERKELEY.ARPA (3.227 [10/22/82])
	id A28019; 6-Dec-82 03:57:29-PST (Mon)
Postdate: Sun Dec  5 16:22:13 1982
To: decvax!ucbvax!info-cpm@Ucb-C70
Via:  Mit-Ai; 6 Dec 82 4:11-EST
Via:  Brl; 6 Dec 82 4:19-EST
Via:  Brl-Bmd; 6 Dec 82 4:21-EST


In reply to the quesion about Aztec C compiler --how good is it?  Here
is my impression:

	I think it is a pretty nice compiler.  MUCH faster than
Whitesmith's (both compilation time and execution time).  The benchmarks
I've seen it run plus/minus 10% of BDS (that is usually on of the
fastest).  A BIG speed up can happen when you code using the "register"
type variables.  I used to use BDS, but have been won over to Aztec for
these reasons:

	1) floats/doubles/longs  its nice to have a FULL implimentation
of data types

	2) statics & globals   its nice to have the FULL storage types
(note that BDS does have global variables, but compiler is 'picky' about
the order placement in multiple files)

	3) I LIKE to be able to see the .asm output.  BDS jumps right
from .c -> linkable file (essentially object code).  One of the things
that is interesting (to me) is what code gets generated for a particular
set of statements.  Guess I'm just nosey, but that's one of the things I
bought my micro for!!

	4) the library is just as K & R describe it.  Whitesmith (for
some reason) provide a standard lib, but NAME things differently.  BDS
has the right names, but becuause it lacks 1 and 2, can't do all the
functions exactly right --resulting in "funny" file i/o and some other
things.
-----

	As far as compatibility with M80/L80 -- it works just fine with
them.  (that feature is one of their selling points)


	There are some drawbacks with Aztec -- the way the library and
linker work.  The linker will load more than it really needs, so the
object file tends to be bigger than needed.  (note that L80 has the same
problem)  I have been converting the .asm & .c files in the library to
use the TDL asm and linker.  This pair do a better job of linking the
library.  This can result in a BIG savings in small programs.


		Larry Marek
		 Bell Labs, Naperville

info-cpm (12/07/82)

>From ELIOT@Mit-Mc  Mon Dec  6 22:43:56 1982
To: decvax!ihuxf!larry@Ucb-C70
Cc: INFO-CPM@Mit-Mc
Via:  Mit-Mc; 6 Dec 82 19:31-EST
Via:  Brl; 6 Dec 82 19:37-EST
Via:  Brl-Bmd; 6 Dec 82 19:46-EST


	I have heard that Aztec-C II comes with TWO compilers and libraries.
One compiler/library set for 8080 code and one set for Z80 code.
Supposedly the Z80 compiler/library set can make some code that is
really quite fast and small compared to the 8080 set.  Is any of this
true?  Or is it just rumor?

						-Eliot at Mit-DM