Js_of_ocaml vs Amber
When comparing Js_of_ocaml vs Amber, the Slant community recommends Amber for most people. In the question“What are the best languages that compile to JavaScript? ” Amber is ranked 11th while Js_of_ocaml is ranked 33rd. The most important reason people chose Amber is:
Amber includes an integrated development environment with a class browser, workspace, transcript, object inspector and debugger.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro All OCaml features
Js_of_ocaml brings all OCaml features to Javascript: static typing, type inference, modules, functional programming style...
Pro Includes an IDE
Amber includes an integrated development environment with a class browser, workspace, transcript, object inspector and debugger.
Pro Smalltalk is a simple, elegant, and powerful language
Pro One-to-one JS equivalent
Amber is written in itself, including the parser and compiler, and compiles into efficient JavaScript, mapping one-to-one with the JS equivalent.
Cons
Con Documentation
Documentation is still scarce
Con Very few learning resources
There are very little learning resources for Amber outside the official documentation. Which may not be enough for beginners, especially people that don't have much experience in programming.