Re:Asynchronous Programming in C#
by gregoryl on Friday September 24, 2021 @11:14AM
(#28643555)
The reason there isn't a keyword is because its not possible to do it right. The example given is far from foolproof.
[ Parent
| on HN ]
Re:Asynchronous Programming in C#
by spaetzleesser on Friday September 24, 2021 @03:41PM
(#28646911)
But there should be an easy way to do it right. Needing to call async functions from non-async code is not exactly an unusual thing. Or they need to make absolutely everything async which is also problematic, especially in terms of raw performance.