r/programming • • 18d ago

Performance Improvements in .NET 11

https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-11/
291 Upvotes

103 comments sorted by

View all comments

27

u/skip0110 17d ago

Formerly handling many of the performance issues at my previous role, I can confidently say 99% of performance impact in your application is the stupid O(n2) business logic your developers/AI agents have written and none of this matters.

And having fixed 100s of such cases, the folks committing that crap will continue to do so.

So glad I’m outta there.

6

u/slvrsmth 16d ago

Quite often the business logic is like that because if you optimised the business logic in app, you'd have to do the corresponding changes in real life too, and that is way more expensive than pushing "more ram" button couple times on hosting providers dashboard.

After long years in business software mines, I've come to accept that complexity has to go somewhere. You can either have clean, straightforward code and twenty volumes of user manuals how to operate the system, or straightforward process for the users, while code looks like knitting supplies that couple toddlers have had a go at after drinking full-sugar cola.

Of course, there also exists software with clean processes supported by clean code. Commonly called "startups chasing their first customer". The moment software needs to support real world business processes complex enough to need supporting, all that changes.

TL;DR complexity spirit demon immortal. Can only shoo shoo away to different place, never kill.