Status: Accepted (2026-07-15)
Clojurust provides persistent collections, keywords, EDN reading, and an
interpreter. The engine could use cljrs-value as its native value type
throughout (maximum idiom fidelity), or keep an engine-owned representation
and convert at the edges. Index/storage hot paths need a compact,
order-preserving byte encoding and cheap comparisons; a general dynamic value
type there couples engine performance and layout stability to an external
project's internals.
The engine core (corium-core through corium-db) uses its own Value enum
and sortable binary encoding. cljrs appears in exactly three places: value
conversion at the public API (corium-cljrs, via cljrs-interop
FromValue/IntoValue), EDN text parsing everywhere (cljrs-reader is the only
EDN reader in the system), and the sandboxed interpreter for database
functions (ADR-0008).
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 |