
Jane Street open-sources Bonsai OCaml UI library
Bonsai is an open-source UI framework developed by Jane Street for constructing web applications and terminal UIs in OCaml. Built on top of Jane Street's Incremental library, Bonsai utilizes fine-grained incremental computation to recompute only modified state, decoupling state management and reactivity into composable primitives for data-dense applications.
Jane Street's Bonsai demonstrates how fine-grained incremental computation can bring pure functional UI architecture to high-performance web and terminal applications. It utilizes OCaml's Incremental engine to optimize UI updates by recomputing only modified application state, supporting both browser-based web applications (Bonsai_web) and terminal user interfaces (Bonsai_term). By replacing rigid component abstractions with composable reactivity and state primitives inspired by functional paradigms, Bonsai offers a flexible architecture for data-dense tools.
DISCOVERED
6h ago
2026-08-03
PUBLISHED
10h ago
2026-08-03
RELEVANCE
AUTHOR
KolmogorovComp