4 ms·
I wonder if it is the garbage collected language with the highest performance ceiling now?
by gameswithgo 8y ago
I wonder if it is the garbage collected language with the highest performance ceiling now?
- deleted 8y ago[deleted]
- zamalek 8y agoJava might still be faster, and that's deliberate. The goal of RyuJIT is understandable code and predictable machine code. HotSpot aims for performance at all costs. Many HotSpot features have been moving over to RyuJIT, even more are planned. I've always been envious of HotSpot. The main feature I've been envious of is its namesake: it aggressively optimizes hot spots. .Net now has this (tiered compilation), but it's still ultimately as-conservative as the compiler a few years back. The hill that Java has to climb over is the extreme degree of "enterprise code." ASP.Net core is designed with the predictable performance profile of .Net in mind. Java has, well, this[1]. [1]: https://ptrthomas.files.wordpress.com/2006/06/jtrac-callstack1.png https://ptrthomas.files.wordpress.com/2006/06/jtrac-callstac...
- saberience 8y agoAs of the latest versions of .net core, it's definitely faster than Java and it's not even a contest. Oracle is asleep at the while and the new version of Microsoft is pushing C# and .net much harder. https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/csharp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- gameswithgo 8y ago.NET Core now has a ton of memory/data layout control with ref, ref returns, span<t> and also has support for hardware intrinsics as well. Even without the intrinsics C# is beating the JVM on the benchmark game already. Though I think those benchmarks may not all alllow hotspot to do its thing.