Clojure dialect clj.rs brings persistent data structures and native interop to Rust
Clj.rs – a Clojure dialect implemented in Rust
clj.rs is an experimental Clojure dialect built for the Rust ecosystem, shipping as a crate on crates.io. It targets a capable Lisp runtime with persistent data structures, a hosted macro system, and native interop, and it can run compiled or interpreted. The project positions itself as a runtime for agentic coding. It is early-stage, so rough edges are expected, but you can try it in the browser REPL.
It aims to be a capable Lisp runtime with persistent data structures, a hosted macro system, and native interop — compiled or interpreted, suitable for use as an agentic coding runtime.
- vaylian
One of the killer features of Clojure is it's seamless interop with the host platform. On the JVM you do something like
(Integer/parseInt my-variable); this calls Integer.parseInt(my_variable) in Java-land
I tried to find examples for how to call Rust code and the best I could find is:
https://github.com/csm/clojurust/blob/b847a29b46e2b6b3fbe624...
It looks like you need to do a lot of leg work to introduce Rust functions into Clojure namespaces. I guess there is no way around it and this is not a criticism of clj.rs. But it doesn't seem to be as seamless as on the JVM.
- JavierFlores09
Has Clojure become the new base for Lisp-like languages? What does it got going for it that people seem to want its specific flavor of lisp? Just asking since I've also seen the Clojure talk about Jank[1] recently and it has gotten me interested.
- xnfra
The only thing I know about Clojure is Walmart used it to rewrite their entire inventory system.
- tux
Why not name it “Cloju.rs” instead? :-)
- arikrahman
Love to see more Clojure dialects taking fruit. Jank is very promising for C++ and now we have the Rust complement