Closed gudenau closed 1 year ago
See #609
That didn't show up in the issues or PRs when I searched, funky.
Hey @gudenau,
Migrating LWJGL to Panama will be a top priority when the time is right. You'll know it's happening when development on LWJGL 4 begins.
The current plan is to have a first working build when JDK 20 is released. It will be an alpha/beta build and there will be a long testing period after that. Note that:
MemorySegment
).MemoryAddress
class, which is a big part of the 19 API, has been removed in 20.Interesting, I was under the impression that preview features were not supposed to have such massive API changes where incubator APIs could.
My bad.
Description
With the new FFI APIs in preview in Java 19, it would be nice to have LWJGL support. The new FFI APIs are supposed to be faster than JNI already and should hopefully have fewer breaking API changes than the incubator releases of Java 18 and earlier.
There are methods that allow you to used direct NIO buffers and some methods that existing LWJGL tooling may be able to hook into without too much effort.