Hacker News new | ask | show | jobs
by infogulch 28 days ago
Couldn't we just permanently solve the stack copying issue by always using a per-stack base pointer + offset for all stack objects? Copy stack -> update base pointer -> done. Trying to access a stack object on a different thread? That's retarded don't do that allocate it on the heap instead.
1 comments

Could be done, but it probably wouldn't work with existing C binary interfaces.