- Mastering Concurrency in Python
- Quan Nguyen
- 149字
- 2021-06-10 19:23:58
Amdahl's Law
How do you find a balance between parallelizing a sequential program (by increasing the number of processors) and optimizing the execution speed of the sequential program itself? For example, which is the better option: Having four processors running a given program for 40% of its execution, or using only two processors executing the same program, but for twice as long? This type of trade-off, which is commonly found in concurrent programming, can be strategically analyzed and answered by applying Amdahl's Law.
Additionally, while concurrency and parallelism can be a powerful tool that provides significant improvements in program execution time, they are not a silver bullet that can speed up any non-sequential architecture infinitely and unconditionally. It is therefore important for developers and programmers to know and understand the limits of the speed improvements that concurrency and parallelism offer to their programs, and Amdahl's Law addresses those concerns.
- Mastering JavaScript Functional Programming
- 動手玩轉Scratch3.0編程:人工智能科創教育指南
- 華為HMS生態與應用開發實戰
- 新手學Visual C# 2008程序設計
- 新編Premiere Pro CC從入門到精通
- Learning ArcGIS Pro
- Python Interviews
- Mastering OAuth 2.0
- Professional JavaScript
- Beginning C# 7 Hands-On:The Core Language
- Python程序設計:基礎與實踐
- Python深度學習入門:從零構建CNN和RNN
- Learning C# by Developing Games with Unity 3D Beginner's Guide
- Instant OpenCV for iOS
- Node.js入門指南