4 ms·
Out of curiosity, what do you think the issues with js_of_ocaml were?
by meitros 3y ago
Out of curiosity, what do you think the issues with js_of_ocaml were?
- pbiggar 3y agoThe 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)
- testcross 3y agoon 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