News for hackers. Stuff that matters.
Re:Memory usage of a toy C# server and client with 500K conc... by tigershark on Sunday January 27, 2019 @03:00AM (#19010823)
Goroutines are not threads. Async await behind the scenes uses threads.
Re:Memory usage of a toy C# server and client with 500K conc... by wallstop on Sunday January 27, 2019 @03:48AM (#19010944)
Re:Memory usage of a toy C# server and client with 500K conc... by tigershark on Sunday January 27, 2019 @04:02AM (#19010981)
In that case and in some others it doesn’t, but in general it does: https://stackoverflow.com/questions/17661428/async-stay-on-t... Probably it makes sense to say that async await can try to use a continuation passing style or run on a different thread because there is no actual guarantee that it will use one or the other.