Hacker News new | ask | show | jobs
by nh2 19 days ago
No. False sharing can happen even with only 1 writer.
1 comments

GP's claim does not require two writers for false sharing. It requires two threads with either read or write access, at least of which is writing

The valid criticism is that message passing also fits that definition. But assuming good faith, the implied argument seems to be "use an off-the-shelf message passing solution that already solves all this, rather than rolling your application-specific data sharing"