3 ms·
I'm sincerely curious about what you have in mind for "clojure hosted on rust". Rust has a relatively thin runtime, but heavy static compilation work (types an
by phtrivier 4y ago
I'm sincerely curious about what you have in mind for "clojure hosted on rust".
Rust has a relatively thin runtime, but heavy static compilation work (types and lifetime and borrowing, etc...) , so it kinda seems like a completely different set of tradeoffs than what clojure favors (dynamicity, late bindings, runtime checks, managed memory, etc..)
Or did you mean "a clojure-like syntax for something that produces rust code to be eventually compiled natively ?"
- kaba0 4y agoAlso, if everything would be ARC then it would be slow as all hell and would leak (it can’t GC circular references)
- cnity 4y agoI think they mean a JIT compiler for a clojure-like language written in rust, with rust interop (instead of Java interop). There would be no static compilation of rust code.
- fulafel 4y agoCode is easy, data is hard, the JIT would help with the former only. Rust on JSVM/.NET/JVM/Dart relies on the host platform to provide the underlying object system, reflection, interop with host code, GC etc.
- souenzzo 4y agoLike this one? https://github.com/babashka/sci/blob/master/doc/libsci.md https://github.com/babashka/sci/blob/master/doc/libsci.md