←back to thread

188 points taddgiles | 3 comments | | HN request time: 0.001s | source
Show context
fbn79 ◴[] No.45311033[source]
I never used Erlang, and I'm a functional programming fan. But languages based on heavy VM that abstract OS away always make me doubt that's the right direction.
replies(2): >>45311130 #>>45312582 #
andrewflnr ◴[] No.45311130[source]
That's not a crazy instinct, and maybe if OSs were better you would even be right, but there's not really another way to get a skrillion communicating processes that can all crash/fail independently. Without a dedicated VM, all the other approaches are either less safe or too inefficient.

I consider BEAM an indication of a direction that OSs could and maybe should move. It's even possible to run BEAM on bare metal, (almost?) entirely in place of the normal OS.

replies(1): >>45311258 #
1. linkdd ◴[] No.45311258[source]
> It's even possible to run BEAM on bare metal, (almost?) entirely in place of the normal OS.

How? With a unikernel?

replies(2): >>45311282 #>>45311299 #
2. signa11 ◴[] No.45311282[source]
i would think so, no other option afaik.
3. thomasfortes ◴[] No.45311299[source]
Using GRiSP Metal, not exactly without an OS, but using a real time OS designed for embedded devices.

https://www.grisp.org/software