News for hackers. Stuff that matters.
Re:Bonsai: Janestreet's UI Library by bsmith89 on Monday August 03, 2026 @12:23PM (#49157870)
There's a great Signals and Threads (Jane Street's Podcast) episode about this work: https://signalsandthreads.com/building-a-ui-framework/
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.
Re:Bonsai: Janestreet's UI Library by frutiger on Monday August 03, 2026 @01:24PM (#49158808)
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.
Re:Bonsai: Janestreet's UI Library by lenkite on Tuesday August 04, 2026 @04:27AM (#49165778)
The value proposition about this web framework over things like React, Phoenix, etc is that it uses incremental computing right ? Using Jane Street's incremental computing library. I see it being used at https://github.com/janestreet/bonsai/blob/f31661450eb133fe89...
Re:Bonsai: Janestreet's UI Library by boywitharupee on Tuesday August 04, 2026 @10:15AM (#49169333)