Hacker News new | ask | show | jobs
by pjmlp 3471 days ago
> C++/CX sounds really painful.

Not for someone that knows C++ since C++ARM. :)

I am pretty comfortable with C# and native interop, my issue was trying to map Rust strings with .NET UTF-16 ones, including passing ownership from Rust to .NET side.

1 comments

If I remember right you can specify encoding as an attribute on the extern decl.