From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/10 Message-ID: <1997Oct10.170030.1@eisner>#1/1 X-Deja-AN: 279363784 X-Nntp-Posting-Host: eisner.decus.org References: <612k6f$i79@news-rocq.inria.fr> <619nmn$4jv$1@goanna.cs.rmit.edu.au> <34392537.AA4A9F96@tonys.ecology.umn.edu> <61c9kl$94l$1@goanna.cs.rmit.edu.au> <343AAA16.41C6@lanl.gov> <343D64F1.167E@lanl.gov> X-Trace: news.decus.org 876517238 2952 KILGALLEN [192.67.173.2] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec In article <343D64F1.167E@lanl.gov>, William Clodius writes: > Fortran currently also lacks a standard defined preprocessor. This may, > or may not, be viewed as a problem for Fortran. The received wisdom on > preprocessors is that they can help performance and portability, but > their effect on code maintenance and legibility may not be worth the > price. As for performance I have only seen the C preprocessor to hinder compilation speeds (presumably run-time performance is not the issue since some combination of libraries and inlining can make code from sophisticated compilation equal to that from any sort of preprocessing). But as for compilation speed, taking a full set of VMS interface definitions ("Starlet") and using them from C slows down the compilation _considerably_ compared to compilers like Bliss, Pascal and Ada which make use of precompiled libraries. DEC releases a new version of VMS only once a year or so, why should I recompile the interface definitions every time I compile ? As I understand it, the reliance on preprocessors is actually required by the definition of the C language and it is impossible to implement a C compiler which uses precompiled interface definitions because one is supposed to be able to add definitions before those which are "include"ed and have those added definitions affect the "include"ed ones. Larry Kilgallen