Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!cmcl2!brl-adm!adm!V125KJG8%UBVMS.BITNET@wiscvm.wisc.EDU From: V125KJG8%UBVMS.BITNET@wiscvm.wisc.EDU Newsgroups: comp.lang.c Subject: Re: MIX-c compiler experiences Message-ID: <7350@brl-adm.ARPA> Date: Tue, 12-May-87 21:37:55 EDT Article-I.D.: brl-adm.7350 Posted: Tue May 12 21:37:55 1987 Date-Received: Sat, 16-May-87 02:06:23 EDT Sender: news@brl-adm.ARPA Lines: 42 writes: >I have been using my MIX compiler for about 6 months and have several >complaints. First, it is SLOW. VERY slow. This is true even in a CP/M-80 or Z-System environment. Also, the memory requirements that the compiler asserts wreak havoc with the already limited space that Z-System provides for transient programs. Even the C.COM/C.OVY package which is 10k smaller will still cause a stack/heap collision on large files. Nothing I can do about that until I can bank-switch the code in another segment on my HD64180... >Well, I can't say I am upset about this; after all the compiler only costs >39.95. It is, as far as I can tell, a full implementation of the K&R specs >for the language and I have not had any problem compiling (small) programs >which were developed with other compilers. Included with the compiler is a >facility for speeding up the compiled code (at the expense of size) and a >facility for compacting the code (at the expense of speed). Both seem to >work as claimed; when the SPEEDUP program is run on a compiled file, the >program does indeed run faster. I have not benchmarked it to determine just >how much faster it is but it is a noticeable improvement. The manual claims here that speeds of up to three times faster are typical, and as high as 10 times faster if the code places heavy emphasis on integer arithmetic. If I need the compiled program to run rapidly and can put up with a limited C, I'll use Small C... I may have an IEEE-compatible math library written inspired by all the floating point errors discussed on here working in Small C soon... MIX C will compile and link quickly, but runtimes are slow, and a 20k file called RUNTIME.OVY has to be brought in; because of Z-System, I need only one copy of the file in my system. --Curtis R. Anderson a (hacking?) student at State University of New York at Buffalo. If I have opened my big mouth far enough to shoot flames, they are mine, not the university's... BITNET: V125KJG8@UBVMS.BITNET ARPA/INTERNET: V125KJG8%UBVMS.BITNET@WISCVM.WISC.EDU