Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

231–240 of 316 posts

Re: Bash and Windows Subsystem for Linux Demo [video]

#231
post #37

Earlier quoted context omitted.

The Notepad line ending thing is kind of shameful but Notepad is ok for what it's supposed to do. It truly is a Note pad. It launches quickly and has a non-nonsense interface. It's not meant to be a programmer's editor. It never was, it never will be.

Agree 1000%! Was waiting for a comment like yours to help drive the case for some updates to Notepad to support NIX file endings, etc. ;) Anyone running Win10 who wants to see Notepad support NIX file endings, PLEASE submit feedback via the feedback app - that way Notepad's owners get to see your pleas ;)

what feedback app?

Re: Bash and Windows Subsystem for Linux Demo [video]

#232

Earlier quoted context omitted.

That would be a huge regression. NT is far more advanced than Linux and BSD combined.

Source? Personally, I wonder how long it takes before redmond realizes that they are wasting shareholder money by maintaining/developing a proprietary kernel. It's not like they could not sell windows/linux as a perfectly good OS with copyrighted components on top of the kernel. Or then I have missed something significant.

It sounds like you have minimal exposure to low-level NT primitives. Is that a fair assessment?

Re: Bash and Windows Subsystem for Linux Demo [video]

#233
post #88

Earlier quoted context omitted.

Emacs has one flaw for me under WSL: the janky Windows console doesn't pass C-SPC. Meaning I have to bind set-mark-command to something else (like M-SPC), or download and use wsltty (fork of mintty). But other than that Emacs is fine, and a lot of Linux stuff (Node, mongo, etc.) works great. Who cares if Urbit doesn't work? :)

To be clear, I use one of the GUI versions of emacs for windows. C-spc works fine there. I'd like to play with Urbit - Yarvin and his goals are interesting enough that I'm willing to spend a few hours playing around.

Would you mind elaborating on what emacs in particular you're using? I use and love emacs but unfortunately the times I've tried to use it on windows it's been extremely unresponsive.

Re: Bash and Windows Subsystem for Linux Demo [video]

#235
post #230
post #188

Earlier quoted context omitted.

Bash and Windows Subsystem for Linux is a band-aid solution for a fundamental problem for Microsoft: Linux tooling and kernel are IT industry standards.

People have been developing on OS X outside a VM for a while now, and OS X is most definitely not linux. If they can get WSL to be as linuxy as OS X (and arguably it's already close), Windows will be as good a dev platform for linux development as OS X. But they really need to fix notepad so it supports unix style line endings. That part of the demo was a bit embarrassing.

WSL is more Linuxy than macOS, it implements the Linux syscall interface rather than Darwin's.

Re: Bash and Windows Subsystem for Linux Demo [video]

#236
post #9
post #2

This is coming to Windows stable in April: - vt sequences fixed (so stuff like colored output, midnight commander, etc work and the terminal doesn't screw up) - Elixir and Go work - Also Postgres and MySQL - You can launch Windows apps from bash. - inotify works - Visual Studio can compile with GNU/Linux C/C++ tools, gdb, linker etc There's some recent fast ring info on: https://blogs.msdn.microsoft.com/commandline/2…

> - Visual Studio can compile with GNU/Linux C/C++ tools, gdb, linker etc First VS Core, now VS proper. Impressive! (going back to my ddd window on Linux, crying a bit inside).

A properly configured and well-curated collection of packages will yield an exceptional experience using emacs - if you're into that kind of thing. Add in some custom elisp and you're well on your way to a fully customizable development environment.

Re: Bash and Windows Subsystem for Linux Demo [video]

#237
post #230

Earlier quoted context omitted.

People have been developing on OS X outside a VM for a while now, and OS X is most definitely not linux. If they can get WSL to be as linuxy as OS X (and arguably it's already close), Windows will be as good a dev platform for linux development as OS X. But they really need to fix notepad so it supports unix style line endings. That part of the demo was a bit embarrassing.

WSL is more Linuxy than macOS, it implements the Linux syscall interface rather than Darwin's.

I agree with this. OS X is a flavor of BSD. I've learned that it's often more helpful to search for " bash BSD" than it is to search for " bash OS X".

Making "Winbuntu" a fully compatible Ubuntu sounds like a really lofty goal, especially when it comes to things that expect a Linux file system.

I guess for me, it's easier to reason about Linux in a VM (or maybe a container), with all the limitations of that approach, than it is to wonder what surprise might occur as a result of trying to run something on Winbuntu. At some point maybe that will shift. It's not like VMs are exactly like bare metal.

Keeping trying hard Microsoft! I like Winbuntu enough that I bought a Windows 10 laptop just to play with it! Emphasis on play, not seriously use.

Re: Bash and Windows Subsystem for Linux Demo [video]

#239

I couldn't spend more time with that. But my overall experience with WSL is positive at least I don't need to install cygwin just to get basic tools. Windows fs is mounted on /mnt/c which is easy to type. I assume most of important syscalls are already implemented to translate. Even though sometimes bash.exe stops responding and maybe more enter key works. But bash is working like a jailed process, WSL does not repor…

That's because bash.exe isn't /usr/bin/bash. It's a confusingly-named frontend for WSL, and can essentially launch and proxy any Linux app.

Re: Bash and Windows Subsystem for Linux Demo [video]

#240
post #2

This is coming to Windows stable in April: - vt sequences fixed (so stuff like colored output, midnight commander, etc work and the terminal doesn't screw up) - Elixir and Go work - Also Postgres and MySQL - You can launch Windows apps from bash. - inotify works - Visual Studio can compile with GNU/Linux C/C++ tools, gdb, linker etc There's some recent fast ring info on: https://blogs.msdn.microsoft.com/commandline/2…

Sorry for being dense but how is this better than running seamless window Linux under vmware? With that I can also access shared files, etc.

I don't know if I would call it better or worse, it's more about preferred workflow. I'm typing this on a MBP and I have a fleet of VMs specifically because I'm tired of playing the platform game. I can configure a VM specific to an app's needs faster than hosing my host OS with a very specific configuration that may not match production environments. Even with version managers like rvm or nvm/n there is just a lot to get wrong. It may be faster or less resource intensive to not have to spin up a VM but I've been in .NET land with desktop apps and now various web platforms enough to prefer this workflow. For someone like me, this would be for personal usage versus job related activities but I do see the benefit of having the choice. I just hope I'm strong enough to resist the temptation because my personal win10 laptop is a graveyard of rails installer and a few other various barely-supported toys.
Post reply on HN