logoalt Hacker News

rao-vtoday at 2:40 AM1 replyview on HN

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)


Replies

vbezhenartoday at 6:49 AM

Because it's super slow and shared memory is super fast. And people generally prefer fast code rather than safe code.