by le-mark · 9y ago · 0 comments
[1] https://en.wikipedia.org/wiki/Project_Valhalla_(Java_languag...
That said... the potential to exploit security holes via GL library calls is, unfortunately, alive and well even with WebGL.
Having programmed several 3d engine, I can say it's really simple to program a 3d engine but it's really hard and time consuming to program one that has reasonnable performance.
Minecraft was especially bad because it used very old version of OpenGL (the 1.5 - 2.0 OpenGL with fixed pipeline) which is really not adapted to modern GPU.
Actually Java and the JVM are the heroes here, because the guys that took over after Notch, just wrote shitty code allocating several hundred MB per second on the game loop.
Also the majority of Mincraft plugins are written by kids, whose understanding about how to write game code is nonexistent.
It might even be the second most popular way to make indie games, after Unity. Depends on how you count "indie" games.
basically anyone thinking they might want to use Java could use Monogame instead and have a much better time.
Practically, not having value types is not really the kind of problem you'd expect it to be. Cache coherence with something like Mono or the JVM is less of a priority (nice-to-have but let's be real here) and a bunch of arrays of primitives looks uglier than C# structs but it mostly comes out in the wash.