News for hackers. Stuff that matters.
Re:.NET 10 by achr2 on Thursday November 13, 2025 @09:08AM (#45915038)
C#/dotNet has Ahead of Time compilation that works very well with containerization. Obviously there are still overheads for the AoT runtime, but it is pruned.
Re:.NET 10 by parliament32 on Thursday November 13, 2025 @09:23AM (#45915239)
AOT would solve a lot of these problems if it didn't have show-stopping restrictions like "you can't use reflection" and "you can't use native sessions".

https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/n...

Re:.NET 10 by tracker1 on Thursday November 13, 2025 @11:54AM (#45917196)
Reflection doesn't work with AOT because there is nothing left to reflect on... it's compiled away. You can't use reflection with C, C++ or Rust either, doesn't mean you can't use them for useful things.