On 2009-12-14 02:26, DMB wrote:
> That's a common misconception among Java folks. Leaving aside the
> relative merits of the various web frameworks, .NET runtime is about
> 10% faster on Windows in steady state than Sun Server JRE, and it uses
>    
Back it up by a decent benchmark, otherwise tell me where would .NET end 
up here:
http://www.stefankrause.net/wp/?p=6

It's a common misconception among .NET folks that they think what they 
think.
> half as much RAM to boot. Mono is slower than JRE (aside from app
> start-up times, which are faster), but its memory consumption profile
> is similar to that of Microsoft runtime. It helps when the runtime is
>    
Because .NET is not dynamic enough, it doesnt have runtime profiling 
etc, why did they need DLR then ? (And how much memory does it use ? :)

> actually designed in a way that doesn't make methods virtual by
>    
I cant see the point. Can .NET devirtualize virtual methods ? (JVMs can 
completely devirtualize abstract method callsites too and inline them 
without guards if there's single implementer)

> default, has reified generics, bytecode that's optimized for JIT, and
>    
Generics yest, it's a plus, but .NET jit is NOWHERE near modern JVMs.

> easy to use infrastructure to write your own compilers (which enables,
> e.g. precompiled ASPX pages and regexes).
>
>    

Offline compilation kills peak performance.
> .NET is not really an option in the open source world (for a variety
> of well known reasons), but make no mistake -- it is a technically
> superior runtime in most aspects that matter. I'm hoping LLVM will
> close the gap on the Linux/UNIX side.
>
> I think today's Sun JRE does a good job given what it has to work
> with, but it's crippled from the start by some unfortunate design
> choices, and I don't see much improvement anywhere on the horizon,
> aside from the dynamic extensions and OSGI in Java 7. Which is why
> people are looking at e.g. Scala. Once the developer tries closures
> and functional programming on sequences, it's kinda hard to go back to
> Java.
>    
Yes, .NET learned bunch of things from Java and many mistakes has been 
fixed, but it's also much more primitive than modern JVMs, also, it's 
specification isn't that demanding.
It's also light years behind in terms of optimization tricks, stability 
and portability.

lopex

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to