News for hackers. Stuff that matters.
Re:BuckleScript Is Rebranding by frou_dh on Tuesday August 11, 2020 @11:15AM (#24121167)
Can't all of this be sidestepped and just write standard (non-forked) OCaml and feed its bytecode through Js_of_ocaml https://ocsigen.org/js_of_ocaml/ ?

That might not have the ultimate React integration (guess that's the answer to the question). But on the other hand probably aligns better with the instinct of many developers to reduce (albeit not eliminate) levels of unnecessary layering.

Re:BuckleScript Is Rebranding by donut2d on Tuesday August 11, 2020 @11:21AM (#24121238)
js_of_ocaml and ReScript (BuckleScript) have different goals. js_of_ocaml is optimized for working with existing OCaml libraries. ReScript is optimized for working with the JS ecosystem. That's my understanding at least as someone who has only worked in native OCaml and BuckleScript, but hasn't touched js_of_ocaml.
Re:BuckleScript Is Rebranding by wtetzner on Tuesday August 11, 2020 @01:19PM (#24122877)
Yeah, and js_of_ocaml seems like a more reliable solution, since it uses the normal OCaml compiler and just translates the bytecode.

I don't see any reason good React integration couldn't have been built on top of js_of_ocaml.

The whole BuckleScript/Reason project seems like it just made the whole ecosystem messier for very little gain.

Re:BuckleScript Is Rebranding by lfischer on Tuesday August 11, 2020 @11:19AM (#24121217)
BuckleScript (now ReScript, I guess) can still compile standard OCaml syntax.
Re:BuckleScript Is Rebranding by frou_dh on Tuesday August 11, 2020 @11:34AM (#24121451)
AFAIK it's a forked compiler and already a number of language versions behind the mainline one.
Re:BuckleScript Is Rebranding by yawaramin on Tuesday August 11, 2020 @12:29PM (#24122201)
Yes but OCaml 4.06 is still OCaml.
Re:BuckleScript Is Rebranding by pjmlp on Wednesday August 12, 2020 @02:56AM (#24129271)
Agreed, but apparently some people take issue with OCaml syntax so they come up with stuff like this.

From my point of view these are all interesting endeavors to watch from my shovel store, and in 10 years they all be stuck in maintenance projects, porting back to JavaScript.