Re:Making a cross-platform mobile game in Reason/OCaml
by xfer on Saturday January 13, 2018 @07:05PM
(#16142114)
There is no hot reloading in the toolchain, but the compiler is very fast. I am not sure what you mean by xcode plugin, this is a js application, Reason is syntax for ocaml using bucklescript backend.
[ Parent
| on HN ]
Re:Making a cross-platform mobile game in Reason/OCaml
by thangngoc89 on Saturday January 13, 2018 @07:10PM
(#16142133)
This is both a native (as in binary) and js application. It compiles down to binary and uses OpenGL for native targets and WebGL for the web
Re:Making a cross-platform mobile game in Reason/OCaml
by michaelsbradley on Saturday January 13, 2018 @08:18PM
(#16142327)
Reason code can indeed be compiled to JavaScript using the Bucklescript backend (as can regular OCaml), but it can also be compiled to native since it's just a dialect of OCaml. In the latter case, the programmer would need to avoid JS interop or employ conditional compilation.