5 ms·
> I even speculate C# will reach a point where it will be faster than real world C++ code in many cases Don’t hold your breath. The Java community has been try
by mbrodersen 4y ago
> I even speculate C# will reach a point where it will be faster than real world C++ code in many cases
Don’t hold your breath. The Java community has been trying to do that forever and no cigar. C/C++ is still the #1 language for high-performance software. Developers who hasn’t worked on high-performance software always underestimate how hard it is to compete with C/C++ when it comes to raw performance. Which is why new high-performance projects are started every day using C/C++.
- SemanticStrengh 4y agoIt depends https://news.ycombinator.com/item?id=25217270 https://news.ycombinator.com/item?id=25217270
- mbrodersen 4y agoJava is only as fast as C/C++ if you completely avoid creating objects. It is the ability to manipulate raw data in a cache optimum way and without the Java/C#/… imposed overhead that makes C/C++ fast. Trading doesn’t touch much data so I am not surprised that Java is OK there.