r/programming • • Sep 15 '26

Performance Improvements in .NET 11

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

103 comments sorted by

View all comments

Show parent comment

20

u/eocron06 Sep 15 '26 edited Sep 15 '26

Space-time tradeoff in action. CPU cant becom 2x faster, but memory can become 2x bigger. Considering good code, this becomes fundamental problem. If you think carefully, everything can be Lisped, then it will become absurdly CPU consuming, then you realise functions can share state, and inherintly have lifetime of this state - the memory. The more you share - faster it becomes, but takes memory.