Re:Bonsai: Janestreet's UI Library
by strongly-typed on Monday August 03, 2026 @12:58PM
(#49158411)
A framing from that podcast that helped me better understand the role of Bonsai is that it's really a framework for building incremental distributed state machines.
[ Parent
| on HN ]
This framing is also in the post. From the readme:
> Bonsai itself -- this library -- is actually more generic than the above makes it sound. It allows you to build general-purpose incremental, composable state machines. Bonsai_web builds on top of that core library, specializing it for interactive browser-based UIs, but we also have Bonsai_term for building interactive terminal-based UIs.
Re:Bonsai: Janestreet's UI Library
by dtornabene on Monday August 03, 2026 @02:15PM
(#49159480)
The docs are a bit sparing but if you read the source its pretty cool to see how they did this.
Re:Bonsai: Janestreet's UI Library
by HolyLampshade on Monday August 03, 2026 @08:37PM
(#49163110)
The entirety of modern financial markets is simply incremental distributed state machines.