4 ms·
Lock-free-ness is a consequence of data being immutable in Erlang
by transitorykris 14y ago
Lock-free-ness is a consequence of data being immutable in Erlang
- eridius 14y agoYou can avoid mutating data in C if you want to. People just don't, because mutation is so convenient and fast.
- stelonix 14y agoYes, but standard C has no way to tell the compiler a variable is immutable (immutability != constness), so unless you go non-standard (and very verbose at it) Erlang is still a better tool for the job.