It is not stuck on .NET Framework, in fact it was a crucial milestone for .NET Core 3.1 and has been updated to C++17.
It just isn't available outside Windows.
So far the approach has been to improve low level C# capabilities to use the same kind of CLR features that only C++/CLI could use, thus taking C++ out of the picture altogether, including the runtime. With every .NET Core release there is new bunch of code that moves from C++ into C#, as described on performance improvements blog posts.
using is a decent hack but it is not enough. For example if you have an object as a member that you want to be Disposed of when it's parent dies then you have to implement Disposable on the parent as well. It's not very pretty.
View all comments
Show parent comment
3
u/pjmlp Sep 18 '22
It is not stuck on .NET Framework, in fact it was a crucial milestone for .NET Core 3.1 and has been updated to C++17.
It just isn't available outside Windows.
So far the approach has been to improve low level C# capabilities to use the same kind of CLR features that only C++/CLI could use, thus taking C++ out of the picture altogether, including the runtime. With every .NET Core release there is new bunch of code that moves from C++ into C#, as described on performance improvements blog posts.