4 ms·
> the CLR runtime looks frankly minor league when compared to the JVM. This is comically backwards from my experience. I often see near-native optimized perfor
by creato 5y ago
> the CLR runtime looks frankly minor league when compared to the JVM.
This is comically backwards from my experience. I often see near-native optimized performance on C#/CLR, where I see similar code (SIMD friendly loops) literally hundreds if not thousands of times slower than it should be in Java.
- jpgvm 5y agoSee my longer reply but I think this basically comes down to it being much easier to write fast C#. Generally if you are experienced enough with Java you can make it do what you want and get to the same performance (or higher) with Java but it's definitely not as easy and I do think this is a serious downside to Java.
- deleted 5y ago[deleted]
- pjmlp 5y agoWhich Java? OpenJDK, GraalVM, Open J9, Aicas, PTC, microEJ, Azul, Amazon,....
- _old_dude_ 5y agoVery true, Java was late in the game in term of SIMD loop optimizations compared to C#. Oracle engineers did the first implementation for Java 7, more recently it's mostly contributions from Intel, AMD and ARM [1]. [1] https://cr.openjdk.java.net/~vlivanov/talks/2019_CodeOne_MTE_Vectors.pdf https://cr.openjdk.java.net/~vlivanov/talks/2019_CodeOne_MTE...