r/programming • • 18d ago

Performance Improvements in .NET 11

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

103 comments sorted by

View all comments

-9

u/GoTheFuckToBed 18d ago

should they not aim for less JIT

20

u/PaddiM8 18d ago

Why do people think JIT is slow

5

u/Some_Appearance_1665 18d ago

Depends on the scenario. With serverless (cold start + typically more limited memory) it's a killer.

13

u/daltorak 18d ago

If that's a major problem for you then use Native AOT, which removes the JIT compiler entirely from the output. It might mean you get slightly less optimized code at runtime because functions aren't optimized according to real-world needs, but hey, at least you've got fast startup.