4 ms·
Sync is easy. Concurrency is hard. Partly b/c as humans we can't multitask. CPU reordering instructions (and speculative execution) should be not be hard to un
by xxs 2y ago
Sync is easy. Concurrency is hard. Partly b/c as humans we can't multitask.
CPU reordering instructions (and speculative execution) should be not be hard to understand. It tries to do as much work as it could before it has to stall due to lack of data
- dartos 2y agoSynchronization is like a sub-problem of working with concurrency. In this context they’re the same afaics CPU reordering isn’t hard to understand, itself, but building systems that depend on it is (like building a time sharing OS… very difficult) because it’s difficult to reason about. The implications of it are hard to understand because, as you say, we’re not naturally apt at multitasking