Hacker News new | ask | show | jobs
by DannoHung 3770 days ago
This may make you happy then: https://github.com/sureshg/java-rust-ffi
1 comments

Heh, I wonder if I could write a Minecraft mod in Rust with this
I have written a native extension library for Java in Rust. It's really no different from doing it in C. Mind you it was pretty simple. The only slightly bizarre bit is matching the java types to the libc equivalents, and telling rustc that you don't want to enforce snake naming.