Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since Reason compiles to native Ocaml binaries I'm assuming there would be no problems using it with MirageOS? Google doesn't bring up any answers other than an older HN comment[1] suggesting support will come soon.

https://news.ycombinator.com/item?id=11717213



Because Reason is just a syntax layer over the OCaml syntax, you should write an MirageOS unikernel with Reason. However, because MirageOS needs lot of works, lot of people of this community don't have a plan to switch to Reason - but feel free :) !

After, it's about a convenience easy way to compile your Reason code with an OCaml code. Reason is just a preprocessing, you should use the `-pp` option with /your favorite build system in OCaml/ and, I think, it's enough.


I won't be switching to Reason, it's a small greenfield project :) The security model of Mirage will really suit this small app and Reason has piqued my interest for being a little more productive with dev tools and stuff. Also being able to build a frontend in the same language is appealing.

Thanks for the answer; the other comment alluding to support being recent and the lack of information had me a bit worried. I guess the lack of information is because it just works ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: