News for hackers. Stuff that matters.
Re:Rust/WinRT Brings Microsoft Closer to Adopting Rust Inter... by smt88 on Sunday May 17, 2020 @08:26PM (#23216879)
Just to be clear, you think that adding support for another language is Microsoft's attempt to constrain Win32 developers?
Re:Rust/WinRT Brings Microsoft Closer to Adopting Rust Inter... by FpUser on Sunday May 17, 2020 @10:00PM (#23217411)
I am asking you not to distort a context. That is not what I said. But just in case let me repeat it: Microsoft was for years and still is trying to move people from Win32 to a more constrained platform by using various means.
Re:Rust/WinRT Brings Microsoft Closer to Adopting Rust Inter... by roblabla on Sunday May 17, 2020 @10:31PM (#23217613)
You're thinking of UWP apps, which used to only allow winrt APIs, though nowadays UWP app can also access most of win32 APIs as well. UWP is more about the distribution model than the APIs (apps must be signed, are usually installed through the store, etc...)

The winrt APIs can be used from traditional desktop apps just fine, and mixed with win32 from within the same executable. They don't constrain anything. UWP, however...

Re:Rust/WinRT Brings Microsoft Closer to Adopting Rust Inter... by FpUser on Monday May 18, 2020 @01:21AM (#23218654)
"UWP app can also access most of win32 APIs as well"

Most and all are 2 different things. I've discovered limits immediately after investigating possibility of porting one of my apps.

The winrt APIs can be used from traditional desktop apps just fine

WinRT based applications run in sandbox and have their own limits.

None of what you say has any relation to my original POV.

Re:Rust/WinRT Brings Microsoft Closer to Adopting Rust Inter... by roblabla on Monday May 18, 2020 @06:52AM (#23220795)
UWP apps run in a sandbox and have their own limits, e.g. most win32 api access requires special entitlements to work. WinRT is just a set of COM-based APIs, they don't inherently have any restrictioms on where or how they can be used.