Re: Compile speed: Pascal(Delphi) vs C++

Robert A Duff <bobduff@shell01.TheWorld.com>
3 Dec 2003 20:21:54 -0500

          From comp.compilers

Related articles
[3 earlier articles]
Re: Compile speed: Pascal(Delphi) vs C++ marcov@stack.nl (Marco van de Voort) (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ robert.thorpe@antenova.com (Rob Thorpe) (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ vbdis@aol.com (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ randyhyde@earthlink.net (Randall Hyde) (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ marcov@stack.nl (Marco van de Voort) (2003-12-03)
Re: Compile speed: Pascal(Delphi) vs C++ marcov@stack.nl (Marco van de Voort) (2003-12-03)
Re: Compile speed: Pascal(Delphi) vs C++ bobduff@shell01.TheWorld.com (Robert A Duff) (2003-12-03)
Re: Compile speed: Pascal(Delphi) vs C++ torbenm@diku.dk (2003-12-08)
Re: Compile speed: Pascal(Delphi) vs C++ joachim.durchholz@web.de (Joachim Durchholz) (2003-12-08)
Re: Compile speed: Pascal(Delphi) vs C++ rygNOSPAM@gmx.net (Fabian Giesen) (2003-12-08)
Re: Compile speed: Pascal(Delphi) vs C++ bobduff@shell01.TheWorld.com (Robert A Duff) (2003-12-13)
Re: Compile speed: Pascal(Delphi) vs C++ postmaster@paul.washington.dc.us (Paul Robinson) (2004-02-04)
| List of all articles for this month |
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Newsgroups: comp.compilers
Date: 3 Dec 2003 20:21:54 -0500
Organization: The World Public Access UNIX, Brookline, MA
References: 03-11-048 03-11-078
Keywords: C, Pascal, practice
Posted-Date: 03 Dec 2003 20:21:54 EST

Rob Thorpe <robert.thorpe@antenova.com> writes:


[snipped a lot of good stuff I agree with, but...]


> As far as optimizations go, what is important is not how good the
> compiler is, but how good it is at its highest setting. Set it to
> almost no optimization for debugging and only use optimization when
> you get near to the final release.


No! Optimization sometimes introduces new bugs. Yes, use
no-optimization for debugging (usually). But don't wait until
near-final-release to run with optimization turned on. Instead, have a
good regression test suite, and run it every night at 2 am or so, with
optimization both on and off.


- Bob


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.