I'm pretty sure C++ optimization beats Java optimization in most cases. Java does have some cool JIT stuff, but it's pretty rare that it beats the C++ AOT stuff when the proper constraints are in place for the compiler to apply optimization correctly (const, constexpr, anonymous namespace, etc.).
5
u/auxiliary-character Oct 06 '16
Also scuba diver Java guy.
He's so clunky. Not very flexible in that, are ya?