Date: 2026-06-16
Interop could be one-directional (Clojure calls Zig) or bidirectional (Zig also calls Clojure).
The proof of concept supports Clojure calling Zig, not Zig calling Clojure.
One direction is enough to prove the user experience and avoids callbacks, embedded JVMs, and cross-runtime lifecycle issues. Bidirectional interop is recorded as a deferred direction (docs/06).
Bidirectional interop was considered and is genuinely interesting, but it multiplies complexity (an embedded JVM, callback lifetimes) before the basic UX is proven.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |