3 ms·
It's shared mutable memory that's the problem. Shared constants are alright.
by aufreak3 15y ago
It's shared mutable memory that's the problem. Shared constants are alright.
- masklinn 15y agoSure, but semantically constants are about sharing values not memory, so they don't fall under "sharing memory" as far as I'm concerned.
- aufreak3 15y agoThat is a good abstraction for thinking about code. In the meanwhile, machines still have "one memory, many cores" architecture, in which inter-proc communication is about references is a practical optimization (like ref counting of binaries in Erlang). Some of those design decisions will have to change when machine archs move to "many (core, memory)" form.