I miss Jake2. It certainly should have been on the list. It proved that if you take a well written codebase (id software's Quake2 source code) and port it to Java, it can be as fast as the original native binary and sometimes a bit faster. Given that in Java you do not have stack allocated datastructures, can do no ASM hackery and have to pay a rather expensive JNI calls cost to do OpenGL and seeing how HotSpot still managed to produce a slightly more performant/optimized code than was the original binary... that was a nice eye opener for me at the time.
2
u/kimec Jun 11 '20
I miss Jake2. It certainly should have been on the list. It proved that if you take a well written codebase (id software's Quake2 source code) and port it to Java, it can be as fast as the original native binary and sometimes a bit faster. Given that in Java you do not have stack allocated datastructures, can do no ASM hackery and have to pay a rather expensive JNI calls cost to do OpenGL and seeing how HotSpot still managed to produce a slightly more performant/optimized code than was the original binary... that was a nice eye opener for me at the time.