"How to transfer Clojure goodness to other languages"
summary
A transpiler called kalei transpiler converts a subset of Clojure into idiomatic Rust and Java by combining tools.analyzer metadata on s expressions, Meander term rewriting and a nanopass pipeline. The project generates a Rust module per namespace and Java classes, and ships a composable SQL query builder, a data diff library and a high-performance number formatter that uses mutable string buffers and targets low-level performance. Concessions include treating keywords as strings and requiring explicit sequences, while macros and many core constructs compile correctly.
AI-written summary · about
chapters (9)
- 0:00Transpiling Clojure goodness
- 4:23Building Kalei transpiler
- 15:18Kalei in action demo
- 18:49Types in transpilation
- 22:24Kalei’s transformation pipeline
- 26:18Nanopass simplification
- 29:07Persistent data structures
- 31:38Transpiling to Rust memory
- 34:05Conclusion and future
related talks
40mclojure is my favourite ruby
33mClojure Dispatches From a National Research Lab
34mClojure by neophyte
24mBuilding Intelligible Systems
01h 15mEffective Programs - 10 Years of Clojure
43mClojure - Modern Lisp
36mKlor: Choreographic Programming in Clojure
35mThe evolution of the Emacs tooling for Clojure
