From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ea19776e3073a96 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: C/C++ programmer giving Ada95 a chance -- writing an emulator. Date: 2000/04/06 Message-ID: <2000Apr6.125002.1@eisner>#1/1 X-Deja-AN: 607628011 References: <38e148e2.5089627@news.shreve.net> <38E2E979.3D1A95DE@research.canon.com.au> <38e7e951.8384503@news.shreve.net> <8c7j8c$plf$1@wanadoo.fr> <8c80ms$jnk$1@nnrp1.deja.com> <38E8F9C4.6D0E137@cadence.com> <8ciddt$2v7$1@nnrp1.deja.com> X-Trace: news.decus.org 955039807 4879 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 2000-04-06T00:00:00+00:00 List-Id: In article <8ciddt$2v7$1@nnrp1.deja.com>, Robert Dewar writes: > So our compilation requires 10 seconds of CPU time. Since this > can be overlapped with reading the sources, there is no reason > not to expect the compilation to be finished in less than half > a minute. > > Could one write an Ada compiler that compiled this fast? Yes, > but it would be a very large project. Is it worth it? No. Another area of overlap is program compilation with programmer thinking about the problem. Human instinct can sometimes lead the programmer to try to "keep up with" the machine and make a test run as soon as the compilation is done rather than waiting until the thinking is done. A faster compiler can result in a considerably larger number of compilations to reach the same end result, possibly with a much longer wall clock time.