Expose a C API #444
TheMrMilchmann
started this conversation in
Ideas
Replies: 1 comment
-
|
Interfacing with native code in Java would mean to compile the code for each and every architecture and put all the resulting binaries in a single JAR file. Now this is what I consider overhead. Having a WASM runtime is not that much of an overhead compared to that. And it makes the project much easier to maintain. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The FFI mechanisms of many languages (including Java) support calling C-like APIs to allow interfacing with native code. I believe this is a better approach than the one proposed in pemistahl/lingua#214 because it avoids the overhead of an entire WASM runtime.
Beta Was this translation helpful? Give feedback.
All reactions