Re: Justifying Optimization

Joachim Durchholz <joachim_d@gmx.de>
11 Feb 2003 01:20:57 -0500

          From comp.compilers

Related articles
[14 earlier articles]
Re: Justifying Optimization tmk@netvision.net.il (2003-01-30)
Re: Justifying Optimization lex@cc.gatech.edu (Lex Spoon) (2003-02-05)
Re: Justifying Optimization bobduff@shell01.TheWorld.com (Robert A Duff) (2003-02-05)
Re: Justifying Optimization vbdis@aol.com (2003-02-06)
Re: Justifying Optimization vbdis@aol.com (2003-02-06)
Re: Justifying Optimization joachim_d@gmx.de (Joachim Durchholz) (2003-02-11)
Re: Justifying Optimization joachim_d@gmx.de (Joachim Durchholz) (2003-02-11)
Re: Justifying Optimization joachim_d@gmx.de (Joachim Durchholz) (2003-02-11)
Re: Justifying Optimization bhurt@spnz.org (2003-02-11)
Re: Justifying Optimization nde_plume@ziplip.com (2003-02-11)
Re: Justifying Optimization cgweav@aol.com (2003-02-11)
Re: Justifying Optimization anton@mips.complang.tuwien.ac.at (2003-02-21)
| List of all articles for this month |
From: Joachim Durchholz <joachim_d@gmx.de>
Newsgroups: comp.compilers
Date: 11 Feb 2003 01:20:57 -0500
Organization: Compilers Central
References: 03-01-158 03-02-024
Keywords: optimize, practice
Posted-Date: 11 Feb 2003 01:20:57 EST

VBDis wrote:
> IMO it /is/ possible to write correct code, which deserves no runtime
> checks,


My experience tells me otherwise.


> and the overall cost of such code will be lower than of
> "traditional" code, when only the time for debugging and the cost of
> errors at the customer sites are taken into account.


Correct.
However, if you invest enough time to make the code correct, you won't
have any customers anymore. They prefer buggy but early code to correct
but late code. And once the buggy code is out, they want even more buggy
code, instead of fixed code.
Correctness doesn't pay. Unless it's for free. (Which is why C is so
bad: making C code robust, not to mention correct, just costs too much.)


This depends entirely on the type of customers that one has, of course,
so YMMV.


Regards,
Joachim


Post a followup to this message

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