Hacker News new | ask | show | jobs
by zozbot234 1009 days ago
> what would be the alternative for shared mutable data?

You can use atomics if the data fits in a machine word. That's a lot faster than a full mutex.