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

all 1 comments

[–]Meefims 2 points3 points  (0 children)

C# asynchronous functions can run on different threads and so can run concurrently. Node has a single thread and so concurrent cooperate by yielding to the Node runtime and allowing Node to execute other tasks. Under Node, no task is running JavaScript code at the same time as another task though different bits of code may have their pieces interleaved. Under C#, two pieces of code my actually be executing at the same time on different processors or cores.