Why don’t we just do this by default for threading in most languages? It’s pretty rare for me to actually want to do memory sharing while threading (mostly because of the complexity)
Because it's super slow and shared memory is super fast. And people generally prefer fast code rather than safe code.
Because it's super slow and shared memory is super fast. And people generally prefer fast code rather than safe code.