News for hackers. Stuff that matters.
Re:Rust for Windows 0.9 by turbinerneiter on Saturday May 08, 2021 @05:20AM (#27085364)
I feel like MS naming convention are flipped on the head.

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.

Re:Rust for Windows 0.9 by signal11 on Saturday May 08, 2021 @06:42AM (#27085832)
The way to parse WSL is that it's a <Windows (NT) Subsystem> for Linux.

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...

Re:Rust for Windows 0.9 by antibuddy on Saturday May 08, 2021 @08:45AM (#27086643)
> The way to parse WSL is that it's a <Windows (NT) Subsystem> for Linux.

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.

Re:Rust for Windows 0.9 by harles on Saturday May 08, 2021 @10:45AM (#27087573)
I think rearranging those words in almost any other order would’ve been superior: WLS, LSW, LWS
Re:Rust for Windows 0.9 by vbezhenar on Saturday May 08, 2021 @10:58AM (#27087706)
And the fun part is that since WSL 2 it's no longer a Windows Subsystem, but just a Linux kernel in VM with some nice integrations with host Windows OS.
Re:Rust for Windows 0.9 by skohan on Saturday May 08, 2021 @07:16AM (#27086054)
And how are you supposed to parse the rust library?
Re:Rust for Windows 0.9 by moron4hire on Saturday May 08, 2021 @12:36PM (#27088623)
A Rust Binding for WinAPI
Re:Rust for Windows 0.9 by skohan on Saturday May 08, 2021 @12:43PM (#27088696)
That doesn't even contain "Rust for Windows"
Re:Rust for Windows 0.9 by uranusjr on Saturday May 08, 2021 @12:57PM (#27088830)
Shirley you realise WinAPI is officially named the Windows API?
Re:Rust for Windows 0.9 by skohan on Saturday May 08, 2021 @04:19PM (#27090330)
Yeah but MS could actually call this library what it is, not leave it to multiple levels of inference.

And don't call me Shirley!

Re:Rust for Windows 0.9 by gpm on Saturday May 08, 2021 @08:38AM (#27086601)
<A Rust Library> for Windows
Re:Rust for Windows 0.9 by remram on Saturday May 08, 2021 @12:28PM (#27088551)
That still sounds like it's a Rust library you get to use on Windows, not a library of Windows functions to use from Rust.
Re:Rust for Windows 0.9 by skohan on Saturday May 08, 2021 @05:32AM (#27085423)
Maybe it's cynical, but I wonder if it's a PR/imaging move. When you read these kind of names, it seems like the Linux/Rust community is embracing and supporting Windows, while really it's the reverse.
Re:Rust for Windows 0.9 by loa_in_ on Saturday May 08, 2021 @06:45AM (#27085852)
I don't think it's cynical at all, and is probably both. I guess in all big companies PR/marketing teams chime in to all public facing projects
Re:Rust for Windows 0.9 by mcny on Saturday May 08, 2021 @07:09AM (#27086008)
I think you are right. If I remember correctly, someone on the typescript team said they have no control over version numbers. PR/marketing decides what is version 4.0 vs 3.11.
Re:Rust for Windows 0.9 by Vinnl on Saturday May 08, 2021 @08:30AM (#27086548)
I don't think that's strictly true: https://twitter.com/drosenwasser/status/1098748330765619200

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.

Re:Rust for Windows 0.9 by contextfree on Saturday May 08, 2021 @01:08PM (#27088923)
It was Rust/WinRT, then they added support for other kinds of Windows APIs alongside the WinRT support. Someone probably thought Rust/Windows looked weird, so, Rust for Windows.

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)

Re:Rust for Windows 0.9 by shp0ngle on Saturday May 08, 2021 @06:21AM (#27085711)
At least they didn’t name it Azure Rust, Rust Live, Rust.net or Rust 365 :)
Re:Rust for Windows 0.9 by dvfjsdhgfv on Saturday May 08, 2021 @01:19PM (#27089022)
I'm pretty certain some of these names will appear sooner or later.
Re:Rust for Windows 0.9 by mrlonglong on Saturday May 08, 2021 @08:23AM (#27086496)
Rusty Windows ftw
Re:Rust for Windows 0.9 by barbarbar on Sunday May 09, 2021 @02:02AM (#27093622)
Or Windows with Rust?
Re:Rust for Windows 0.9 by pjc50 on Saturday May 08, 2021 @05:44AM (#27085499)
Microsoft naming is incomprehensible sometimes. Doing a .net framework -> dotnet core transition at the moment has really exposed me to a lot of this.
Re:Rust for Windows 0.9 by xbar on Saturday May 08, 2021 @11:39AM (#27088102)
I find Microsoft naming is always suspicious.

"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."

Re:Rust for Windows 0.9 by arwhatever on Saturday May 08, 2021 @12:20PM (#27088487)
New Microsoft project name idea: Microsoft Namespace
Re:Rust for Windows 0.9 by ZuLuuuuuu on Saturday May 08, 2021 @10:10AM (#27087274)
A good usage example for a similar naming is "Qt for Python" which is the name of Python bindings of Qt framework.

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.

Re:Rust for Windows 0.9 by worble on Saturday May 08, 2021 @06:09AM (#27085645)
When it was Windows Subsystem for Linux, I assumed marketing dictated "No no, the word Windows MUST be the first word."

This one just seems deliberately confusing for no reason.

Re:Rust for Windows 0.9 by oaiey on Saturday May 08, 2021 @08:15AM (#27086438)
Mentioned somewhere else: Windows NT has subsystems. E.g. posix, os2, win32, ... What they do is adding a subsystem to windows. The module they code is the subsystem not the distribution. Nowadays it is a bit blurry die to the full kernel and this windowing subsystem.
Re:Rust for Windows 0.9 by bitwize on Saturday May 08, 2021 @09:23AM (#27086912)
AFAIK it was their legal department, who advised them that calling it a "Linux Subsystem" may run afoul of the Linux trademark, especially considering that in WSL1, Linux itself was not involved at all.
Re:Rust for Windows 0.9 by kaetemi on Saturday May 08, 2021 @12:23PM (#27088502)
Correct. It's a trademark law issue. In the same way that you can develop a "Chess for Windows" but not a "Windows Chess". Using "for X" is fair use.
Re:Rust for Windows 0.9 by losvedir on Saturday May 08, 2021 @02:25PM (#27089554)
You say "correct" but you're directly contradicting the parent's point, since with your argument the easily and correctly parsed 'Linux Subsystem "for Windows"' would not run afoul of any trademarks.
Re:Rust for Windows 0.9 by bitwize on Saturday May 08, 2021 @05:51PM (#27091080)
Remember -- the name "Linux" is trademarked. Microsoft is free to call something Windows X since they own the Windows trademark, but they can't call something Linux X because they don't own the Linux trademark. But they can call something X for Linux the same way a third party can call something X for Windows. Hence, Windows Subsystem for Linux. It sounds dumb, but that's the legal rationale.
Re:Rust for Windows 0.9 by mastax on Saturday May 08, 2021 @02:12PM (#27089449)
Similarly, the unofficial Reddit apps had to rename from e.g. "Reddit Sync" to "Sync for Reddit".
Re:Rust for Windows 0.9 by MereInterest on Saturday May 08, 2021 @12:44PM (#27088713)
But even in your example, it shows how bad of a name WSL is. "Chess for Windows" implies that there is a chess program that runs on windows. By analogy, "Windows Subsystem for Linux" implies that there is a Windows Subsystem that can run on Linux.
Re:Rust for Windows 0.9 by rasz on Saturday May 08, 2021 @06:07AM (#27085627)
and windows 0.9? Cmon, not even full 1.0? https://en.wikipedia.org/wiki/Windows_1.0
Re:Rust for Windows 0.9 by dmytrish on Saturday May 08, 2021 @06:38AM (#27085803)
Yes, this is more of a "Rust rof Windows" thing.
Re:Rust for Windows 0.9 by guerrilla on Saturday May 08, 2021 @10:03AM (#27087217)
Thank you. I was wondering why someone resurrected Windows 0.9 (was that even a thing?) and why in the hell someone would port Rust to it.
Re:Rust for Windows 0.9 by Boulth6 on Saturday May 08, 2021 @06:06AM (#27085620)
This is mostly for legal reasons and the "for X" where X is a trademark is a common theme. (just look at Google Play store "for Twitter" or "for Reddit").

Looks and sounds weird though!

Re:Rust for Windows 0.9 by dataflow on Saturday May 08, 2021 @06:08AM (#27085634)
They use that excuse but it doesn't explain the fact that they had alternatives like "the Windows Linux Subsystem" or "the Windows Rust library"...
Re:Rust for Windows 0.9 by skohan on Saturday May 08, 2021 @07:14AM (#27086041)
Even "Rust Library for Windows" (or why not just "Rust Windows API Library") would be more clear.
Re:Rust for Windows 0.9 by dataflow on Saturday May 08, 2021 @08:22AM (#27086492)
I think the legal issue was that you don't want to start with a trademark name since it suggests endorsement/support from that party.
Re:Rust for Windows 0.9 by skohan on Saturday May 08, 2021 @08:51AM (#27086695)
Doesn't "Rust for Windows" start with a trademark name?
Re:Rust for Windows 0.9 by dataflow on Saturday May 08, 2021 @03:01PM (#27089811)
Yeah I don't know how they got away with that!
Re:Rust for Windows 0.9 by lostmsu on Saturday May 08, 2021 @12:47PM (#27088742)
I think Microsoft played all of us with this name. The confusion is there intentionally for developers to argue about, therefore generating marketing material for free.
Re:Rust for Windows 0.9 by 29athrowaway on Saturday May 08, 2021 @06:08AM (#27085635)
That's exactly what I thought.

It should be Windows support for Rust and not the other way around.

Re:Rust for Windows 0.9 by Iv on Saturday May 08, 2021 @12:56PM (#27088822)
Microsoft sucks at many things. Naming things in a descriptive way is one of them.