JDK 19 upgraded the Foreign Function & Memory API from incubating to preview state, making it a lot easier to load and test and start writing code. I’ve spent a week exploring some of the functionality and figured I’d share some of my observations.
Overall:
The good:
The bad:
The ugly:
For a side-by-side comparison of Library class implementation, enjoy:
FFM: https://github.com/oshi/oshi-ffm/blob/main/src/main/java/ooo/oshi/foreign/mac/SystemLibrary.java
--
You received this message because you are subscribed to the Google Groups "Java Native Access" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/FAFBF698-B06B-45A6-879A-6363ABF86DAB%40gmail.com.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/b5aae41946ff792c2e3104feeff81d43ef91f030.camel%40doppel-helix.eu.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/CADbpEJs6bqbA%2BGwre9g%3DmS3Q%2BrL_%2B0VoQTYsu13Vzfp198TK1w%40mail.gmail.com.
dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - t:@dblockdotorg - ig:@artdblockdotorg - github/dblock
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/CALCE7pnnXTfL2C6d_-8mPNMTt--KF%2BH5C%3DCYn9EdaWrNgH4LYQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/CADbpEJs13xeDdXVY%3DoRG0fm8r5gEo7KCctywxY_eNFve8n4zSQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/CALCE7pkJs4COkiX8bjg1zODB4Xnx2s2xpTFhJMvnb4WfKpiP%2BQ%40mail.gmail.com.