3 ms·
More important than pure functional programming is: smart timeouts, builtin load shedding/backpressure, supervisory restart trees.
by throwawaymaths 4y ago
More important than pure functional programming is: smart timeouts, builtin load shedding/backpressure, supervisory restart trees.
- valenterry 4y agoThat's like saying "more important than food is having a full stomach". Pure functional programming is a tool (or paradigm) that makes the things you mentioned extremely easy and safe to implement and extend. It focusses on the local runtime though, not on distributed systems (where the BEAM comes in) - which is why they don't contradict themselves.
- throwawaymaths 4y agoBEAM is not a pure functional language system. There's lots of hidden state: message passing, IO, process dictionary, ets tables, counters, sockets, NIFs, etc.