Rust for Windows 0.9
blogs.windows.com
blogs.windows.com
Rust for Windows -> a version of Rust for Windows? Windows Library for Rust -> a library for Rust that allows to interface with Windows APIs
Same with Windows Subsystem for Linux. It's a Linux system for Windows.
But hey, that's just names. Nice for win-devs to get more languages supported.
As far as major versions go, AFAIK they just bump the mayor version every ten minor versions, of which they release a new one every 3 (?) months.
"Let's deliberately choose a name for a thing that could be confused for a different thing. [some amount of time and nefarious activity later, and with false innocence] Oh, we've always called it that, so you can't have that namespace even though you think it should belong to that technology that predates our suspicious name with which we encroached on non-Microsoft technology."
Looks and sounds weird though!
It should be Windows support for Rust and not the other way around.
This one just seems deliberately confusing for no reason.
Windows NT had environment subsystems as a key part of its architecture, with subsystems for POSIX and OS/2, originally[1], and even Win32 was conceptually a subsystem for NT, albeit a very important one.
[1] https://en.wikipedia.org/wiki/Architecture_of_Windows_NT#/me...
And don't call me Shirley!
For me that still parses wrong on first try. I mean I can make sense of it, because I already know how it is meant, however for me the most obvious assumption is, that it is for the given host and that host is Windows, not Linux. So Linux (compatibility) subsystem for Windows would make more sense to me.
I literally didn't understand what "Rust for Windows" meant, I needed to read the blog post to understand what it is, which is a Rust library to use Windows API from Rust.
Rust/WinRT was called that because it was patterned after C++/WinRT, which was called that because it was a replacement for or alternative to C++/CX, which was called that because it was an analog to C++/CLI. C++/CX and C++/CLI are language extensions/forks, while C++/WinRT and Rust/WinRT are just libraries (and tools).
(I always thought C++/WinRT was a bad choice of name for this reason)
Rust for Windows already exists. This is a Windows SDK for Rust.
Windows Subsystem for Linux is Linux subsystem for Windows.
Is this some usage of the "for" word that I'm not getting? I'm a non-native English speaker so I could be at fault here.
But I agree, the naming is very confusing.
Not having to dig up COM UUIDs for interfaces is super nice. The lead developer of com-rs told me that com-rs is deprecated in favor of windows-rs (he works on both.)
The bindings to set it up gave hard to debug errors and there is no support for compiling the x86_64-pc-windows-gnu toolchain on anything else besides a windows system; Which makes sense but winapi-rs compiled on Linux so I stuck with it. I don't want to manage another build machine and I know I'm probably like the one guy.
Working with strings was a bit rough too, it'd be nice if you could just pass a CStr and call it a day instead of messing with buffers and lengths and double function calls, one to get size of the string and then another to fill the actual buffer. I know this is how Win32 works, but it doesn't feel natural coming from Linux Kernel Dev.
Regardless of my criticisms, I am excited to see the future of this crate. I think it's an awesome effort and a great addition to Rust and Windows.
It is not Apple, is made by Mozilla as part of their Servo browser project. But is probably the best we'll have. Apple stopped playing the "open" game long ago, even before MS started it.
Really, ageing MFC feels more productive.
I don't know, maybe at BUILD 2021 they will announce something, there is always hope.
[1]https://aws.amazon.com/de/blogs/developer/a-new-aws-sdk-for-...
[0]: https://docs.microsoft.com/en-us/windows/dev-environment/rus...