Testing the Windows Subsystem for Linux

200 points by jackhammons 8 years ago | 135 comments
  • ape4 8 years ago
    I still have a hard time with bash-backwards name: "Windows Subsystem for Linux". Its a Linux subsystem for Windows.
    • hdhzy 8 years ago
      Yes, but names starting with a trademark are a no-no. See [0] (bitcrazed works on WSL) and [1]. Also IANAL.

      [0]: https://news.ycombinator.com/item?id=13697918

      [1]: https://www.andreas-jung.com/contents/dont-use-docker-in-git...

      • mustpax 8 years ago
        In that case Windows Linux Subsystem seems like a good compromise.
        • criddell 8 years ago
          Shouldn't that be Windows' Linux Subsystem?
          • throwaway91111 8 years ago
            It's never going to happen.

            :(

          • dheera 8 years ago
            How about "Windex"? Oh wait ...
            • squarefoot 8 years ago
              And sometimes even parts of a trademark can be risky. https://en.wikipedia.org/wiki/Linspire
              • Someone1234 8 years ago
                Unclear what you think that proves. Microsoft paid $20m to buy their trademark and they changed their name.
              • greglindahl 8 years ago
                I thought that both "Windows" and "Linux" were trademarks?
                • lmitchell 8 years ago
                  Presumably Microsoft is allowed to use Windows wherever they please ;)
                  • simonh 8 years ago
                    Since they are saying it is 'for Linux' rather than it is Linux, I suppose they are probably ok, although the system doesn't contain or even work with any parts of Linux itself in any way.
                • dragonwriter 8 years ago
                  It's a subsystem of Windows (hence Windows Subsystem). And, among all Windows Subsystems, it's the one for Linux, hence Windows Subsystem for Linux.
                  • EpicEng 8 years ago
                    Yeah it's the 'for' in there that makes it wrong. It's not 'for' Linux, it's for Windows. I know what it is and I _still_ think of it backwards every time I read it.
                    • WorldMaker 8 years ago
                      'for' is heavily overloaded as an English preposition. You are expecting a connotation of "for [the benefit of] Linux" versus the connotation of "for [the purpose of] Linux". Another example in English might be the relative meanings of 'for' in "this gift is for you" versus "this gift is for good behavior".

                      Other languages use multiple words or different cases for some of these situations. English leaves it ambiguous.

                      • yakk0 8 years ago
                        it's the subsystem for running Linux. It's not actually Linux, and after enabling the subsystem you still have to actually get the Ubutntu image. That image is the Linux part.
                      • GhotiFish 8 years ago
                        Windows Subsystem's Not Unix.
                        • greglindahl 8 years ago
                          ... which might fit well with IBM's not quite Unix thing AIX, which acquired the nickname "Ain't unIX".
                        • TillE 8 years ago
                          But that (a subsystem "for Linux") would only be referring to the small compatibility layer for syscalls and stuff, rather than the whole Bash environment which "WSL" typically means.
                          • throwaway91111 8 years ago
                            This explains one interpretation but it doesn't excuse the ambiguity.
                            • PhasmaFelis 8 years ago
                              I have only ever seen "<foo> Subsystem" used to mean a subsystem that does foo, not a subsystem for foo.
                              • yarrel 8 years ago
                                Yes that still doesn't work.
                              • mixmastamyk 8 years ago
                                MS is horrible at naming things, WOW64 anyone?
                                • douche 8 years ago
                                  Or the needless confusion when everything needed to have .NET tacked onto the name.

                                  Or after they bought Skype, and rebranded the unrelated Lync as Skype for Business. Not to mention that Lync is a homophone of LINQ, which was coming out around when Office Communication Server became Lync...

                                  Or lately, when you had Visual Studio 2015, and what is now Visual Studio 2017 being called Visual Studio '15 while it was pre-release.

                                  Naming things is hard.

                                  • cmarschner 8 years ago
                                    I guess it is Visual Studio 15 (as in version 15), and that still holds.
                                • frou_dh 8 years ago

                                          ↑↑↑ 
                                      Bikeshedding
                                          ↓↓↓
                                  • akulbe 8 years ago
                                    It's still the Windows kernel. No Linux kernel here. Just Linux userspace. The name may not sound good, but it's technically accurate. :)
                                    • ragix 8 years ago
                                      Maybe it should be Windows subsystem for GNU
                                      • Zuider 8 years ago
                                        Or 'GNU/NT' if we heed the purists who insist on saying 'GNU/Linux'. Not sure how to pronounce that...
                                    • jcwayne 8 years ago
                                      Maybe "Windows's Subsystem for Linux"?
                                      • tankenmate 8 years ago
                                        Windows is plural so it should be Windows' Subsystem for Linux.
                                    • milcron 8 years ago
                                      Better than "Bash on Ubuntu on Windows".
                                    • gerdesj 8 years ago
                                      Try: "Window's Subsystem for Linux" instead of "Windows Subsystem for Linux" and see if that helps. It's still grammatically shit.

                                      Now who can come up with the justification for an abbreviation of "whine"?

                                      • Old_Thrashbarg 8 years ago
                                        Yes, my first reaction to the title was "Oh, I can run some kind of Windows component on my Ubuntu machine now?".
                                        • ryenus 8 years ago
                                          "Windows Subsystem for Linux", though a confusing name, is still better than "Linux On Windows", because the later would lead to LOW, which is unfortunately very true, in terms of performance, they just don't want you to ever think in that way.

                                          Edit: seriously, I'm just kidding

                                          • stirner 8 years ago
                                            Have you compared benchmarks of any of your programs on native Windows and WSL? I've actually seen better performance on WSL in many cases.
                                            • itomato 8 years ago
                                              Instead we have BOW
                                            • gozur88 8 years ago
                                              Sadly, having a "Windows Subsystem for Linux" is only what they should have done.
                                              • bambax 8 years ago
                                                Yes! It sounds as if they're talking about Wine...
                                                • rodgerd 8 years ago
                                                  Which is why I have a GNU/Windows sticker on my laptop.
                                                  • fellellor 8 years ago
                                                    Then why not Windows's Linux Subsystem?
                                                    • emmelaich 8 years ago
                                                      They could use Windows Linux Subsystem.
                                                      • torrent-of-ions 8 years ago
                                                        Yes. I saw this title and thought "oh, wow, they've now made a Windows Subsystem for Linux!"... Nope, it's the Linux subsystem for Windows.
                                                        • partycoder 8 years ago
                                                          Whatever name is better than "Bash for Windows", the worst possible name and the least tech-savvy way of describing what is going on. A real embarrassment.

                                                          They justify their choice saying they had a survey where the most popular option was Bash for Windows. Well, surveys also led to a boat called Boaty McBoatface...

                                                          • sgift 8 years ago
                                                            > Boaty McBoatface

                                                            A glorious name and a perfect example that surveys are a good idea. So - what's your point?

                                                            • PhasmaFelis 8 years ago
                                                              "<anything at all> for Windows" would at least accurately express what operating system it runs on. "<foo> for Linux" on a program that is not for Linux is just awful.
                                                          • pixelbeat__ 8 years ago
                                                            The GNU coreutils test suite would be interesting to run as it tests most syscalls in various edge cases.

                                                            Some details at http://www.pixelbeat.org/docs/coreutils-testing.html

                                                            • Analemma_ 8 years ago
                                                              Using the unit tests of other Linux software to be your own compatibility test is delightful. It almost feels a little subversive.
                                                              • rl3 8 years ago
                                                                >In these cases, the WSL team covers test gaps by writing our own unit tests. At time of writing the team has written over 150,000 lines of unit test code for systems calls and virtual files (/proc, /sys).

                                                                I wonder why they went that route instead of contributing to LTP directly?

                                                                While there's probably some edge cases specific to WSL, surely much of their increased unit test coverage would be applicable beyond WSL.

                                                                • jackhammons 8 years ago
                                                                  We maintain a fork of LTP internally. Eventually we hope to contribute our changes back but unfortunately open sourcing isn't free and we have bigger fish to fry[1].

                                                                  [1] https://wpdev.uservoice.com/forums/266908-command-prompt-con...

                                                                  • rl3 8 years ago
                                                                    That's understandable. Thanks for the reply.

                                                                    Out of curiosity, is progress on WSL bound by any blocking issues in particular, or could your team benefit from more resources being assigned to the project?

                                                                    Maybe I'm naïve, but I tend to view WSL as a perfect way to win over a ton of developers who are becoming disillusioned with macOS, but are hesitant to run bare metal Linux due to the headaches involved (insofar that macOS and Windows "just work").

                                                              • codebook 8 years ago
                                                                I gave up WSL after experiencing significant performance drop on GHC, Stackage. It was less than 1/10th of native for compiling Haskell code.
                                                                • ulber 8 years ago
                                                                  Here's the issue on GitHub if you'd like to track it: https://github.com/Microsoft/BashOnWindows/issues/1671

                                                                  benhills describes the cause:

                                                                  For some context, I've looked at what causes this slowdown. For some reason stack has mapped an mind-bogglingly huge region of memory (I'm talking dozens of terabytes). When we fork we walk the entire address range to set up the new process's state. We have a design that should vastly speed this up, but we're approaching "pencils down" date for Creators Update.

                                                                  • codebook 8 years ago
                                                                    Thanks for the info!. I will try again.
                                                                    • hornetblack 8 years ago
                                                                      For some context: amd64 has 256TiB of address space. So 1 dozen is half a percent of what seems like a mind boggling amount of address space.
                                                                    • 8 years ago
                                                                    • nrki 8 years ago
                                                                      Recently tried to use WSL to do some pair-coding tests in an interview, with screen & tmux.

                                                                      The damned terminal kept making characters disappear! I actually thought my interviewer was inadvertently deleting characters, or maybe trolling me.

                                                                      I had to switch to using an actual Linux system.

                                                                      MS have a ways to go before getting this right. I daresay I'll be on OSX by the time that happens though.

                                                                    • Clownshoesms 8 years ago
                                                                      Is there telemetry built into this too? I'd worry about ssh logins being logged for diagnostic and privacy journey purposes.
                                                                      • LinuxFreedom 8 years ago
                                                                        You will see ads on your command prompt from time to time and the bash completion will contain "sensible recommendations" based on your general behavior, psychological state and political orientation.

                                                                        Now that everything was published they also plan to pre-install the diverse arsenal of hacking tools on every machine, as there is no reason now anymore to hide that stuff - what will make the fight for freedom much easier for everyone involved!

                                                                        To support your patriotism there will now be a personal statement of all past MS CEOs showing up on startup and the national anthem playing to support your emotions.

                                                                        Also from time to time a screensaver will show the sentence "Everybody adores you, because you belong to a global hacker elite using the Windows operating system in 2017! Ignore that laughter around you!"

                                                                        • UweSchmidt 8 years ago
                                                                          Last part of your post is a bit wild, but you got me at the start.
                                                                      • youdontknowtho 8 years ago
                                                                        I think that the "pico process" + kernel driver model that they are using could be leveraged to build a new operating system on the windows kernel. That would give you a base for a new OS that can reuse the Windows Device Driver infrastructure.
                                                                        • synle 8 years ago
                                                                          Although I love their work, unfortunately the terminal (window cmd bash) is horrible. Copy and Paste is a pain, doing panel splits are impossible unless you use tools like tmux.

                                                                          I would love to see terminator or a more advanced terminal.

                                                                          • gillette 8 years ago
                                                                            I've been using ConEmu set up to auto launch Bash. Working pretty well apart from MS's ass-backwards resolv.conf population which overrides every Ubuntu mechanism for creating the file... so I have to run a script to get my VPN's DNS to work :)
                                                                          • Zyst 8 years ago
                                                                            Is anyone here using this for *Nix traditional tools?

                                                                            Mostly curious about Vim/Tmux, and having serve operations spit out the server into the actual Windows browser?

                                                                            I did read something about the creator update adding 24 color support.

                                                                            • repsilat 8 years ago
                                                                              I use vim in it when I code on my home computer, haven't had any problems. I haven't tried tmux, but I think that'd be fine too.

                                                                              I'm less sure about things that require a GUI, and last time I tried postgres it didn't work. That was a while ago, though, and they might have made progress since. TFA says the postgres tests are passing.

                                                                              • quanticle 8 years ago
                                                                                Things that require a GUI require you to have a separate X server running. WSL, as far as I know, does not support running X11. However, if you do have a Windows native X11 server running (like xming, for example) things like emacs and gvim seem to work. I haven't tried anything more intensive than those, though.
                                                                                • daenney 8 years ago
                                                                                  > Things that require a GUI require you to have a separate X server running. WSL, as far as I know, does not support running X11.

                                                                                  They mention X/GUI support in the "What's new in Bash/WSL" article[1].

                                                                                  > Note: Some of you may also have been following along with some intrepid explorations into running X/GUI apps and desktops on WSL. While we don’t explicitly support X/GUI apps/desktops on WSL, we don’t do anything to block/prevent them from running. So if you manage to get your favorite editor, desktop, browser, etc. running, GREAT but know that we are still focusing all our efforts on delivering a really solid command-line experience, running all the command-line developer tools you need.

                                                                                  [1]: https://blogs.msdn.microsoft.com/commandline/2017/04/11/wind...

                                                                                  • 112233 8 years ago
                                                                                    youtube in firefox played ok.
                                                                                • DavidTWco 8 years ago
                                                                                  I work in Vim and tmux in WSL all the time and it works great for me. In fact, the only tool I've found that doesn't work (on the latest slow ring) is vim-plug.

                                                                                  > having serve operations spit out the server into the actual Windows browser?

                                                                                  I'm unsure exactly what you mean. But you can absolutely run web servers in WSL and connect to them from any browser running on Windows.

                                                                                  In my experience, you can connect to any network services running on Windows from Linux (for example, I connect to the Docker for Windows daemon) and vice versa.

                                                                                  • camtarn 8 years ago
                                                                                    Yep - Vim, working on python code. It's pretty darn good. The terminal occasionally gets confused when you're popping in and out of an alternate-screen app (less or vim) and leaves the bottom line of the alt screen behind - but this can be fixed by hitting ctrl-L. Also the terminal occasionally seems to report the wrong size and vim pops up only using some of the available space - again, suspend vim, ctrl-L, unsuspend, done.
                                                                                    • adventist 8 years ago
                                                                                      VIM + TMUX works awesome for me!
                                                                                    • skynode 8 years ago
                                                                                      Can we get the new, improved subsystem without having to go through the Win10 Creator's Update?
                                                                                      • miguelrochefort 8 years ago
                                                                                        Why not go through Windows 10 Creator's Update?
                                                                                        • skynode 8 years ago
                                                                                          Apart from the new .NET Framework 4.7 and a few minor others, a bunch of features (e.g. Paint 3D) are not necessarily targeted towards advanced users. It would make sense to fragment some key modules we use as devs and make those available piecemeal without bundling features we'll probably never use with great features like WSL and the new Windows console. Essentially MS could give options just like it gives options about what to install on VS 2017 (for advanced users of course, regular users can have the default CU install mode).
                                                                                      • 2muchcoffeeman 8 years ago
                                                                                        Does anyone use this for work? Could I replace Ubuntu with Windows now?
                                                                                        • SwellJoe 8 years ago
                                                                                          I used it for a while, when Fedora 24 refused to work reliably on my 4k laptop (it worked under 23, and now works again under 25). It was OK. I mean, it's an amazing feat of engineering, but there's a ton of little (and not so little) quirks that made it painful.

                                                                                          Sharing files across the two systems was (maybe still is?) disastrous. I've heard of total Linux system corruption, but I personally had files disappear (they were checked into a remote git repo, so no loss, except for recent changes). It's covered in the docs, but I didn't grok what they were saying and the real gravity of it. Since I was using Windows native Atom for my editor, this was cumbersome.

                                                                                          But, most things work about how you'd expect them to. I was able to install the software I work on (which runs as root, and pokes at everything on the system), and it worked as I expected it to. I didn't even have to tweak it.

                                                                                          I'm still more comfortable and productive in Linux, so I'm happy to have my Linux partition running well again. I also prefer Fedora to Ubuntu, so that's a win for running Linux natively. But, if I liked developing in, say, Visual Studio, and was deploying my software to Linux servers or working on cross-platform desktop apps, having the local Linux would be a big win. Even with the forced separation of filesystems, it's still more transparent than a Vagrant managed VirtualBox, or something.

                                                                                          Also worth noting: Windows is remarkably better as a development environment than the last time I had to develop on a Windows machine (about 10 years ago, one of my jobs included building cross-platform software packages). The quality of tools available is very high. There are good terminals, all of the languages I use have good installers available. Even if Linux weren't there, it's much less painful to develop on Windows than it used to be. (Still painful, and I still had a huge variety of headaches, mostly due to absolutely shitty package management on Windows.)

                                                                                          • mkl 8 years ago
                                                                                            > Sharing files across the two systems was (maybe still is?) disastrous.

                                                                                            I don't think this has ever been true. Just don't jump through the hoops it takes to modify Linux system files from Windows - that stuff is hidden from Windows apps for good reason.

                                                                                            If you need to access files from both, store them in a normal Windows place like "/mnt/c/...". E.g. in my WSL home directory I have symlinks to my Windows Documents, Downloads, Development, etc. folders. I constantly operate on the same files from both OSes simultaneously, and it's fine.

                                                                                            • SwellJoe 8 years ago
                                                                                              I didn't really "jump through hoops". I just did what I would do on Linux...I searched for the Linux files. Found the Linux files. Started working with the Linux files. Turns out, that's a bad idea. Files disappeared.

                                                                                              I've seen numerous reports of other folks entire Linux filesystem being corrupted beyond use. So, I'm not alone in doing this...and (at the time) the docs had a single (non-threatening) sentence about it, when I went back to see if maybe I'd missed something. It basically said something along the lines of "this doesn't work", rather than "this will destroy your files".

                                                                                              It's not a big deal. It was bleeding edge stuff when I started playing with it; things go wrong, and I expect things to go wrong when I'm on the bleeding edge. I like where they're going.

                                                                                              But, it's a thing to be aware of. I wasn't aware of it, based on the docs I read on the subject, so I mentioned it, just in case someone else might not be aware of it.

                                                                                              The thing is, I'm not a Windows user; things that may seem obvious to a Windows user (like, "those files aren't obviously visible for a reason and that reason is don't touch them!") are not always obvious to me.

                                                                                              Then again, you're not the first person to say the files are "hidden"; but I was able to find them, probably using the "find" command in the git or cygwin bash shell, or something (I dunno what else I'd use to find them), but maybe using system search. I don't remember...it wasn't a momentous occasion. I just wanted to edit some files in Atom, so I went and found the files I wanted to edit, using some tool on the system. Again, I don't know Windows. If the state of these files was somehow telling me not to touch them, I did not pick up that signal.

                                                                                            • dingo_bat 8 years ago
                                                                                              > There are good terminals

                                                                                              Can you name some good ones? I am sick of putty/cygwin :(

                                                                                              • SwellJoe 8 years ago
                                                                                                ConEmu and Cmder are the ones that get recommended the most, I think. I used ConEmu because it was the first good one I found. It worked pretty good. I like Gnome Terminal better, still, mostly due to the lack of chaos. Those Windows terminals hook into all of the shells...so, my ConEmu had a huge menu of available shells when creating a new one: a bunch of PowerShells (32/64 bit, admin/user), and bunch of Cmd.exe (32/64, admin/user), and a bunch of bash shells (git bash, WSL bash, Cygwin bash). Just a crazy amount of complexity.

                                                                                                It was configurable...but, sometimes I needed one of those other shells to get something done. So, I left them alone.

                                                                                                • boylan 8 years ago
                                                                                                  Yeah, http://cmder.net/ - packages ConEmu and clink so your terminal is somewhat the same when in Windows or if you have a tab open with WSL.
                                                                                              • samdk 8 years ago
                                                                                                I use it on my laptop and am generally very happy with it, although I don't do all that much technical work there and certainly wouldn't want it to replace my primary workstation. (I'd be dearly sad if I had to give up xmonad.)

                                                                                                But it's made my laptop a far more pleasant place to get work done if I need to do so, and generally works far better than I was expecting it would. I no longer feel compelled to run a VM on my laptop to get real work done.

                                                                                                • ac29 8 years ago
                                                                                                  That's a bit loaded, but I'll attempt to answer seriously:

                                                                                                  Can you replace Ubuntu? Maybe, if you are OK with 14.04 LTS level support. Certain simple things straight up don't work -- you can't send a ping without an admin level windows shell (sudo wont do it either). You also won't magically get driver support for hardware that works in Linux, but not Windows (if you think this isn't a thing, try plugging in a random USB-to-something adapter without finding obscure, broken, or nonexistant drivers on Windows). If you just need access to some tools that only run on Linux, I've found WSL invaluable, so long as those tools are available on Ubuntu 14.04.

                                                                                                  Can you replace Linux in general? Nope - I'm a 90+% Linux user for work and home, and neither Debian, Ubuntu, or its derivatives work for me, with the notable exception of some server and embedded applications. If you want a wide variety of up-to-date software, there is no replacement for something like Arch.

                                                                                                  • danieldk 8 years ago
                                                                                                    Can you replace Ubuntu? Maybe, if you are OK with 14.04 LTS level support.

                                                                                                    The latest Creators update uses 16.04 LTS.

                                                                                                    you can't send a ping without an admin level windows shell

                                                                                                    The latest Creators update supports ping as a non-admin.

                                                                                                    ---

                                                                                                    I would say that for most usages it is a good replacement for vanilla Ubuntu. Microsoft is quickly closing the gaps in support. Most stuff simply works (albeit disk filesystem I/O is still a bit slow). For instance, I used it to compile packages for Ubuntu 16.04 and upload it to a PPA without much trouble. At the time the only change I had to make was using fakeroot-tcp rather than regular fakeroot. But maybe that is fixed now.

                                                                                                    It is especially useful if you like to work in a Unix, but also need Microsoft Office, Adobe Creative Suite, or other applications that are not available on Linux.

                                                                                                    • ac29 8 years ago
                                                                                                      > The latest Creators update uses 16.04 LTS.

                                                                                                      I did know that, but the update only came out today AFAIK, and is being slow-rolled out (I checked all my Windows machines today, none updated). People with enterprise/business versions of Windows with "Defer feature upgrades" aka "Current branch for Business" enabled also wont get it for a while. I know how to force the update, but forcing Windows updates is something I've learned better than to do.

                                                                                                      As an aside, I would highly reccomend WSL users check out wsltty[0]. Gives a better terminal than Windows' built-in 'cmd', with options to open other shells like fish/zsh/etc in arbitrary directories.

                                                                                                      [0]https://github.com/mintty/wsltty

                                                                                                    • 2muchcoffeeman 8 years ago
                                                                                                      >That's a bit loaded, but I'll attempt to answer seriously:

                                                                                                      Fair enough. I specifically mean, can I replace Ubuntu for development work?

                                                                                                      Can I use apt-get to install various tools? Does docker work better? That sort of stuff.

                                                                                                    • 2bitencryption 8 years ago
                                                                                                      WSL is now on 16.04, not 14.04 anymore.
                                                                                                    • LinuxFreedom 8 years ago
                                                                                                      No, absolutely not. There are major technical limitations, but the biggest "soft feature" you will never get on Windows is FREEDOM.
                                                                                                    • radarsat1 8 years ago
                                                                                                      I like the idea of the Linux Test Project. Neat.

                                                                                                      I'm curious, does the WSL actually use any parts of Linux under the hood, or is it just an emulation of the user space, like Cygwin?

                                                                                                      • abrowne 8 years ago
                                                                                                        It uses a Linux-compatible kernel interface with no Linux kernel code plus Ubuntu's userland. I guess that's why they sometimes call it Bash on Windows. I'm surprised no one's proposed "Windows Subsystem for GNU".
                                                                                                        • azinman2 8 years ago
                                                                                                          Because the main bit is translating Linux syscalls to windows. Which isn't gnu.
                                                                                                          • cryptarch 8 years ago
                                                                                                            Isn't the main use of WSL "first-class GNU tools for Windows"?

                                                                                                            I can't really imagine people running anything other than development tools on WSL, and most of those come from the GNU project.

                                                                                                        • bitwize 8 years ago
                                                                                                          Nope.

                                                                                                          It traps the software interrupt which initiates a system call under Linux and the Windows kernel takes over, emulating that system call.

                                                                                                          • 8 years ago
                                                                                                          • 8 years ago
                                                                                                            • cryptarch 8 years ago
                                                                                                              I'd just like to interject for moment. What you're refering to as WSL, is in fact, GNU/NT, or as I've recently taken to calling it, GNU plus NT. NT is not an operating system unto itself, but rather a non-free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

                                                                                                              Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, a version of GNU which is widely used today is often called WSL, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

                                                                                                              There really is an NT, and these people are using it, but it is just a part of the system they use. NT is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. WSL is normally used in combination with the GNU operating system: the whole system is basically GNU with NT added, or GNU/NT. Windows 10, the so-called NT distribution, is really a distribution of GNU/NT!

                                                                                                              (Sorry for the copypasta, I couldn't resist.)

                                                                                                              • kelnos 8 years ago
                                                                                                                The interesting bit of WSL (what the article talks about) is a Linux syscall translation/emulation layer, as well as ELF64 binary support (not specific to Linux, but not specific to GNU either). You can certainly install the Linux versions/ports of GNU tools and run them under WSL, and that's what the stock setup looks like, but an important component of WSL is about emulating a Linux (the kernel) environment.

                                                                                                                If MS had actually ported the GNU base system to NT, then you could reasonably call it GNU/NT. They have not done that.

                                                                                                                • cryptarch 8 years ago
                                                                                                                  I think it is more significant from a user's perspective that they get the GNU tools to run on their NT machine with MS support.

                                                                                                                  What's the use of Linux syscall -> NT syscall translation if not compatibility with developer tools, most of which are GNU software?

                                                                                                                  • skrause 8 years ago
                                                                                                                    So you were actually serious? I thought your first post was great satire. Poe's law strikes again...
                                                                                                                    • skrebbel 8 years ago
                                                                                                                      > developer tools, most of which are GNU software?

                                                                                                                      such as python, nodejs, elixir and PHP?

                                                                                                                  • mikegerwitz 8 years ago
                                                                                                                    In all seriousness (your message could be in favor of, hostile to, or neutral toward GNU; I can't be sure), I got rms' opinion on all of this in April of last year and wrote about it:

                                                                                                                    https://mikegerwitz.com/2016/04/GNU-kWindows

                                                                                                                    (He proofread, and I made suggested changes.)

                                                                                                                    • cryptarch 8 years ago
                                                                                                                      I feel like I've read that before.

                                                                                                                      I'm a supporter of the GNU project but I'm very ambivalent about its communication strategy. I posted this because I think it's as true for GNU/NT as it is for Ubuntu, which is... technically true, but hard to talk about without sounding off-putting.

                                                                                                                  • partycoder 8 years ago
                                                                                                                    As a Linux user, MS Windows Subsystem for Linux is as interesting as Microsoft Bob.

                                                                                                                    Microsoft cannot say it loves Linux until they launch their flagship products such as MS Office and MS Visual Studio on Linux. Until then, it's all fugazzi.

                                                                                                                    MS SQL Server on Linux was good progress.

                                                                                                                    • seiferteric 8 years ago
                                                                                                                      Wake me when MS offers Linux subsystem for Windows (basically commercial WINE). From what I have read, MS is not actually that interested in improving the Windows kernel anymore unless needed or profitable. Why don't they give up and run windows user space on Linux (or BSD) :)
                                                                                                                      • runjake 8 years ago
                                                                                                                        You've "read" wrong. The NT kernel has seen major changes up through and including W10, including focusing on power management and efficiency, improving modularity, and memory use.

                                                                                                                        It seems like your comment was meant to troll, but in the odd chance you're interested, you can follow a lot of these changes and the decisions behind them where Microsoft documented the process on the old Engineering Windows blog, and well as more recently at the main Windows blog itself.

                                                                                                                        • bjg 8 years ago
                                                                                                                          • cmrdporcupine 8 years ago
                                                                                                                            That's exactly backwards. They're doing a reasonable but very late job of modernizing their user space on top of their quite decent kernel, including giving a Linux environment for those that want it. I for one respect them for that, even though I've been almost exclusively a Linux user since the early 90s. Lately installed Windows 10 and TBH between powershell and improved command line facilities, improvements to the windows GUI itself, and the linux subsystem it's not bad at all these days.
                                                                                                                            • meddlepal 8 years ago
                                                                                                                              Why would they do that? NT is a very good kernel design.
                                                                                                                              • JdeBP 8 years ago
                                                                                                                                And, moreover, the ability to run multiple operating system "personalities" on top of it like this was part of that design pretty much from the start.
                                                                                                                                • Vogtinator 8 years ago
                                                                                                                                  Linux had that as well until it was castrated a while ago. It was called "exec_domains".
                                                                                                                              • 8 years ago