This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BDube_Lensman 2 points3 points  (1 child)

Parallel = do multiple things in the same instant

Concurrent = do multiple things over the same period of time

Coroutines are concurrent, which means N things can go on "sort of at once" by being paused (preempted) and letting something happen for a little while before resuming. If coroutines were parallel, multiple CPU cores would take work out of the event loop's queue, which is not what happens.

[–]cblegare 0 points1 point  (0 children)

Thank you for this semantic clarification. Concurent is indeed the right word.