3 ms·
I wouldn't say I have aphantasia, but I don't know that I think of computers in a visual way, although kind of maybe. I'm not great at writing concurrent code
by toast0 4y ago
I wouldn't say I have aphantasia, but I don't know that I think of computers in a visual way, although kind of maybe.
I'm not great at writing concurrent code with locks and shared memory (messaging passing is much easier for me to do well; but message passing is almost exclusively built upon locks and shared memory, so my hands are forced). But I'm pretty good at debugging concurrency problems of either type. It's all about thinking about the sequence of events of an individual thread of execution and not making assumptions that things would necessarily stay the same between steps... and then trying to line up how another thread could make those things happen. I don't line the threads up visually, but I guess you could?