3 ms·
Yeah, I think this is right: concurrency issues have to be solved by using data structures with concurrency semantics (software transactional memory or atomic r
by fiddlerwoaroof 6y ago
Yeah, I think this is right: concurrency issues have to be solved by using data structures with concurrency semantics (software transactional memory or atomic refs/ints) and can’t really be solved by something like async/await. Go making you use channels to express asynchronous execution here is a feature, not a bug.
async/await and friends (generators, callback-passing, etc.) all provide some clues that are sometimes useful for solving concurrency problems, but they aren’t able to make unsafe programs safe.
- Arnavion 6y ago>async/await and friends (generators, callback-passing, etc.) all provide some clues that are sometimes useful for solving concurrency problems, Exactly what I said. >but they aren’t able to make unsafe programs safe. Exactly not what I said either.