Parallel Programming with Microsoft .NET: Design Patterns for Decomposition and Coordination on Multicore Architectures (Paperback)
暫譯: 使用 Microsoft .NET 的平行程式設計:多核心架構的分解與協調設計模式
Colin Campbell, Ralph Johnson, Ade Miller, Stephen Toub
- 出版商: MicroSoft
- 出版日期: 2010-09-13
- 售價: $1,360
- 貴賓價: 9.5 折 $1,292
- 語言: 英文
- 頁數: 224
- 裝訂: Paperback
- ISBN: 0735651590
- ISBN-13: 9780735651593
-
相關分類:
.NET、Design Pattern
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$550$435 -
$720$706 -
$2,390$2,271 -
$620$527 -
$530$419 -
$990Professional Multicore Programming: Design and Implementation for C++ Developers
-
$2,275$2,161 -
$860$731 -
$1,770$1,682 -
$1,320Professional Enterprise .NET (Paperback)
-
$520$411 -
$820$648 -
$580$458 -
$530$419 -
$620$484 -
$890$757 -
$750$593 -
$420$332 -
$490$417 -
$450$351 -
$560$442 -
$690$621 -
$850$723 -
$450$356 -
$420$332
商品描述
The CPU meter shows the problem. One core is running at 100 percent, but all the other cores are idle. Your application is CPU-bound, but you are using only a fraction of the computing power of your multicore system. What next?
The answer, in a nutshell, is parallel programming. Where you once would have written the kind of sequential code that is familiar to all programmers, you now find that this no longer meets your performance goals. To use your system’s CPU resources efficiently, you need to split your application into pieces that can run at the same time. This is easier said than done. Parallel programming has a reputation for being the domain of experts and a minefield of subtle, hard-to-reproduce software defects.
Everyone seems to have a favorite story about a parallel program that did not behave as expected because of a mysterious bug. These stories should inspire a healthy respect for the difficulty of the problems you face in writing your own parallel programs. Fortunately, help has arrived. Microsoft Visual Studio® 2010 introduces a new programming model for parallelism that significantly simplifies the job. Behind the scenes are supporting libraries with sophisticated algorithms that dynamically distribute computations on multicore architectures. Proven design patterns are another source of help. A Guide to Parallel Programming introduces you to the most important and frequently used patterns of parallel programming and gives executable code samples for them, using the Task Parallel Library (TPL) and Parallel LINQ (PLINQ).
商品描述(中文翻譯)
CPU 計量器顯示了問題。一個核心運行在 100% 的負載上,但其他所有核心都處於閒置狀態。您的應用程式是 CPU 綁定的,但您只使用了多核心系統的一小部分計算能力。接下來該怎麼辦?
簡而言之,答案是平行程式設計。在您曾經編寫的所有程式設計師都熟悉的順序代碼中,您現在發現這已經無法滿足您的性能目標。為了有效利用系統的 CPU 資源,您需要將應用程式拆分成可以同時運行的部分。這說起來容易,但做起來卻不簡單。平行程式設計以專家的領域和微妙、難以重現的軟體缺陷的雷區而聞名。
每個人似乎都有一個關於平行程式的最愛故事,因為神秘的錯誤而未能如預期運行。這些故事應該激發您對編寫自己平行程式所面臨的問題的健康尊重。幸運的是,幫助已經來臨。Microsoft Visual Studio® 2010 引入了一種新的平行性程式設計模型,顯著簡化了這項工作。在幕後,有支持庫和複雜的演算法,能夠在多核心架構上動態分配計算。經過驗證的設計模式是另一個幫助來源。《平行程式設計指南》將介紹平行程式設計中最重要和最常用的模式,並提供使用任務平行庫(Task Parallel Library, TPL)和平行 LINQ(Parallel LINQ, PLINQ)的可執行代碼範例。