zub-vm icon indicating copy to clipboard operation
zub-vm copied to clipboard

Recommended way to interop with the host language, Rust

Open crinklywrappr opened this issue 4 years ago • 1 comments

This is a cool project. I've got a mild ambition to write a Clojure compiler targeting zub-vm, since it could potentially be a good way to grant Clojure access to the Rust ecosystem.

I have zero experience writing compilers, so I would need to work on some smaller projects first. Apologies if my nomenclature is a bit off.

How seamless could the interop story potentially become, for calling Rust functions from this hypothetical clojure dialect?

crinklywrappr avatar Aug 10 '20 20:08 crinklywrappr

Hello! Thank you for taking interest in the project. It would be great to have more Zub-powered languages. I have been using the VM as a backend for my hobby language Hugorm, which supports easy Rust-interop - you might be able to use the project as reference. 😁

Apart front that, I would love to help and answer Zub- and language related questions! If you find that the VM is lacking a feature, I can help implement that too.

nilq avatar Aug 14 '20 05:08 nilq