Learning Concurrency in Python
暫譯: 在 Python 中學習併發編程

Elliot Forbes

  • 出版商: Packt Publishing
  • 出版日期: 2017-08-16
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 1787285375
  • ISBN-13: 9781787285378
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

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

商品描述

Key Features

  • Build highly efficient, robust, and concurrent applications
  • Work through practical examples that will help you address the challenges of writing concurrent code
  • Improve the overall speed of execution in multiprocessor and multicore systems and keep them highly available

Book Description

Python is a very high level, general purpose language, and also one of the most widely used languages. It offers diverse concurrency approaches, including the language itself and the third-party libraries.

This book introduces the popular and useful libraries in-depth, briefly introduces specialized solutions, and shows you how to choose one. We cover the concurrency approaches and their techniques in Python, showing you why to use, how to use, when to use, and give you background knowledge.

The book will guide you down the path to mastering Python concurrency, giving you all the necessary hardware and theoretical knowledge. Then we explore threading and multi-processing in Python. Next, you will learn about higher-level tools, event-driven programming, reactive programming, and more libraries. You will understand how to handle exceptions, benchmark, and debug code in a concurrent system.

By the end of the book, you will have learned the techniques to write efficient Python code with concurrency.

What you will learn

  • Explore the concept of threading and multiprocessing in Python
  • Understand concurrency with threads
  • Manage exceptions in child threads
  • Handle the hardest part in a concurrent system - shared resources
  • Build concurrent systems with Communicating Sequential Processes (CSP)
  • Maintain all concurrent systems and master them
  • Apply reactive programming to build concurrent systems
  • Use GPU to solve specific problems

商品描述(中文翻譯)

關鍵特性
- 建立高效、穩健且具併發性的應用程式
- 通過實際範例幫助您解決撰寫併發程式碼的挑戰
- 提高多處理器和多核心系統的整體執行速度,並保持其高可用性

書籍描述
Python 是一種非常高階的通用語言,也是最廣泛使用的語言之一。它提供多種併發方法,包括語言本身和第三方庫。

本書深入介紹了流行且實用的庫,簡要介紹了專門的解決方案,並展示了如何選擇其中一種。我們涵蓋了 Python 中的併發方法及其技術,告訴您為什麼使用、如何使用、何時使用,並提供背景知識。

本書將引導您掌握 Python 併發的道路,提供所有必要的硬體和理論知識。接著,我們將探討 Python 中的執行緒和多處理。然後,您將學習更高階的工具、事件驅動編程、反應式編程以及更多庫。您將了解如何處理例外、基準測試和在併發系統中除錯程式碼。

到本書結束時,您將學會撰寫高效的 Python 併發程式碼的技術。

您將學到的內容
- 探索 Python 中的執行緒和多處理的概念
- 理解執行緒的併發性
- 管理子執行緒中的例外
- 處理併發系統中最困難的部分 - 共享資源
- 使用通訊序列過程 (Communicating Sequential Processes, CSP) 建立併發系統
- 維護所有併發系統並掌握它們
- 應用反應式編程來建立併發系統
- 使用 GPU 解決特定問題

最後瀏覽商品 (19)