News for hackers. Stuff that matters.
Re:Rust/WinRT Public Preview by hyperrail on Thursday April 30, 2020 @07:28PM (#23037489)
C++/WinRT and C++/CX are not the same; they are different enough that Microsoft Docs has a whole page explaining how to move from C++/CX to C++/WinRT: https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-a...

In particular only the older C++/CX has ^ pointers or other Microsoft-specific C++ language extensions. C++/WinRT is standard C++.

Writing your code using WRL (Windows Runtime C++ template Library) is good if you want to learn enough about how the Windows Runtime extensions to COM work in order to debug effectively. However, its close relationship to the underlying COM and Windows Runtime APIs also makes it far too verbose to quickly write good API-consuming and -producing code, in my opinion.

Re:Rust/WinRT Public Preview by optimiz3 on Thursday April 30, 2020 @07:44PM (#23037580)
Updated my post - I had forgotten C++/WinRT discarded the ^ syntax as we skipped C++/WinRT for our development as it suffers from many of the same problems of C++/CX.
Re:Rust/WinRT Public Preview by favorited on Thursday April 30, 2020 @08:56PM (#23038063)
> it suffers from many of the same problems of C++/CX

The whole point of C++/WinRT is to be 100% standards-compliant C++. The guy who created it didn't even work at Microsoft at the time.

Re:Rust/WinRT Public Preview by zeroc8 on Friday May 01, 2020 @02:49AM (#23039647)
And now he created the Rust bindings.