top | item 35207838

(no title)

unxdfa | 2 years 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.

discuss

order

foepys|2 years ago

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.

pjmlp|2 years ago

Hello Task.Run() scattered all over the place.

unxdfa|2 years ago

I cried a little when I read this :(