Earlier quoted context omitted.
Differences from js_of_ocaml (not an easy find) Js_of_ocaml takes lowlevel bytecode from OCaml compiler, BuckleScript takes the highlevel rawlambda representation from OCaml compiler Js_of_ocaml focuses more on existing OCaml eco-system(opam) while BuckleScript's major goal is to target npm Js_of_ocaml and BuckleScript have slightly different runtime encoding in several places, for example, BuckleScript encodes OCaml…
I haven't really gotten into much ML yet, and I'm curious to hear what people knowledgeable with OCaml think about http://facebook.github.io/reason/ The name makes it impossible to research to find any blog posts or anything, but the familiar syntax alone might make it at least a first step for me.
Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
21–30 of 31 posts
Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#22Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#23Imho, we need an equivalent of the "great programming language shootout" for all the AltJS languages.
Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#24Why?
Generally this whole idea would make sense when you are writing a web application and you are using OCaml or F# on the server and want to use it for the client code too. Same justification for using node.js, but in reverse.
But I know that the Ionide plugin for Atom and VSCode is written in F# compiled to javascript just because the developers like to code in F#
Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#25Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#26Isn't this a less polished version of Elm?
Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#27How is the performance? Imho, we need an equivalent of the "great programming language shootout" for all the AltJS languages.
Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#28Why?
Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#29Re: Compile OCaml to JavaScript, use ReactJS, bindings to ReactJS, several examples
#30ClojureScript is better than that, except for the type system.
I'm genuinely curious as to your comparison though, would love to read it!