Re: Cracking DES with C++ is faster than Java?

From: Julie (julie_at_nospam.com)
Date: 04/28/04


Date: Tue, 27 Apr 2004 21:05:14 -0700

Dez Akin wrote:
[snip]
> Optimizers are getting smarter though, and I suspect in not too many
> years it will be a waste of time to attempt to out-do the optimizer.
> In a couple of decades at the most I suspect it will be impossible for
> any human to outperform an optimizer. (Massalin's superoptimizer led
> to Denali, which I imagine will lead to more generic optimal code
> approximators)

I don't buy that.

If processing unit architecture stayed the same during that time, then you
would have an argument.

However, each time a processor is revved, new features, behaviors, opcodes,
etc. are added. At that point, the compiler writer must then decide on what
feature to incorporate, if at all, let alone optimizations.

It will always be possible to out-do the optimizer, however the value of such
has been steadily decreasing as processor speeds have increased.



Relevant Pages

  • Re: Cracking DES with C++ is faster than Java?
    ... > Optimizers are getting smarter though, and I suspect in not too many ... > years it will be a waste of time to attempt to out-do the optimizer. ... However, each time a processor is revved, new features, behaviors, opcodes, ... It will always be possible to out-do the optimizer, ...
    (comp.lang.cpp)
  • Re: Cracking DES with C++ is faster than Java?
    ... > Optimizers are getting smarter though, and I suspect in not too many ... > years it will be a waste of time to attempt to out-do the optimizer. ... However, each time a processor is revved, new features, behaviors, opcodes, ... It will always be possible to out-do the optimizer, ...
    (sci.crypt)
  • Re: C Strings
    ... The result is that you're left with sizeof a string literal, ... of the compiler other that "the optimizer". ... I suspect that the ... Keith Thompson kst-u@xxxxxxx ...
    (comp.lang.c)
  • Re: Single large join vs. multiple queries
    ... database. ... This is suspect. ... Next, if you want a result set that meets a certain criteria, then you ... intermediate results, so the optimizer can get everything it needs, ...
    (microsoft.public.sqlserver.programming)
  • Re: C# and compiler optimizer.
    ... > busy implementing new features, ... The current scuttlebutt is an IL optimizer instead of individual ...
    (microsoft.public.dotnet.languages.csharp)