logoalt Hacker News

gavinrayyesterday at 3:24 PM1 replyview on HN

The "GC is slow"/"JIT/VM's are slow" is such a tired, dated take at this point.

Look at C#'s competitive placings with C++/Rust on The Computer Benchmark game due to .NET's ruthless optimization.


Replies

rafaelmnyesterday at 7:49 PM

Ironically those optimizations came from .NET avoiding GC and introducing primitives to avoid it better.

And .NET is moving heavily into the AoT/pre-compilation direction for optimization reasons as well (source generators, AoT).

If you look at the change logs for the past few versions of the framework from perf perspective the most significant moves are : introduce new primitives to avoid allocating, move more logic to compile time, make AoT better and work with more frameworks.