Looking for Good Books on Concurrency and Multithreading Theory

0
1
Asked By TechieNinja92 On

Hey everyone! I'm eager to dive into the world of concurrency and multithreading but I'm not looking for resources that just focus on how to implement these concepts in specific programming languages or frameworks. Instead, I want recommendations for books that cover the theoretical aspects of concurrency and multithreading, similar to those that discuss good programming practices and clean architecture. I'm particularly interested in understanding the types of problems related to these topics and the solutions available. I've been a developer for a decade but haven't had much experience with concurrency before. Any suggestions for good resources would be greatly appreciated!

5 Answers

Answered By LearnWithMe123 On

I got a good grip on concurrency during my OS class, especially using C as our primary language. I found Stallings' OS book helpful and also checked out 'Operating Systems in Three Easy Pieces'. I haven’t delved into any specific language books on concurrency, so I'm also curious about additional recommendations from the community!

Answered By CuriousCoder99 On

I also recommend looking into resources that explain concurrency from a high-level perspective rather than being language-specific. Books that focus on the theory and common problems faced are invaluable for grasping these concepts without being tied down to implementation. Good luck!

Answered By CodeJuggler On

Think of it this way: Each process in an operating system runs concurrently, getting a small time slice to execute its code as determined by the OS scheduler. Threads are like mini processes and share the same virtual address space, which allows for concurrent or parallel execution depending on how many CPU cores you have. If a thread reaches a point where it can’t run anymore, you’ll need to create new threads or utilize predefined thread pools, like the ones in C#. This foundational knowledge is crucial in understanding how concurrency works on a higher level.

Answered By Bookworm88 On

I don't have specific books in mind, but I highly recommend checking out some video lectures or online courses by experts like CoreDumpped. They explain the concepts really well!

Answered By TheoryGeek On

You might want to check out *The Art of Multiprocessor Programming* by Herlihy & Shavit. The first edition is available for free through the ACM Digital Library. It focuses on the fundamental primitives of concurrent programming, and even though it covers Java, the concepts are applicable across various languages. The second edition includes added exercises and chapters, so it's definitely worth looking into if you want to understand the building blocks of concurrency.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.