You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java's JNA is based on LibFFI. The newly launched JNR is also based on LibFFI. Python also uses LibFFI...
The current JNI style FFI of Objeck is not hard and indeed very simple and elegant compared to Java's JNI but is time consuming to use. I suggest adding an alternative FFI for Objeck based on LibFFI. It makes a clear distinction. For performance critical jobs use the JNI style FFI. For quickly mockup something that is usable use the alternative LibFFI based FFI. The alternative LibFFI based FFI will be written using the well established JNI style FFI. e.g: libobjk_ffi.dll/libobjk_ffi.so and ffi.obl. Do you think my idea is feasible? If yes, please consider. Thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
LibFFI is very commonly used: https://packages.msys2.org/package/mingw-w64-ucrt-x86_64-libffi
Java's JNA is based on LibFFI. The newly launched JNR is also based on LibFFI. Python also uses LibFFI...
The current JNI style FFI of Objeck is not hard and indeed very simple and elegant compared to Java's JNI but is time consuming to use. I suggest adding an alternative FFI for Objeck based on LibFFI. It makes a clear distinction. For performance critical jobs use the JNI style FFI. For quickly mockup something that is usable use the alternative LibFFI based FFI. The alternative LibFFI based FFI will be written using the well established JNI style FFI. e.g:
libobjk_ffi.dll
/libobjk_ffi.so
andffi.obl
. Do you think my idea is feasible? If yes, please consider. Thank you.Beta Was this translation helpful? Give feedback.
All reactions