Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Where he notes that the .NET implementation wasn't without issues on Midori.

Indeed. In my opinion and experience async/await is a very leaky abstraction. I think it is definitely not worth it in most languages. Whether it is appropriate for rust I'm unconvinced. I think it is DOA in C++ with its required allocation, but I have yet to use it in anger.



I only have used them in C++/WinRT, as they are a kind of required to handle anything WinRT, and it was kind of ok when doing UWP, although it was much more complex as in WinRT case, it also takes into account how COM/WinRT compartments work.

See https://devblogs.microsoft.com/oldnewthing/20210504-01/?p=10...

Don't miss it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: