- Learning Scala Programming
- Vikash Sharma
- 119字
- 2021-06-30 19:07:46
Asynchronous versus parallel versus concurrent programming
Asynchronous programming involves some calculations time-intensive tasks, which on the one hand are engaging a thread in the background but do not affect the normal flow of the program.
Parallel programming incorporates several threads to perform a task faster and so does concurrent programming. But there's a subtle difference between these two. The program flow in parallel programming is deterministic whereas in concurrent programming it's not. For example, a scenario where you send multiple requests to perform and return responses regardless of response order is said to be concurrent programming. But where you break down your task into multiple sub-tasks to achieve parallelism can be defined as the core idea of parallel programming.
推薦閱讀
- Photoshop智能手機(jī)APP UI設(shè)計(jì)之道
- Visual Basic程序開(kāi)發(fā)(學(xué)習(xí)筆記)
- Python Network Programming Cookbook(Second Edition)
- Java Web應(yīng)用開(kāi)發(fā)技術(shù)與案例教程(第2版)
- 3D少兒游戲編程(原書(shū)第2版)
- Mastering Ext JS
- INSTANT Apache ServiceMix How-to
- Java Hibernate Cookbook
- MongoDB Administrator’s Guide
- Python趣味創(chuàng)意編程
- 一覽眾山小:ASP.NET Web開(kāi)發(fā)修行實(shí)錄
- Mastering Clojure
- Python深度學(xué)習(xí)與項(xiàng)目實(shí)戰(zhàn)
- LibGDX Game Development By Example
- Instant SQL Server Analysis Services 2012 Cube Security