3 ms·
No, it just makes lock-free and parallel programming much easier.
by klibertp 14y ago
No, it just makes lock-free and parallel programming much easier.
- eridius 14y agoI can see it making concurrency easier, but lock-free-ness is an attribute of the data structure and the algorithms that interact with it, regardless of how easy it is to write concurrent code.
- transitorykris 14y agoLock-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.