openjdk/jextract
View on GitHub ↗ ★ 565 Java
https://openjdk.org/projects/code-tools
7 mentions on Hacker News by 7 people: 2 stories, 5 comments · first 2022-03-29 · latest 2024-05-08
20082026
-
…encapsulated inside a Java library and not often directly exposed to application programmers. [1]: https://github.com/openjdk/jextract
comment by pron · 2024-05-08 · in How to Use the Foreign Function API in Java 22 to Call C Libraries -
▲ 2
Jextract Guidestory by mfiguiere · 2024-04-20 · 0 comments
-
▲ 1
JExtract Guide (to generate Code to access the native library in Java)story by lichtenberger · 2024-04-17 · 0 comments
-
…is old news, but have you tried the [0] jextract stuff for some of the boilerplate gubbins? [0]: https://github.com/openjdk/jextract
comment by schoenobates · 2024-03-19 · in Java 22 Released -
…developed a tool called jextract that uses clang to convert C headers to Java Panama classes: https://github.com/openjdk/jextract
comment by mike_hearn · 2023-03-20 · in JEP 442: Foreign Function and Memory API (Third Preview) -
…API. There's also a tool that can generate all the bindings from a C header file automatically: https://github.com/openjdk/jextract Then it doesn't really matter whether annotations are used or not, or some more low-level linker API (like…
comment by Godworrior · 2022-12-08 · in Java 20: A Sneak Peek on the Panama FFM API -
…far as i understand, the JIT generates the adapter code once per call and you can reuse it). [1] https://github.com/openjdk/jextract
comment by _old_dude_ · 2022-03-29 · in JEP 419: Foreign Function and Memory API