| ▲ | MBCook 4 hours ago | |||||||
I wasn’t aware Java had Vulkan bindings. So this is JNI I’m guessing? This makes sense. I guess I’m a bit surprised they were still OpenGL anywhere. I never really got into Minecraft though, so I can’t pretend I know much about its current state. I didn’t even realize there was a non-Java version for desktops. | ||||||||
| ▲ | elric 27 minutes ago | parent | next [-] | |||||||
To elaborate on the other comment about the Foreign Function & Memory API: JNI is effectively dead/deprecated, and has been replaced by the aforementioned API. It is orders of magnitude more developer friendly to use. It handles memory much more cleanly. It's way easier to create bindings to talk to foreign functions (e.g. Vulkan). Probably the most underappreciated great feature in recent Java releases. | ||||||||
| ▲ | matt_heimer 3 hours ago | parent | prev [-] | |||||||
Hopefully it would use the Foreign Function and Memory API instead of JNI. | ||||||||
| ||||||||