- 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.
- Java程序設(shè)計(jì)(慕課版)
- LabVIEW 2018 虛擬儀器程序設(shè)計(jì)
- Learning Flask Framework
- Java Web開發(fā)技術(shù)教程
- Java 11 Cookbook
- Unity 3D/2D移動(dòng)開發(fā)實(shí)戰(zhàn)教程
- Android驅(qū)動(dòng)開發(fā)權(quán)威指南
- Learning Docker Networking
- HTML+CSS+JavaScript編程入門指南(全2冊(cè))
- MINECRAFT編程:使用Python語(yǔ)言玩轉(zhuǎn)我的世界
- 代碼閱讀
- 零基礎(chǔ)學(xué)C語(yǔ)言(第4版)
- Elasticsearch Blueprints
- Python無(wú)監(jiān)督學(xué)習(xí)
- Java EE程序設(shè)計(jì)與開發(fā)實(shí)踐教程