Skip to content

Comparing with LWJGL 3

squid233 edited this page Jan 7, 2025 · 2 revisions

This page compares OverrunGL with LWJGL 3.

Advantages

No JNI

OverrunGL uses the FFM API instead of JNI, which is designed to enables Java programs to call native libraries and process native data without the brittleness and danger of JNI.

No NIO buffers

OverrunGL uses MemorySegment instead of NIO Buffers, which not only expands the region of memory that can be accessed to range of long, but also avoids annoying flip and clear methods.

No long pointers

OverrunGL uses MemorySegment instead of long to represent memory addresses, which distinguishes addresses from numbers.

Disadvantages

Less bindings

OverrunGL is still at its beginning, and there are only a few supported bindings.

If you are hoping for a new binding, please create a feature request.