4 ms·
Very cool. Hot reloading in iOS would be extreamly useful. I remember that I used a plugin that was called injectionforxcode but it was not working very well.
by niilohlin 9y ago
Very cool. Hot reloading in iOS would be extreamly useful. I remember that I used a plugin that was called injectionforxcode but it was not working very well.
- xfer 9y agoThere 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.
- thangngoc89 9y agoThis 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
- deleted 9y ago[deleted]
- michaelsbradley 9y agoReason 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.
- gman83 9y agoFlutter has a nice hot reloading feature: https://flutter.io/hot-reload/ https://flutter.io/hot-reload/
- drdiablo 9y agoI have yet to find a reason to support iOS hot reloading in this context to be perfectly honest. I use the desktop bytecode hot reloading (implemented inside Reprocessing so everyone can benefit from it), and it works wonderfully well. It's faster than anything you've seen before. And given that you probably want to be coding in Reason and not objc, it doesn't really matter what your render target is while you're iterating and being creative. I'm all ears if you can think of something though.