Growing jextract
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Fri Feb 16 15:50:23 UTC 2024
Hi,
with JDK 22 near us, we have spent some quality time with jextract, to
make sure the code it generates is as good as it can be ahead of the
finalizaton of the FFM API. This resulted in several changes, both in
the implementation (so, invisible to jextract users) and in the
generated code, as we cleaned up the translation strategy to better
adhere with the core principles behind the jextract tool. These changes
are captured in details in this document:
https://cr.openjdk.org/~mcimadamore/panama/jextract_changes.html
It might be a good time to take the latest jextract for a spin (using
your favourite C library!) and report back, in case we missed anything.
You can find the latest sources in this branch:
https://github.com/openjdk/jextract/tree/panama
Binary snapshots of this newer version are also available here (note
that MacOS/Arm64 builds is also supported now):
https://jdk.java.net/jextract/
Cheers
Maurizio
More information about the jextract-dev
mailing list