Re: crushing java
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 06/17/04
- Next message: Jon Skeet [C# MVP]: "Re: Playing with System.DateTime"
- Previous message: Ram Baruch: "setting the class of the window"
- In reply to: Lloyd Dupont: "Re: crushing java"
- Next in thread: Lloyd Dupont: "Re: crushing java"
- Reply: Lloyd Dupont: "Re: crushing java"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Jun 2004 11:28:00 +0100
Lloyd Dupont <ld@NewsAccount.galador.net> wrote:
> of course the compiler don't just remove a call.
> it's incorrect to remove a function call !
Not if the JIT compiler absolutely knows that it can have no effect on
anything other than performance.
> at most does it inline it.
Really? I looked at the JITted code with cordbg. Did you?
I tried running your code without the call to Math.Cos, and got the
same results. Did you? Are you saying that Math.Cos calls are
absolutely free?
> your reaction just proved you to be sentimental and self blinded
Whatever you say...
> anyway, this proof can be canceled by another similar test:
On my box, that shows .NET throwing exceptions to be significantly
slower than Java. Of course, any system which is throwing hundreds of
thousands of exceptions ought to look at its design very carefully
anyway.
There are areas where .NET is faster than Java.
There are areas where Java is faster than .NET.
I really don't see why that's so hard to accept...
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: Jon Skeet [C# MVP]: "Re: Playing with System.DateTime"
- Previous message: Ram Baruch: "setting the class of the window"
- In reply to: Lloyd Dupont: "Re: crushing java"
- Next in thread: Lloyd Dupont: "Re: crushing java"
- Reply: Lloyd Dupont: "Re: crushing java"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|