Re: Cracking DES with C++ is faster than Java?
From: Julie (julie_at_nospam.com)
Date: 04/30/04
- Next message: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Previous message: Liz: "Re: String copy in same location in java"
- In reply to: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Next in thread: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Reply: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 15:41:21 -0700
Claudio Puviani wrote:
>
> "Julie" <julie@nospam.com> wrote
> > Dez Akin wrote:
> > [snip]
> > > > It will always be possible to out-do the optimizer, however the value of
> such
> > > > has been steadily decreasing as processor speeds have increased.
> > >
> > > People said the same thing about chess. Don't expect people to have
> > > the edge in the future just because we've done allright untill now.
> >
> > Yes, but the rules of chess have stayed the same.
> >
> > Chip rules haven't, and won't.
> >
> > I think that increases in speed will mitigate the need for most optimizations,
> > so my feeling is that hand optimization will die mainly due to lack of need,
> > rather than lack of ability.
>
> That naively fallacious argument has existed since the early days of computers,
> and it's usually uttered by academics who have little contact with the real
> world. No matter how fast a computer is, there will always be problems that take
> extremely long to process and the volume of operations that need to be done per
> unit time is growing faster than the hardware can keep up. A compiler that
> performs worse optimizations (let alone none at all) will not be competitive with
> one that performs better ones. Certainly, a company that uses slower code will be
> at a disadvantage with respect to one that strives for efficiency. You can't
> think in absolutes; it's relative performance that matters.
>
> Claudio Puviani
Claudio, please follow the context of the thread before making such responses.
The topic of discussion relates to HAND-OPTIMIZED ASSEMBLY, not optimizations
in general.
My feeling is that the need for hand-optimized assembly will diminish over time
as baseline performance increases over that same period of time. That is what
I was communicating, nothing more, nothing less.
- Next message: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Previous message: Liz: "Re: String copy in same location in java"
- In reply to: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Next in thread: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Reply: Claudio Puviani: "Re: Cracking DES with C++ is faster than Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|