1. 21
  1.  

  2. 7

    “Bash on Ubuntu on Windows” always struck me as the most obtuse name. Really it’s more like GNU/NT.

    It’s great to see improvements, but as this article points out the subsystem is still rough around the edges. For now, MSYS2 is a better GNU on Windows experience.

    1. 3

      If you’re going to argue naming, isn’t Linux/NT more accurate? It’s not implementing the userland, it’s implementing the syscalls so that the userland can run, which is the linux kernel piece.

      1. 1

        That’s a fair point.

      2. 1

        I still think Interix was the better design, but WSL is getting fixed up quite nicely.

      3. 6

        This seems like a really smart direction to move in. Apple is a phone company now and OSX has been nothing but a platform to run Linux in a VM for a while, so if you can get the same level of OS hardware support with a reasonably robust Linux userland then it suddenly becomes very tempting to switch.

        1. 1

          Lol wut. What software do you use that only runs on Linux and not MacOS? I can think of docker, and that’s about it. And I mean software without good alternatives that really actually ties you to Linux.

          Your statement is clearly bullshit if you unpack it at all: a platform only to run a Linux VM? Then why isn’t it more popular for people to run Windows machines with Linux VMs if Macs are just overpriced VirtualBox installs? Because MacOS still adds value, obviously.

          1. 8

            https://en.wikipedia.org/wiki/Principle_of_charity

            I think it’s safe to interpret @kaiju’s comments as applying to themselves rather than universally. FWIW, I have an OS X machine still because it hasn’t gone bad yet, but the newer hardware I am buying is not Apple, for pretty much the same reason: all I was doing was running a VM on it.

            1. 3

              GDB without having to jump through hoops signing it after every update, GDB without having to enter my password every single time, dwm, OpenGL at acceptable speeds, …

          2. 4

            Microsoft’s newest update to Windows 10, called The Creators Update, will contain Windows Subsystem for Linux, a tool that could make Windows 10 much more appealing to the increasing number of developers considering a move from Mac OS because they find the MacBook Pro underpowered for their needs.

            So, just curious. I’ve been rather less impressed lately with Apple’s offerings myself, but very likely for different reasons than most people. Do developers find the current MBP underpowered?

            1. 4

              I use VMs for development, thus I need more than 16GB RAM to do my work properly.

              1. 12

                I use (many!) VMs too, and don’t need more than 16GB of memory for them.

                However, I need more than 16 GB for Google Chrome.

                1. 5

                  Chrome is basically just a hypervisor anyway

            2. 4

              I really enjoyed using the WSL, but then I ran into a nasty bug: If you use a Windows program to touch it, it pretty much destroys it. Now I’m just using regular old Windows, and it’s surprisingly tolerable.

              … it does feel like I played into some kind of master plan at times, though…

              1. 4

                It’s mentioned in the linked article that this is a limitation of the early version they released. The final version, due out soon, will let you touch windows files from ubuntu and vice verse without corruption (somehow).

                1. 4

                  Ah! I missed that, I had opened an issue for a more clear explanation; this is even better!

                  1. 4

                    It’s not that complicated. NTFS, like HFS+, has multiple resource streams per file. The issue is that WSL uses one of those streams to represent custom Unix information (permission bits, most notably), and Windows apps don’t know about that stream, so they tend to clobber it when they rewrite the file. (You also got the reverse if you edited a file with custom ACLs from WSL, but most files in Windows just inherit permissions, and the only other common stream used by Win32 apps is the “this file was downloaded from the web” bit. so that didn’t matter as often.) The CU update to WSL I believe tweaks the Windows file system routines not to clobber the Unix data.

                2. 2

                  I don’t really care about refining the subsystem if the console we have to use is conhost.exe from the 90s.

                  Give me an iterm-like terminal and I"ll think about it.

                  1. 5

                    They’ve been making steady improvements to the console throughout the Windows 10 releases; it’s not so bad as it used to be. Conhost now has line-wrapping and even transparency.

                    1. 5

                      Fun fact: conhost is new in Windows 7. Before, it was the Win32 subsystem handling console windows directly.

                      1. 2

                        Which is also why they didn’t used to be themed, if you’d ever wondered.

                        1. 1

                          Though if we’re being pedantic, they would receive Aero Glass treatment on Vista if DWM was running, though the scrollbars wouldn’t be touched by themes.

                      2. 4

                        Does ConEmu fit your bill at all?

                        1. 1

                          close! is almost at feature parity with terminal.app (namely, tabs).

                          key features of iterm:
                          - native window panes / splits backed by tmux
                          - sane mouse support
                          - easy customization (colors, bindings etc.)

                          1. 1

                            Note that ConEmu is extremely customizable. There are almost too many options.

                            Cmder is a redistribution of ConEmu with attractive defaults, sort of like how SpaceEmacs/SpaceVim choose defaults for you.

                            1. 2

                              Just as a warning, while I’m a fan of ConEmu and of what Cmder wants to do, their default configuration launches PowerShell sessions with ExecutionPolicy set to Bypass–even when launching a shell as Administrator. Combine with their custom, auto-updating profile, I’d be very careful with their out-of-the-box setup.

                        2. 2

                          You can run your favourite X-based terminal via a Windows X server, can’t you?