What is the best way to learn more about imperative-style concurrent programming?

I recently had to write my first “correct” multi-threaded code and realized how little I knew about how to “imperative style” (i.e. models

What resources (both books and online tutorials, etc.) exist to learn more about this area of ​​coding-fu?

NB: I am not asking about concurrency models that are possibly better (message passing Erlang or Clojure STM), just the paradigms used in imperative languages.

+4
source share
4 answers

Patterns for Parallel Porgramming is a good general book on parallel programming techniques. For examples, Java, OpenMP in C, and MPI in C are used.

Almost any decent book on multi-threaded programming in any of the languages ​​you mentioned should cover general principles. For example, I cover this topic in C ++ Concurrency in action .

+10
source

Java Concurrency in Practice is one of the most accessible and detailed reviews of this topic, especially if you use Java (although I think it’s useful even if you don’t).

+6
source

Doug Lea Parallel Programming in Java is a great book on this topic (although it is, of course, specific to Java).

+4
source

You can find my Java Concurrency refcard useful short link for Java related questions.

+1
source

Source: https://habr.com/ru/post/1277636/


All Articles