r/Clojure • • Jun 11 '19

GitHub - timothypratley/rustly: A Clojure to Rust transpiler

https://github.com/timothypratley/rustly
73 Upvotes

15 comments sorted by

View all comments

5

u/[deleted] Jun 12 '19

Wondering, with Graalvm becoming closer to being an option for Clojure applictions, what features do you get with rust over compiling down to a native binary?

2

u/dustingetz Jun 12 '19

I was thinking Rust interop, i think that would mean you can have ClojureScript like semantics with platform primitives to Rust which has a much simpler memory model than C, I don't think C could work for Clojure https://pcwalton.github.io/2013/03/18/an-overview-of-memory-management-in-rust.html (but you could hit C from Rust)