2 ms·
> Do you have some examples of large and complex C# applications with really good performance? Most of them. An implementation would have to go out of its way
by neonsunset 2y ago
> Do you have some examples of large and complex C# applications with really good performance?
Most of them. An implementation would have to go out of its way to make itself perform poorly if it is built on top of, say, .NET 8.
Have you heard of Ryujinx? Or Nethermind? Or Garnet? Or have you seen that .NET's Regex engine, written in pure C#, is the third fastest in the world after Intel's Hyperscan and Rust's Regex crate?
- brokencode 2y agoFair enough, maybe my perceptions of .NET performance are mostly based on old versions of .NET without all the tiered compilation and other features to make JIT warmup less of an issue. We are only just now wrapping up the conversion at work to .NET 8 from 4.8, so it will be interesting to see the performance numbers once that is complete. Our .NET application has millions of lines of code, so JIT compilation time in particular in the old .NET could be very painful.
- neonsunset 2y agoAt my previous employer, moving from .NET Framework 4.6.1 to .NET Core 3.1 resulted in response latency of one of the particularly heavy requests going from ~2s to ~300ms :) The difference between 4.8 and 8 can easily be tenfold, depending on the workload and bottlenecks (if it's a slow DB query - EF Core might compile it to a more efficient variant in, say, EFC 8, but if it's linear scan - not much can be done).