News for hackers. Stuff that matters.
Re:Melange 1.0: Compile OCaml / ReasonML to JavaScript by pbiggar on Monday June 12, 2023 @05:47PM (#36301669)
The main problems as I perceive it: - unreadable generated code (aka, hard to debug in the browser) - not very accessible (complex docs, unclear what it is or how to use it)
Re:Melange 1.0: Compile OCaml / ReasonML to JavaScript by testcross on Monday June 12, 2023 @09:12PM (#36303814)
on any decent size application the output of bucklescript/rescript/melange is also unreadable. I never understood that argument.

some real problems with jsoo are (non exhaustive list)

- "heavy" FFI (both in term of setup and syntax)

- the output is a big single .js file, which doesn't allow reloading of a single component and doesn't integrate well with stuff like webpack

- slower compilation time

- lacking documentation for the javascript audience