2 points · by avelino · 10mo ago · 1 comment
I turned a Clojure database into a .so that runs embedded in Rust, Python, or anything that loads FFI
Zero JVM at runtime. GraalVM Native Image did the heavy lifting
ChronDB: Transforming a Clojure Database into a Polyglot Library with GraalVM Native Image and FFI
A deep dive into how ChronDB leverages GraalVM Native Image to compile Clojure code into native shared libraries (.so/.dylib), enabling seamless FFI integration with Rust and Python through ctypes and bindgen.
Thiago Avelino