I've been using C# with recent features like Function Pointers, [UnmanagedCallersOnly], Dotnet Native Exports, etc
Have been writing C# to interact with C/C++ and publishing C ABIs as static/shared libs that are natively compiled
My mind has been absolutely blown with what modern .NET and C# are capable of doing in terms of low level/systems program and interop with C/C++/Rust etc.
The performance and object sizes are killer too.
I think most people don't know or think C#/.NET are capable of this
Can envision a not so distant future where C# is a common choice for places when you'd typically reach for C++
Also, the folks on the .NET Interop team are all super friendly and willing to have a conversation with you or answer questions. My experiences with the whole .NET organization at MS as a random person has been nothing short of shockingly pleasant.
Have been writing C# to interact with C/C++ and publishing C ABIs as static/shared libs that are natively compiled
My mind has been absolutely blown with what modern .NET and C# are capable of doing in terms of low level/systems program and interop with C/C++/Rust etc.
The performance and object sizes are killer too.
I think most people don't know or think C#/.NET are capable of this
Can envision a not so distant future where C# is a common choice for places when you'd typically reach for C++
Also, the folks on the .NET Interop team are all super friendly and willing to have a conversation with you or answer questions. My experiences with the whole .NET organization at MS as a random person has been nothing short of shockingly pleasant.