- Parallel Programming with Python
- Jan Palach
- 236字
- 2021-07-16 11:22:19
Why use parallel programming?
Since computing systems have evolved, they have started to provide mechanisms that allow us to run independent pieces of a specific program in parallel with one another, thus enhancing the response and the general performance. Moreover, we can easily verify that the machines are equipped with more processors and these with plenty of more cores. So, why not take advantage of this architecture?
Parallel programming is a reality in all contexts of system development, from smart phones and tablets, to heavy duty computing in research centers. A solid basis in parallel programming will allow a developer to optimize the performance of an application. This results in enhancement of user experience as well as consumption of computing resources, thereby taking up less processing time for the accomplishment of complex tasks.
As an example of parallelism, let us picture a scenario in which an application that, amongst other tasks, selects information from a database, and this database has considerable size. Consider as well, the application being sequential, in which tasks must be run one after another in a logical sequence. When a user requests data, the rest of the system will be blocked until the data return is not concluded. However, making use of parallel programming, we will be allowed to create a new worker that which will seek information in this database without blocking other functions in the application, thus enhancing its use.
- Unity 2020 By Example
- Android Jetpack開發:原理解析與應用實戰
- 區塊鏈架構與實現:Cosmos詳解
- Visual Basic程序設計教程
- React.js Essentials
- SQL Server 2012數據庫管理與開發項目教程
- 微信小程序入門指南
- 單片機C語言程序設計實訓100例
- Android應用開發深入學習實錄
- Java7程序設計入門經典
- 超簡單:Photoshop+JavaScript+Python智能修圖與圖像自動化處理
- 大數據時代的企業升級之道(全3冊)
- Vue.js 3.x高效前端開發(視頻教學版)
- SAP HANA Starter
- Swift從入門到精通 (移動開發叢書)