Scott.Ladd@f506.n106.z1.fidonet.org (Scott Ladd) (08/07/89)
Just for general educational purposes, I thought I'd pass on this quick comparison of various C++ translators. I use the Guidelines and Intek translators in addition to the Zortech compiler. I keep the translators just so I can be sure that the programs I write are compilable with translators close to the original CFRONT developed at AT&T. Compiling a test program revealed the following statistics: Intek Guidelines Zortech ----- ---------- ------- Size (bytes) 22064 21840 10166 Time (secs) 55.40 54.12 29.46 Full optimization was used for the compiles. The translators used Microsoft C 5.1 as their C compiler (it was not possible to use Zortech C). The two translators produced DOZENS of warnings, usually involving the truncation of long identifiers. Even with its slow global optimization pass, Zortech came out so far ahead as to make the other products laughable. An interesting point: When using the translators, do not invoke Microsoft C with the /Oi or /Ox (which includes /Oi) switches on; this generates "duplicate definition" errors for all intrinsic functions such as memset() and strcpy(). Yuck. Verdict: I'm sticking with Zortech! ------------------------------------------------------------------------------ The above is a cross posting from the FidoNet C_Echo. Scott Ladd is a writer thus tries to be a neutral party in the "compiler wars". Roy Browning
grg@otter.hpl.hp.com (Gerd Groos) (08/10/89)
Looks like you get more performance for less money using a product like Zortech C++. Why do people then use C++ translators on MS-DOS machines? Just wondering.. Gerd