Hacker News new | ask | show | jobs
by staticassertion 3212 days ago
You wouldn't have to rewrite Adobe. You could rewrite one component of it (0 cost FFI). That's fair more reasonable. I think Servo is proving that Rust has a lot of potential for slowly replacing a C++ codebase, piece by piece.
1 comments

On Windows, Rust still has the problem that it needs to be as easy as C++ for working with COM, specially now with UWP.
Is anybody using C++ with UWP? I would have thought the obvious choice was C#.
Yes, via C++/CX and when C++/WinRT gets ready by the end of the year, it will eventually replace C++/CX.

Also note that Blend has first class support for C++/CX projects.

https://moderncpp.com/2017/08/25/cppwinrt-2017/

Of course most developers using C++ with UWP is Microsoft itself, for stuff like XAML engine and the new Visual UI composition engine, and game devs.

XAML is also the official replacement for MFC.

As I mentioned in some other thread today, there is hardly any pure C++ application nowadays on Windows, they are mostly a mix of .NET and C++.