Bonsai: Janestreet's UI Library
Jane Street has introduced Bonsai, a UI library designed for building reactive web applications using OCaml. The framework emphasizes functional state machines and incremental rendering to improve performance.
Why it matters
Bonsai offers a unique approach to web development that separates state management from component hierarchy, potentially influencing how complex trading and data-heavy systems are built.
Bonsai Bonsai is a UI library for building performant, reactive web applications in OCaml, partly inspired by Elm . It is used to build almost all web applications inside Jane Street, everything from the corporate directory to tools that monitor and interact with our trading systems. A simple Bonsai component with a little interactivity looks like this:
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in