4 ms·
Sadly, BuckleScript tries to do everything. It ships with a not so-great build system, a good compiler to javascript, a standard library replacement and it inv
by brmgb 7y ago
Sadly, BuckleScript tries to do everything. It ships with a not so-great build system, a good compiler to javascript, a standard library replacement and it invites you to use npm for package management.
Dune is the build system which has become the standard in the Ocaml community. It can use the native compiler or js-of-ocaml to produce javascript. It doesn't support BuckleScript however.
Esy is a tool which allows you to manage your project dependencies. It can pick package from both opam and npm and uses Dune as a build system. It's actually very good.
As Facebook mostly pushes ReasonML towards Javascript developers, they mostly advertise BuckleScript. From what I have seen, the Ocaml community mostly does not care about Reason. They had no issue in modifying tools to support it and noone is going out of its way to hinder it but there is no particuliar enthusiasm towards it.
- k__ 7y agoUnderstandable. For JS it's a step forward, for OCaml it seems to be a step back.
- yawaramin 7y ago> there is no particuliar enthusiasm towards it. There's no particular enthusiasm towards quite a lot of things in the OCaml community :-) there are even some holdouts who don't like or use dune/opam. I wouldn't take that as a point against ReasonML/BuckleScript, which is bringing devs en masse to OCaml who would have never looked at it before.