News for hackers. Stuff that matters.
Re:.NET 6 vs .NET 5 speedup by DeathArrow on Sunday November 21, 2021 @03:10PM (#29299263)
>If your program is slow because it's waiting for external service response, you're doing programming wrong. Your program should do other work in the meantime.

What work? Mine bitcoins while you wait the result for an API call?

Re:.NET 6 vs .NET 5 speedup by emteycz on Sunday November 21, 2021 @03:43PM (#29299513)
Usually processing other requests
Re:.NET 6 vs .NET 5 speedup by atraac on Sunday November 21, 2021 @04:56PM (#29300147)
I think any sane person here assumes any IO, especially in .NET is already async and allows other requests to use that time… Most web apps are still IO constrained.
Re:.NET 6 vs .NET 5 speedup by emteycz on Monday November 22, 2021 @03:58AM (#29304313)
Sure, but how is waiting for external requests relevant in any way to .NET performance then?
Re:.NET 6 vs .NET 5 speedup by SideburnsOfDoom on Monday November 22, 2021 @08:46AM (#29306220)
If you're asking "how is waiting for external requests relevant to my service's response time" the answer is "because it's usually the largest part". I really don't know how to explain it more simply than that.

If you need to improve this, and that code is .NET, then the solution is a different design, also in .NET Code.

Re:.NET 6 vs .NET 5 speedup by emteycz on Tuesday November 23, 2021 @02:06AM (#29315321)
I am asking how is waiting for external services relevant to .NET processing time.
Re:.NET 6 vs .NET 5 speedup by SideburnsOfDoom on Thursday November 25, 2021 @04:48PM (#29345290)
I refer you to my answer above. https://news.ycombinator.com/item?id=29306220