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