Photo de l'auteur

Maurice Herlihy

Auteur de The Art of Multiprocessor Programming

3 oeuvres 171 utilisateurs 1 Critiques

Œuvres de Maurice Herlihy

Étiqueté

Partage des connaissances

Membres

Critiques

This book gives a thorough introduction into shared-memory multicore programming in two parts. The first part is "Theory": it contains quite a few proofs and introduces essential notions like "sequential consistency (w.r.t. objects)". The second part is "Practice" and gives implementations of important parallel algorithms. Each chapter contains many exercises, which I did not look at.

The whole book (esp. the second part) contains many code examples and uses Java exclusively. Unfortunately, the Java memory-model (or any other memory-model) is not discussed at all. I found it particularly unfortunate that the first part uses Java-pseudo-code in the sense that it does not use "volatile" or Java-atomics but quietly assumes executions that are sequentially consistent (w.r.t. memory-model); in other words, one is expected not to ever compile the code. The second part, however, does not suffer from this.

The explanations are clear and the text is carefully written. The material is dense, deep, and often subtle (one has to allot some time to work through). The proofs in the first part are interesting and (with a bit of work) understandable. I would also have liked to see correctness proofs of some algorithms in part two, especially the lock-free ones since their correctness often remained obscure. To this last objection the authors would probably respond that such correctness proofs are beyond the scope of the book. I object anyway.
… (plus d'informations)
 
Signalé
Tobias.Bruell | Jan 18, 2015 |

Vous aimerez peut-être aussi

Auteurs associés

Nir Shavit Author

Statistiques

Œuvres
3
Membres
171
Popularité
#124,899
Évaluation
½ 3.7
Critiques
1
ISBN
12
Langues
2

Tableaux et graphiques