[net.micro.apple] Pascal & C compilers for the //c...

barbay@spp2.UUCP (Chris Barbay) (04/08/85)

I have recently purchased an apple //c and I would
like any info anybody has on Pascal and/or C compilers.
What compiler is the best, what utilities come with
the compilers, which ones compile the fastest, which
ones generate the smallest object code?

Thanks in advance,
Chris Barbay

aol2901@acf4.UUCP (adam lee) (04/10/85)

Hello chris.

  I really dont know too much about the IIc but as for the IIe and the II+ the
best c compiler is known to be the aztec c. I use this complier and it is quite good. I read some write-ups about this compiler and the bottom line is this:

      language          running time
     ---------------------------------
      applesoft         2000 sec
      apple pascal       500 sec
      aztec c          40,20 sec
     ---------------------------------   

this bench mark was done using the same algorithm for each languages above      (I think it was a prime numbers algorithm). The reason there are two running    time for aztec c is that there are two ways to compile in the aztec c.
The faster time is for compiling in native 6502(which is supposed to use more   memory, but will be of greater use). I read all this long time ago in a magazinelong ago. I am pretty sure I'm right about this but I can't guarentee it. The   aztec c should run on the IIc also.
--------------------------------------------------------------------------
  As for pascal I use the Apple pascal 1.2. I can't say i really recomend this  compiler. I've heard the Turbo pascal is really good. But you'll have problems  putting a Z80 in your IIc. You'll have to stick to Apple pascal. I hope I was   of some help.


                                         Jong

ps. This is my friends account, so keep the respose short.

hall@ittral.UUCP (Doug Hall) (04/14/85)

Applied Engineering has been advertising a Z-80 card for the Apple
//c. I'm not sure how it installs, but it fits in the case and lets
you use CP/M on the //c, so that opens up Turbo Pascal as a choice of
Pascal compilers on the //c.

Personally, I have both Apple Pascal and Turbo Pascal on my //e. I
never use Apple Pascal anymore unless I need graphics or I'm writing
something for someone without a Z-80 card. Turbo is so much faster,
and I usually find I need all the speed I can get. And neither
compiler even comes close to the performance I get from my Aztec C
compiler. The Aztec compiler itself is extreeeeeeemmmmely slow, but
the resultant code is quite fast, much faster than the code produced
by either Turbo or Apple Pascal.

Aztec runs on the //c as well as the // and //e. So now you have your
choice. Most anything's better than Applesoft.

Doug Hall
ITT Telecom
Raleigh, NC