3 ms·
As someone who is a career-long C# developer (back to the public beta) who wouldn't touch Java, I think we can be a little more fair here. We in the C# world on
by electroly 4y ago
As someone who is a career-long C# developer (back to the public beta) who wouldn't touch Java, I think we can be a little more fair here. We in the C# world only recently got tiered compilation and there still isn't an interpreter-based first tier like Java has. Your automatic vectorization link is about C++, not C#; I don't think C# has it. I think OP may be wrong about the devirt, as you state, but I wouldn't be surprised to find that Java can devirt in more situations than C# can due to working on it more. OP probably knows more about it than I do.
- SemanticStrengh 4y agoIt's true .NET is lacking autovectorization support.. (despite leveraging a huge number of intrinsics) however the explict SIMD API of .NET is more complete than the Java Vector API, for advanced use cases.
- pjmlp 4y agoTrue, and much easier to use.