Live data from Hacker News

Ask HN: How to learn concurrency?

news.ycombinator.com

1–10 of 22 posts

Re: Ask HN: How to learn concurrency?

#2
That's a huge topic but I would say implement a hobby project and learn by doing. Pick something you're interested in and start writing code to exercise the theoretical concepts.

A small piece of advice is to make sure you're motivated before diving in. Debugging a race condition, just as an example, can be quite involved and consume a lot of your time and energy to even reproduce.

Re: Ask HN: How to learn concurrency?

#7
Java Concurrency in Practice[1] has always been recommended by my colleagues. I'm about halfway through it and I think it makes the concepts pretty clear. Even if you move away from Java one day, I think the investment is not lost at all. Then you could ask your favorite LLM to create concurrency exercises once in a while to practice.

[1]: ISBN 978-0321349606

Re: Ask HN: How to learn concurrency?

#10

That's a huge topic but I would say implement a hobby project and learn by doing. Pick something you're interested in and start writing code to exercise the theoretical concepts. A small piece of advice is to make sure you're motivated before diving in. Debugging a race condition, just as an example, can be quite involved and consume a lot of your time and energy to even reproduce.

But what is a good hobby project with a strong focus on concurrency that will not swamp a beginner to this topic?
Post reply on HN