Library
Bonsai
Jane Street's open-source library for web interfaces in OCaml: the code compiles to JavaScript, and the interface is recomputed incrementally. Jane Street engineer Ty Overby started it in 2019 to make large apps easier to build than with the firm's earlier framework, Incr_dom. Partly inspired by Elm, it uses a virtual DOM like React, but its components are purely functional state machines, and its incrementality, built on the Incremental library, extends to any computation, not just rendering.
In the episodes
4- November 13, 2026Trading at the Speed of… Chat? with Chloe CasalementionedSignals and Threads
- 41:22the "internal version of React" for OCaml interfaces
- October 16, 2026The Changing Craft of Programming with John CrepezzimentionedSignals and Threads
- 1:04:48agents have a harder time building web apps with it
- September 23, 2026Learning Goals and the Goals of Learning: Teaching in the Age of AI with Aaron BauermentionedSignals and Threads
- 1:10:08the Bonsai teach-in as an introduction to incremental computing
- May 28, 2025Building Tools for Traders with Ian HenrymentionedSignals and Threads
- 23:25Jane Street's own framework for web UIs
