News for hackers. Stuff that matters.
Re:Maybe you don't need Rust and WASM to speed up your JS (2... by cogman10 on Thursday June 24, 2021 @12:59PM (#27620461)
Depends. Java's JIT can handle cases of dynamic dispatch better than C++ because of runtime information. However, C++ has the advantage of time. It can do more heavy optimizations because the time budget to do such opts is much longer than what the JIT has available to it. C++ compilers can be much more aggressive about things like inlining.

That said, yes, the runtime information provides really valuable information. That's why PGO is a thing for C++.

There are no comments on this comment yet.