by scarface74 · 7y ago · 0 comments
There are other languages that support CLR besides C# and they manage to “work around” generics.
All in all, The JVM is leading not only CLR on all fronts, but pretty much any other runtime. C# compilers and GCs are at least a decade behind Java's. You may argue on how important those things are compared to other tradeoffs, but those are the areas where Java was designed to compete at, and those are the areas where it is leading by a wide margin.
By what measurement? Have any specifics?
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
https://www.degruyter.com/downloadpdf/j/acss.2018.23.issue-1...
And Java still doesn’t have anything equivalent to LINQ.
Regarding measurements: https://www.techempower.com/benchmarks/
Also, I am very interested to see new benchmark results once AOT SubstrateVM will be more widely adopted in JVM community. Demo: https://youtu.be/MN6jNIwl2FQ?t=1136
RedHat already working on a framework which takes full benefit of that: https://quarkus.io/
All in all, with upcoming value types, SubstrateVM adoption, fibers and nice languages improvements like records, future is brighter than ever for Java.
Edit. Regarding JVM vs CLR https://news.ycombinator.com/item?id=15955685
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
In some cases, the faster program with OpenJDK does not seem to be the faster program with Substrate VM.
In other cases, the faster program with OpenJDK seems to fail with Substrate VM - maybe it needs something different on the command line?
Otherwise, the same program is shown for both.