JNI Bindings #6
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently the JNI bindings bridging the Kotlin-Rust world are written by hand. This is both tedious and error-prone. There are several projects that could help:
Another alternative is to keep the surface extremely small, with essentially two functions,
write
andread
, and in a similar style to traditional RPC, serializing and deserializing messages in some protocol.One such option would be Cap'n Proto, but there are other options.
If we go the manual route, the Guide to JNI (Java Native Interface) has an example on how to create Java objects from C++, which could prove useful:
The
jni
Rust dependency may need to be updated to account for other features.