logoalt Hacker News

thaumasiotestoday at 2:31 AM1 replyview on HN

You don't think Erlang has an "immutability first" paradigm?


Replies

IsTomtoday at 1:16 PM

Erlang is weird in this regard. It has very strong guarantees when it comes to per-process heap that make GC much simpler: no escape hatches for mutability when most immutable languages do include them! But on the other hand inter-process communication is a form of mutability (using another process as a global mutable variable is trivial) and ETS etc. present a mutable interface.