5 ms·
So what's recommended as a better alternative to The Art of Multiprocessor Programming?
by reinhardt1053 1y ago
So what's recommended as a better alternative to The Art of Multiprocessor Programming?
- belter 1y agoThese two: https://man7.org/tlpi/ https://man7.org/tlpi/ https://marabos.nl/atomics/ https://marabos.nl/atomics/
- Jtsummers 1y agoThe Art of Multiprocessor Programming. It does talk about reentrant locks and other things this review says it doesn't. The more interesting parts of it though are the back half, after going through lock implementations and such it actually starts solving problems using both lock-based and lock-free designs. Follow it up with something appropriate to the language you're using, like C++ Concurrency in Action for C++ (much of it transfers to other languages).
- viega 1y agoI didn't say it doesn't deal with recursive locks. I said it is so cursory that they don't even acknowledge that their guidance can't really be applied to a RW lock.
- viega 1y agoI will also say, it's likely this is the best text book on concurrency. There are some first principles where it's explanations are engaging and clear. It's just that book ignores the very real changes that are at the core of modern concurrency (including Async), and that I don't believe is a positive. And while it did mention recursion, I looked really hard for it to cover things like shared lock-cleanup on `fork()` or thread crash, and a number of other important (often encountered) real-world concerns, and didn't find anything.
- pjmlp 1y agoAlthough a bit outdated, Java Concurrency in Practice is also a very good one, written by Brian Goetz, before he became one of the leading architects on Java.