Live data from Hacker News

Bonsai: Janestreet's UI Library

github.com

1–10 of 165 posts

Re: Bonsai: Janestreet's UI Library

#4
The "Why Bonsai?" I found really funny.

Let me re-write that section for you:

Why Bonsai?

At Jane Street we're super excited by Functional programming and by CAML in particular, so when we need low latency software, we use OCAML, when we need hardware, we write out own langauge - HardCAML, and when we need a Web UI, we build a Web UI framework in CAML. Because we fucking love CAML.

Re: Bonsai: Janestreet's UI Library

#8
post #4

The "Why Bonsai?" I found really funny. Let me re-write that section for you: Why Bonsai? At Jane Street we're super excited by Functional programming and by CAML in particular, so when we need low latency software, we use OCAML, when we need hardware, we write out own langauge - HardCAML, and when we need a Web UI, we build a Web UI framework in CAML. Because we fucking love CAML.

Agreed, looks like it's reinventing the wheels. Frameworks does not really matter today, AI agents write the code anyway.

Re: Bonsai: Janestreet's UI Library

#9
post #8
post #4

The "Why Bonsai?" I found really funny. Let me re-write that section for you: Why Bonsai? At Jane Street we're super excited by Functional programming and by CAML in particular, so when we need low latency software, we use OCAML, when we need hardware, we write out own langauge - HardCAML, and when we need a Web UI, we build a Web UI framework in CAML. Because we fucking love CAML.

Agreed, looks like it's reinventing the wheels. Frameworks does not really matter today, AI agents write the code anyway.

Better frameworks will still help AIs avoid silly mistakes. A smarter framework means you can be productive with a dumber/cheaper AI.

Re: Bonsai: Janestreet's UI Library

#10
post #8
post #4

The "Why Bonsai?" I found really funny. Let me re-write that section for you: Why Bonsai? At Jane Street we're super excited by Functional programming and by CAML in particular, so when we need low latency software, we use OCAML, when we need hardware, we write out own langauge - HardCAML, and when we need a Web UI, we build a Web UI framework in CAML. Because we fucking love CAML.

Agreed, looks like it's reinventing the wheels. Frameworks does not really matter today, AI agents write the code anyway.

But AI do benefit a lot from a strict compiler, and having a simple language improve a lot on type-safety, so I don't think it is to throw, even today.
Post reply on HN