IEnumerable is to C#/.NET, what std::begin() and std::end() are to C++, and LINQ is to C#/.NET what is to C++. Both interfaces and libraries respectively are the bread and butter of both languages.

I love both languages, and sincerely hope that C# is able to compile to native at some point in the future; there are already some efforts to compile it to WebAssembly with LLVM [0].

[0]: https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-...

AOT is coming with NET 7 which will be released in November.

https://visualstudiomagazine.com/articles/2022/04/15/net-7-p...

When I read the advantages, all but restricted platforms sound like things that would help with server less (aws lambda, azure functions, etc) where we are doing seemingly stupid things like pinging a service once a while to keep it "warm". However, they don't mention this at all.

Is asp.net not just another console app?

Speaking of serverless, this might be of interest to you: https://github.com/awslabs/dotnet-nativeaot-labs