|
|
|
|
|
by whoisthemachine
1392 days ago
|
|
> C# also made a big mistake imo by going with async/await instead of lightweight threads which will add a ton of complexity in the future for if they decide to go the greenthread route like Goroutines/Project Loom. Could you expand on this? Async/await is just syntax magic for Task continuations (in other words, Promises [0]), which have very little to do with the underlying threading model. This statement is equivalent to saying "Completable Futures add a ton of complexity to Project Loom." [0] https://en.wikipedia.org/wiki/Futures_and_promises#List_of_i... |
|
It is not just `magic` syntax imo, it is viral to your codebase. The blog post does way more justice than I can explain.