News for hackers. Stuff that matters.
Re:Asynchronous Programming in C# by Varriount on Friday September 24, 2021 @12:23PM (#28644547)
> and spread trivial things across many cores in large, complex codebases

How are tasks spread across cores? My main experience with the "await" paradigm is from Python, which is primarily single threaded.

Re:Asynchronous Programming in C# by manigandham on Friday September 24, 2021 @01:27PM (#28645396)
The .NET runtime has a threadpool with local/software threads that share the workload. The Tasks (from async operations) are spread across this threadpool, although depending on many factors (how quick it finishes, overall load, etc) they might just run on the same thread anyway.