Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document interop between asmble output and Java code #10

Open
Apanatshka opened this issue Dec 14, 2017 · 1 comment
Open

Document interop between asmble output and Java code #10

Apanatshka opened this issue Dec 14, 2017 · 1 comment

Comments

@Apanatshka
Copy link

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.

@cretz
Copy link
Owner

cretz commented Dec 15, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants