Concurrency in C# Cookbook (Paperback)
Stephen Cleary
- 出版商: O'Reilly
- 出版日期: 2014-06-13
- 售價: $1,550
- 貴賓價: 9.5 折 $1,473
- 語言: 英文
- 頁數: 208
- 裝訂: Paperback
- ISBN: 1449367569
- ISBN-13: 9781449367565
-
相關分類:
C#
-
相關翻譯:
C# 並發編程經典實例 (簡中版)
-
其他版本:
Concurrency in C# Cookbook: Asynchronous, Parallel, and Multithreaded Programming 2/e
買這商品的人也買了...
-
$1,200$1,020 -
$690$538 -
$2,010$1,910 -
$1,200$1,140 -
$500$395 -
$580$452 -
$400$380 -
$940$700 -
$680$578 -
$580$493 -
$620$490 -
$420$328 -
$300$234 -
$690$545 -
$560$442 -
$500$395 -
$380$300 -
$450$356 -
$420$332 -
$580$458 -
$300$234 -
$780$616 -
$788Building Maintainable Software, C# Edition: Ten Guidelines for Future-Proof Code (Paperback)
-
$720$562 -
$590$460
相關主題
商品描述
If you're one of the many developers uncertain about concurrent and multithreaded development, this practical cookbook will change your mind. With more than 75 code-rich recipes, author Stephen Cleary demonstrates parallel processing and asynchronous programming techniques, using libraries and language features in .NET 4.5 and C# 5.0.
Concurrency is becoming more common in responsive and scalable application development, but it’s been extremely difficult to code. The detailed solutions in this cookbook show you how modern tools raise the level of abstraction, making concurrency much easier than before. Complete with ready-to-use code and discussions about how and why the solution works, you get recipes for using:
- async and await for asynchronous operations
- Parallel programming with the Task Parallel Library
- The TPL Dataflow library for creating dataflow pipelines
- Capabilities that Reactive Extensions build on top of LINQ
- Unit testing with concurrent code
- Interop scenarios for combining concurrent approaches
- Immutable, threadsafe, and producer/consumer collections
- Cancellation support in your concurrent code
- Asynchronous-friendly Object-Oriented Programming
- Thread synchronization for accessing data
商品描述(中文翻譯)
如果你是眾多開發人員中對於並行和多線程開發感到困惑的一員,這本實用的食譜將改變你的想法。作者Stephen Cleary在這本書中提供了75多個代碼豐富的食譜,演示了在.NET 4.5和C# 5.0中使用庫和語言特性的並行處理和異步編程技術。
並行性在響應式和可擴展的應用程序開發中越來越常見,但編寫並行代碼一直非常困難。這本食譜中的詳細解決方案向你展示了現代工具如何提高抽象層次,使並行性比以前更容易。書中提供了現成的代碼和關於解決方案如何以及為什麼運作的討論,你將學到以下使用方法:
- 使用async和await進行異步操作
- 使用Task Parallel Library進行並行編程
- 使用TPL Dataflow庫創建數據流水線
- Reactive Extensions在LINQ之上構建的功能
- 用於並行代碼的單元測試
- 結合並行方法的Interop場景
- 不可變、線程安全和生產者/消費者集合
- 在並行代碼中支持取消操作
- 面向對象的異步友好編程
- 用於訪問數據的線程同步
這本書將幫助你掌握並行處理和異步編程的技巧,並提供實用的代碼示例和解釋。無論你是初學者還是有經驗的開發人員,這本書都將成為你學習並行和異步編程的寶貴資源。