The Art of Concurrency: A Thread Monkey's Guide to Writing Parallel Applications (Paperback)

Clay Breshears

買這商品的人也買了...

商品描述

If you're looking to take full advantage of multi-core processors with concurrent programming, this practical book provides the knowledge and hands-on experience you need. The Art of Concurrency is one of the few resources to focus on implementing algorithms in the shared-memory model of multi-core processors, rather than just theoretical models or distributed-memory architectures. The book provides detailed explanations and usable samples to help you transform algorithms from serial to parallel code, along with advice and analysis for avoiding mistakes that programmers typically make when first attempting these computations.

Written by an Intel engineer with over two decades of parallel and concurrent programming experience, this book will help you:

  • Understand parallelism and concurrency
  • Explore differences between programming for shared-memory and distributed-memory
  • Learn guidelines for designing multithreaded applications, including testing and tuning
  • Discover how to make best use of different threading libraries, including Windows threads, POSIX threads, OpenMP, and Intel Threading Building Blocks
  • Explore how to implement concurrent algorithms that involve sorting, searching, graphs, and other practical computations

The Art of Concurrency shows you how to keep algorithms scalable to take advantage of new processors with even more cores. For developing parallel code algorithms for concurrent programming, this book is a must.

商品描述(中文翻譯)

如果您想要充分利用多核心處理器進行並行編程,這本實用的書籍提供了您所需的知識和實踐經驗。《並行藝術》是少數專注於在共享內存模型的多核心處理器上實現算法的資源之一,而不僅僅是理論模型或分散式內存架構。該書提供了詳細的解釋和可用的示例,幫助您將算法從串行代碼轉換為並行代碼,並提供了避免程序員在首次嘗試這些計算時常犯的錯誤的建議和分析。

這本書由一位擁有超過二十年並行編程經驗的英特爾工程師撰寫,將幫助您:
- 理解並行性和並發性
- 探索共享內存和分散式內存編程之間的差異
- 學習設計多線程應用程序的指南,包括測試和調優
- 發現如何充分利用不同的線程庫,包括Windows線程、POSIX線程、OpenMP和英特爾線程構建塊
- 探索如何實現涉及排序、搜索、圖形和其他實用計算的並行算法

《並行藝術》向您展示如何使算法具有可擴展性,以充分利用具有更多核心的新處理器。對於開發並行編程的並行代碼算法,這本書是必不可少的。