- Learning Concurrency in Kotlin
- Miguel Angel Castiblanco Torres
- 100字
- 2021-08-05 10:46:42
Concurrency versus parallelism in I/O-bound algorithms
As seen before, I/O-bound algorithms are constantly waiting on something else. This constant waiting allows single-core devices to use the processor to do other useful tasks while waiting. So concurrent algorithms that are I/O-bound will perform similarly regardless of the execution happening in parallel or in a single core.
It is expected that I/O-bound algorithms will always perform better in concurrent implementations than if they are sequential. So it's recommended for I/O operations to be always executed concurrently. As mentioned before, in GUI applications it's particularly important to not block the UI thread.
推薦閱讀
- Vue.js 3.x從入門到精通(視頻教學版)
- CentOS 7 Linux Server Cookbook(Second Edition)
- Learning Laravel 4 Application Development
- Java Web應用開發技術與案例教程(第2版)
- 領域驅動設計:軟件核心復雜性應對之道(修訂版)
- Learning Continuous Integration with TeamCity
- 智能手機APP UI設計與應用任務教程
- Maker基地嘉年華:玩轉樂動魔盒學Scratch
- Node.js從入門到精通
- Practical GIS
- Manage Your SAP Projects with SAP Activate
- Enterprise Application Architecture with .NET Core
- Learning Perforce SCM
- MySQL數據庫應用技術及實戰
- Android Application Programming with OpenCV 3