Recently I read that there are performance tradeoff for COM interop, for example, marshaling and thunking. But, the at the same time, I know there are some .NET Core Classes are writting in native language for performance as well. And WinRT is also native
So, what is the story behind those? I am sure the native performance still out weights pure native solution. But, by how much, and how much performance tradeoff is it? Like, are they all using Blittable datatype? What is expected tradeoff for those internal
.NET components written in C++ and those in WinRT? I know it is per class tradeoff, but, what is the expected tradeoff in general.