-
It appears that there are multiple LMDB Java wrappers.
Honestly, it feels strange to have to include a gaming library as a dependency when enabling the LMDB backend. Did you consider the other wrapper? If yes, what was the reason for choosing the LWJGL wrapper? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
@kenwenzel Any chance you have the time to take a look at this question? |
Beta Was this translation helpful? Give feedback.
-
One thing I noticed is that lmdbjava did not have aarch64 support for MacOS until now in December: lmdbjava/lmdbjava#217 and https://github.com/lmdbjava/lmdbjava/wiki/Change-Log I also noticed that lmdbjava is not yet in 1.0.0, which I assume to mean that the api is not yet stable. |
Beta Was this translation helpful? Give feedback.
-
Hi @reckart, I've tested lmdbjava but it was unstable and also has more overhead than LWJGL. Do you see any advantages of lmdbjava over the LWJGL bindings? Best regards, |
Beta Was this translation helpful? Give feedback.
Hi @reckart,
I've tested lmdbjava but it was unstable and also has more overhead than LWJGL.
Although LWJGL has the word gaming in it's name, it is just a very good library for off-heap memory management and interoperability with native libraries. With LWJGL the LMDB functions can be almost used as if they were called from C or C++. The overhead of calling a function and working with pointers is extremely minimal. LWJGL is also planning for switching to Panama in the future.
Do you see any advantages of lmdbjava over the LWJGL bindings?
Best regards,
Ken