asmble
asmble copied to clipboard
Document interop between asmble output and Java code
This looks like an awesome project, thanks for working on this and publishing it as open source software! 😄 I'm really happy to see this because I'm interested in LLVM-to-JVM (Rust on the JVM in particular). Although you mention direct LLVM-to-JVM work in your README, I haven't been able to find a maintained project to get this working.
Can you give some details in the README about what to expect on the interop side of things? Even if it's non-existent, that's good to know. I imagine it'll be difficult to have the asmble output talk with the Java world, in particular if you want to exchange data, given that pointers and such have to be modelled with byte buffers. But you must be able to do something given that you benchmarked the rust regex
crate on the JVM.
Will do. I have mostly explained that it creates a class file and explained what the constructor and exports are which should be good enough. But I'll make it a bit more clear.
In the meantime, the example code is definitely worth reading. Also feel free to create a class file from a WASM file and add it to your class path to reference it.