This talk of a memory safe C++ makes me think of C++ CLI (or C++.NET as it was called before) by Microsoft. You got C++ but the resource management was done by the .NET Framework CLR. The few times I used C++/CLI was as glue so C# code could use a C++ library.
C++/CLI is still present in Visual Studio 2022, but I'm curious how many people use it.
From the looks of things Microsoft now just maintains C++/CLI but doesn't add to it anymore. Hence it being stuck on .NET Framework.
I wonder how much effort it would take for Microsoft to get this working on the new .NET CLR to make it multiplatform. With memory safe C++ or C++ alternatives being so in vogue these days it could be worth it to Microsoft to have their own alternative to Carbon and Rust.
3
u/a_false_vacuum Sep 17 '22
This talk of a memory safe C++ makes me think of C++ CLI (or C++.NET as it was called before) by Microsoft. You got C++ but the resource management was done by the .NET Framework CLR. The few times I used C++/CLI was as glue so C# code could use a C++ library.
C++/CLI is still present in Visual Studio 2022, but I'm curious how many people use it.