Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is C# more performant than Java? It was my understanding that HotSpot's JIT performs significantly more optimizations, almost bordering on esoteric magic, compared to the CLR.

I can understand how value types would help a lot, but it is possible to optimize Java to avoid object headers on the heap at great pain, i.e. avoiding classes and doing index arithmetic on flat arrays of values. Value types coming to the JVM will obviously help here.

Curious to hear about other advantages the CLR has.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: