[comp.sys.atari.st] Turbo-C

t68@nikhefh.hep.nl (Jos Vermaseren) (01/10/89)

I wrote a review of 5 C compilers for the Dutch magazin start (no connection
with the US magazin) a few months ago. In it we compared (Daan Jitta and me)
Laser C, Lattice, MarkWilliams, Aztec and Turbo C.
Nearly all categories were won by Turbo. The category that it does worst
in is the reliability of its libraries. This is explained by the fact that
it is still a rather new product.
Here are the results of some benchmarks:

Savage:
            compil  exec    error
Aztec       10.3    68.04   -3.177E-07
Laser        9.5    36.27   +1.737E-10
Lattice     32.7    40.01   -3.177E-07
MWC         27.1    85.14   -1.188E-07
Turbo       12.6    31.82   +1.737E-10

Dhrystone:
            comp    Dhrystones/sec
Aztec       17.2    1137
Laser       12.1     845
Lattice     38.6     786
MWC         29.5    1048
Turbo       17.6    1702    (compilation delayed by two pages warnings (ANSI))

Next I compiled a larger program, consisting of about 20 files (> 300K together)

            comp        exec     size,size during execution
Aztec       573         97      74924,83230
Laser       263         99      91006,96444
Lattice    1230        111     103668,100554
MWC         633         84      78079,83222
Turbo       201         74      62180,68688

This last program didn't use floating point and used hardly anything of
the libraries.

With other programs MWC usually beats Aztec in the length of the file.
The running time difference between MWC and Aztec in the last example
is mainly due to the fact that Aztec cannot use predecrement and post
increment.

The above compilations were from ramdisk (Mega 4). The compiler was sitting
on hard disk and had to be called each time by make.
registers were used as much as possible.

This last program was designed with MWC and fairly much optimized to produce
efficient code with it.

In my programs typical rates are that code is about 20% shorter and faster.


By the way:
Turbo C was made by Heimsoeth with much help from Borland.
When it is a hit in Germany they will sell it in the US under the name Borland.
I haven't seen the official release of the assembler and the debugger yet.
The assembler (in beta version) uses motorola instructions and looks in its
use like what the DRI assembler should have been. Because it hasn't been
released yet I don't know about the macro facilities. My manual is a file
that contains about 50 lines or less about the assembler. Its a good 
workhorse though.
The debugger is at assembler level (the source level debugger will come
later. If it looks like the one on the PC it will be very good) and looks
a little bit like a very much improved SID.

Price of turbo is less than DM200 in Germany which is a little over $100.

Jos Vermaseren

schiers@imdm.uke.uni-hamburg.dbp.DE (Carsten Schiers) (10/20/89)

Hello,

mail to chad@decwrl.dec.com bounces, so, since this might be of 
american interest, I send it to the list. It is an information
about price and availability of Turbo-C for Atari ST in Germany.

------------- original mail to chad starts here -------------
Hi,                                                 

in Germany, Borland products are sold from many firms, but the
original distributer is Heimsoeth in Munich.

Heimsoeth Software GmbH & Co. KG
Lindwurmstrasse 88
8000 Muenchen 2 
++49-89-72010-201 or
             -202

The price is DM 228,- (about $115,-) for the Compiler and DM 342,- (about
$170,-) for Compiler, Assembler and Debugger, but I am not sure, whether
the debugger is already available. 

If you are interessted, I can send you address and phone number of the
firm in Munich, which ported the whole thing.

CU Carsten.

+-------------------------------------------------------------------------+
|  University of Hamburg, F.R. of Germany, University Hospital Eppendorf  |
|               Department of Computer Science in Medicine                |
+-------------------------------------------------------------------------+
|  ######  ##    ##  ####     ##    ##      ###  ##    ##  ##  ##  ###### |
|    ##    ###  ###  ##  ##   ###  ###     ###   ##    ##  ## ##   ##     |
|    ##    ## ## ##  ##   ##  ## ## ##    ###    ##    ##  ###     #####  |
|    ##    ##    ##  ##  ##   ##    ##   ###     ##    ##  ## ##   ##     |
|  ######  ##    ##  ####     ##    ##  ###        ####    ##  ##  ###### |
+-------------------------------------------------------------------------+
|                           Carsten Schiers                               |
|               DFNet: schiers@imdm.uke.uni-hamburg.dbp.de                |
|            Usenet: unido!imdm.uke.uni-hamburg.dbp.de!schiers            |
|           Bitnet: schiers%imdm.uke.uni-hamburg.dbp.de@dfngate           |
|       Internet: schiers%imdm.uke.uni-hamburg.dbp.de@relay.cs.net        |
+-------------------------------------------------------------------------+

ONM07@DMSWWU1A.BITNET (Julian Reschke) (10/21/89)

Just to clarify the situation: the menus of TURBO-C ARE english! Only
documentation and online-help are in German. Perhaps some publishing
company should offer an english documentation for Turbo-C?

						Julian Reschke