
1 minute read
Everything You Need To Know About The New .NET 6
Crossgen2
Crossgen2 is an important .NET tool that helps developers create unique and native code in a ready-to-run format. Essentially, this format is dedicated to ensuring compatibility across multiple assemblies and having the compatibility guarantee of IL. Moreover, it provides developers with the advantage of ahead-of-time (AOT) compiled code.
Advertisement
Simply put, .NET 6 allows developers to use a single build machine to create native code for all their targets.
Profile-guided Optimization
This is another major performance enhancement made in .NET 6. Profile-guided optimization (PGO) is a JITcompiler optimization technique that makes JIT collect additional information about its profiles in tier0 codegen, further relying on it during promotion (from tier 1 to tier 2) for hot methods. PGO makes your methods more efficient, increasing the development framework’s performance.