2 ms·
It's a proper concurrency model, it's just not an efficient one when it comes to execution. Concurrency has (at least) two components: design concurrency, exec
by Jtsummers 9y ago
It's a proper concurrency model, it's just not an efficient one when it comes to execution.
Concurrency has (at least) two components: design concurrency, execution concurrency. The event loop mechanism in JavaScript allows you to do effective concurrent design. It does not provide for concurrent execution. This is the primary distinction in academic CS between concurrency and parallelism.
- millstone 9y agoThe event loop mechanism in JavaScript is not well suited to designing OR executing a computation concurrently. Try replacing a for loop in numeric code with anything that allows for events to be handled. It's extremely awkward.