4 ms·
Even if C# compiles to bytecode, NGEN has been part of the framework since version 1.0, although using strong named assemblies might be bit of a pain. Then the
by pjmlp 2y ago
Even if C# compiles to bytecode, NGEN has been part of the framework since version 1.0, although using strong named assemblies might be bit of a pain.
Then there is .NET Native and Native AOT.
- int_19h 2y agoYou couldn't redistribute NGen'd binaries tho, it was basically a local AOT'd cache. As far as Native AOT, last I checked it requires trimming which breaks WinForms (and WPF) according to the official docs. I don't think this matters much, though. There's simply no practical reason to AOT-compile a WinForms app. Not when the framework is guaranteed to be there, and JIT compiler is plenty fast.