10 ms·
I don't know about that. Some of the Java libraries that were written in C were long ago converted to Java and they run faster. It's hard to say that the JVM i
by zxcvb 14y ago
I don't know about that. Some of the Java libraries that were written in C were long ago converted to Java and they run faster.
It's hard to say that the JVM is faster or slower than X because it usually comes down to the way in which the application is developed.
If C++ was ALWAYS faster then I wouldn't be using Java for our trading systems. Some of our competitors use C++ and some use Java. We have one of the fastest trading platforms in the world, the only firm to have faster than us are also using Java.
- prodigal_erik 14y agoCool. I've always expected JIT could eventually beat AOT compilation, though I haven't heard of that being commonly seen. I'm a little surprised that C++ still tends to use crude vtable dispatch just because that's what Stroustrup demonstrated and it's easy.