2 ms·
I think few of us like OCaml for its syntactical beauty. People are drawn to MirageOS for its semantics. Type safety, etc. However, there are other Unikernels.
by perbu 9y ago
I think few of us like OCaml for its syntactical beauty. People are drawn to MirageOS for its semantics. Type safety, etc.
However, there are other Unikernels. IncludeOS uses modern C++ so the Hello World looks like this:
#include <os>
int main() {
printf("Hello World!");
}
- talex5 9y agoFor reference, the ugly OCaml equivalent unikernel is: let () = print_endline "Hello, world!" (from http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/ http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/)