Hacker News new | ask | show | jobs
by unxdfa 1192 days ago
Completely agree with this. Having ported a lot of old non async c# to async, even mixing the notions for a moment is a disaster. This was a world of pain in the late .net classic lifecycle (4.5-4.8) where Microsoft kept fucking it up as well as us.
2 comments

If you have legacy or UI code you are best served using Microsoft.VisualStudio.Threading to ease the pain. Not using it will land you in a world of random deadlocks and disappearing data from variables.

vs-threading should be part of the .NET standard library but somehow isn't.

Hello Task.Run() scattered all over the place.
I cried a little when I read this :(