3 ms·
Those languages have the same semantics as Erlang in many important respects. For example, there are no mutable variables in any of those languages. They all ha
by jeremyjh 4y ago
Those languages have the same semantics as Erlang in many important respects. For example, there are no mutable variables in any of those languages. They all have the same concurrency model, the same memory management etc.
- throwawaymaths 4y agoNothing stopping anyone from building mutability into an Erlang based language: https://youtu.be/5EtV2JUU0Z4 https://youtu.be/5EtV2JUU0Z4
- peoplefromibiza 4y agoit does. values are immutable in the BEAM, not at language level. The impact of bugs is minimized by compartmentalization. This is done from the lowest level where each data structure is separate and immutable [1] But you can simulate mutability with stateful processes. Directly from Joe Armstrong: https://joearms.github.io/published/2013-11-21-My-favorite-erlang-program.html https://joearms.github.io/published/2013-11-21-My-favorite-e... [1] https://github.com/happi/theBeamBook/blob/3971e8e2d09e3676702a2a5fa8c494f1f803d555/chapters/ops.asciidoc https://github.com/happi/theBeamBook/blob/3971e8e2d09e367670...