Hacker News new | ask | show | jobs
by myth_drannon 3112 days ago
Last year I was excited about Elm, this year about Reason. I follow a bunch of Reason folks on Twitter and see lots interesting projects. I also keep seeing React core devs keep dropping hints that React will be rewritten in Reason which makes sense since originally it was written in SML.
3 comments

We don’t have any plans to rewrite React in Reason right now, sorry! Maybe one day.
Same here.

Since hearing about it we have a port of a large project in progress and whilst the typing is nice, the improvement in build time alone looks like making it a worthwhile exercise.

Big things to come I suspect, particularly with it feeling like such a natural progression of so much of FB's recent JS work.

> I also keep seeing React core devs keep dropping hints that React will be rewritten in Reason

Seems like a natural fit. Wasn't the whole Fiber architecture inspired Algebraic Effects, natively possible in OCaml?

Sebastian Markbåge even toyed with adding algebraic effects to JS... wild stuff:

https://esdiscuss.org/topic/one-shot-delimited-continuations...