News for hackers. Stuff that matters.
Re:Reason React 0.8 by yawaramin on Wednesday May 13, 2020 @07:51PM (#23173295)
Yes, if your only heuristic of 'falling behind' is 'not getting the latest OCaml features'. It turns out that even OCaml from a few years ago is perfectly usable to build an excellent JavaScript-focused compiler.
Re:Reason React 0.8 by yawaramin on Wednesday May 13, 2020 @08:31PM (#23173649)
@dmit, we will have to agree to disagree there; the reality is, only a very few people are using the absolute latest OCaml features. If you look at the Opam package build matrix: http://check.ocamllabs.io/ ... most Opam packages are building against 4.02 to 4.05. And OCaml in 2020 is great but it's still not close to what we need for wider adoption in its chosen native compilation space. BuckleScript/Reason is a different strategy, which actually does seem to be working for that goal.
Re:Reason React 0.8 by dmit on Wednesday May 13, 2020 @08:24PM (#23173578)
I think "getting OCaml features at a slower rate than OCaml itself does" counts as "falling behind", yes.

2015 OCaml was an excellent language. 2020 OCaml is exquisite.

Re:Reason React 0.8 by drbojingle on Wednesday May 13, 2020 @09:54PM (#23174310)
What feature of 2020 OCaml do you think would convince JS developers to use Reason?
Re:Reason React 0.8 by sgrove on Saturday May 16, 2020 @03:02PM (#23206196)
Monadic let syntax would be a big win (allows for async/await-like constructs) in Bucklescript, and inline variant records have been nice once or twice (I see reason newcomers at dojos do this naturally almost every time shortly after introducing variants).
Re:Reason React 0.8 by yawaramin on Saturday May 16, 2020 @08:33PM (#23208374)
Inline records are available since BS 6 :-)