Re: Zero Optimization and Sign Optimization???



James Kuyper wrote:
CBFalconer wrote:
"christian.bau" wrote:
...
My dear CBFalconer, please explain to me what the compiler has
to do with this. I am talking about source code; I am not even
mentioning a programming language or that a compiler would be
used.

Because if the compiler is inaccurate there is no guarantee that
the optimization step is accurate. Nobody in their right mind
optimizes by diddling source code.

How do you justify that assertion? Are you seriously suggesting
that profiling a program to identify it's choke points, and
looking for ways to speed up those parts of the program, is
seldom if ever cost-effective?

Alright, I was sloppy. I was thinking of the sort of optimization
a compiler does, not algorithm improvement or replacement.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
.



Relevant Pages

  • how to create a c# based programming language
    ... I would like to create a new programming language that is based on ... calls the csc compiler to compile the resulting code. ... how would the source code debugger work with such a thing? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Optmization
    ... > Don't modify your source code ... > Learn how to use your compiler's optimization options ... worthwhile, whilst micro-optimisation, which Robert is talking about, ... Buying a better compiler for a hundred quid is probably ...
    (comp.lang.c)
  • Re: GPL vs non-GPL device drivers
    ... shipped the source code of the modified POP server. ... given you the compiler he compiled it with, ... Actually, if memory serves, when you license a work under the GPL, part of the ... a derivative work" the claim is invalid - because, as it has been shown, a ...
    (Linux-Kernel)
  • Re: more compiler switches
    ... Also print the version number of the compiler ... driver program and of the preprocessor and the compiler proper. ... C source code which should not be preprocessed. ... Like -v except the commands are not executed and all command arguments are ...
    (comp.lang.fortran)
  • portable makefiles with f90 modules
    ... What is the current status of designing portable makefiles (on ... unix-like OSs and beyond) in large programming projects with f90 ... I'm assuming in a large project that source code is spread across ... files (or whatever they happen to be called by that compiler). ...
    (comp.lang.fortran)