Live data from Hacker News

Bonsai: Janestreet's UI Library

github.com

111–120 of 165 posts

Re: Bonsai: Janestreet's UI Library

#111
post #93
post #79

Earlier quoted context omitted.

KotlinJs and ClojureJs too. You always end up having to write wrappers or dealing with problems that would just work if you just used normal js/ts.

Clojurescript not ClojureJs, and Typescript doesn't run in the browser, it has the exact same issues/limitations: it must be compiled to JavaScript first.

Except TS has much wider community support. The type definitions/wrappers are already written.

Re: Bonsai: Janestreet's UI Library

#112
post #22

It looks like a nice little library; but oh boy must this be so limiting for the product teams that are forced to use. Everything looks like it's straight out of the 1990s.

What do you mean? What's the connection with the product teams? Why would product teams care what low level web framework is used?

Re: Bonsai: Janestreet's UI Library

#114

It might be a very performant UI framework in OCaml, but all the UI elements look extremely unpolished to me, like what a really smart high-school kid would build the GUI for his side project on Windows in 90s. Thanks, I can use JS as a functional programming language.

Did you maybe confuse bonsai with a CSS library? How to build web UI != How to style HTML. Bonsai solves a different problem.

Re: Bonsai: Janestreet's UI Library

#115

> And because Bonsai is written in OCaml, it becomes possible to use the same language and types on both the backend and frontend. Finally! I was waiting for this to become possible!

There's also Fable for F# but I believe this commenter is being sarcastic. Javascript is a common backend language.

I’m that ridiculous person who would rather learn OCaml from scratch if it meant I never had to use JS

Kidding of course. Mostly.

Re: Bonsai: Janestreet's UI Library

#116
post #115

Earlier quoted context omitted.

There's also Fable for F# but I believe this commenter is being sarcastic. Javascript is a common backend language.

I’m that ridiculous person who would rather learn OCaml from scratch if it meant I never had to use JS Kidding of course. Mostly.

I'd rather learn MUMPS or COBOL than use JS... not kidding.

Re: Bonsai: Janestreet's UI Library

#117
A more practical question: has anyone used this in production in internal apps at work? UIs like this look nice and have a flare that I like, but I guess it feels weird if I want to introduce this with my team over something like tailwindcss and rolling our own components

Re: Bonsai: Janestreet's UI Library

#118
post #55

What does JaneStreet do besides sponsoring nerdy Youtube channels and writing UI libraries?

Jane Street made it's way into today's Wall St Journal for its quantitative prowess and hiring of Math PhD's. What was stunning to hear was that their 2nd quarter profits were a record $10.3 billion, nearly double that of Goldman Sachs and Morgan Stanley (much larger firms).

They made money through extreme manipulation of the Indian stock market...when working with a market that has 422X leverage through derivatives its much easier to make money.

https://www.youtube.com/watch?v=VhqosmgfGR0

Re: Bonsai: Janestreet's UI Library

#119
post #117

A more practical question: has anyone used this in production in internal apps at work? UIs like this look nice and have a flare that I like, but I guess it feels weird if I want to introduce this with my team over something like tailwindcss and rolling our own components

Yeah, Jane Street

Re: Bonsai: Janestreet's UI Library

#120

There's a great Signals and Threads (Jane Street's Podcast) episode about this work: https://signalsandthreads.com/building-a-ui-framework/

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.

The entirety of modern financial markets is simply incremental distributed state machines.
Post reply on HN