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

Yes it does. Those best practices are very easy to follow and are enforced by analyzers. I have never encountered those issues on a recent big project I worked on, although they were common in the past when async was new. Also the green threads research concluded that it's not worth adding it to NET:

https://github.com/davidwrighton/runtimelab/blob/report/docs...



Ah the usual argument that good programmers never make mistakes.

The green threads research (which are those github issues I already linked to) concluded that it's not worth adding it to NET, because basically now it is too late to retrofit them into .NET, without having the issue of yet another way to color code, for little gain overall.

I also suggest watching the BUILD 2023 ASP.NET panel on the matter.


> Ah the usual argument that good programmers never make mistakes.

Not my conclusion at all. I am saying that tooling and base libraries have matured enough to prevent those issues from happening.

> because basically now it is too late to retrofit them into .NET

Nope, read the conclusion. There are other factors not just backwards compatibility (which isn't even a blocker).


> not my conclusion at all. I am saying that tooling and base libraries have matured enough to prevent those issues from happening.

Big if, not everyone is using .NET latest on VS, with latest version of every library using async/await.

> Nope, read the conclusion. There are other factors not just backwards compatibility.

Again, I wrote the Github issues regarding green threads on my comment, so I don't know, maybe I actually already read them?


> Big if, not everyone is using .NET latest on VS, with latest version of every library using async/await.

The analyzers are part of the build, they work everywhere (command line, VS code). Either way, I am glad we finally agree that async await "works fine" for modern .NET.

> so I don't know, maybe I actually already read them?

I did, I even responded to your links with the official conclusion from the NET team on those issues. Now maybe your turn to read?




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

Search: