Lowering in C#

August 22, 2022

Understanding the performance characteristics of a C# program isn’t always as straightforward as you might think. In much the same way as the JIT can take IL code, transform and then optimise it. Your C# code will first go through a phase where it is lowered before being transformed into IL. Shortcuts Rather than providing custom implementations for each syntax feature at the IL level, lowering allows the compiler authors to save a bit of time and convert that syntax into simpler constructs, which can then be transformed into IL. ... Read more

© 2023 | Follow on |