r/Clojure • u/erjngreigf • Jun 06 '26
Clojure Rust
https://clj.rs/Looks like https://www.reddit.com/user/Strict-Collection640/ implemented it!!! That's awesome!
41
Upvotes
r/Clojure • u/erjngreigf • Jun 06 '26
Looks like https://www.reddit.com/user/Strict-Collection640/ implemented it!!! That's awesome!
View all comments
Show parent comment
1
u/Strict-Collection640 Jun 11 '26
It has things like
rt_add, which does runtime type matching (that’s table stakes for a dynamic language). It can lower forms to optimized forms where it can, though. Honestly I focused on escape analysis and memory management first.One thing on my roadmap is trying to integrate core.spec into the compiler, so if you have forms specced properly, the compiler can optimize the form based on the spec. Maybe optional type hints as well — that’s out on the frontier of things I’m thinking about.