Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

31–40 of 316 posts

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

#33
post #24

Oi, `file` is a BSD tool, not a GNU tool.

https://www.gnu.org/software/fileutils/fileutils.html

That's not the `file` command, it's tools for working with files: chgrp, chmod, mv, rm, etc. These have all been folded into coreutils these days, which also does not contain the `file` utility. Ubuntu and practically all other Linux distros ship BSD's file utility.

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

#34
post #31

Newb question, does this "Winbash" run Linux/posix/unixy binaries that wouldn't otherwise run or does it assume the actual Windows dists/builds for (Elixir / Go / PostgreSQL / MySQL / GHC / etcpp)?

* Yes, these are native, ELF binaries. Yes, you can compile it on your linux server, cp it across to windows, and run it.

* No, it is not an emulation. The win10 kernel + compatibility layer just happens to be able to also run ELF binaries. Yes, these show up as standard processes, and can be interacted with using normal windows tools (eg taskmgr).

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

#37

Not since Windows 2000 have I been so interested in an upgrade to a new Windows release. Only at work do I have to suffer through Windows, but this would make things much nicer there. I hope/pray that readline and/or editline work correctly on bash et al? Do Windows CI services like Appveyor support WSL? If so I would hope that deploying to windows for lots of high level software is relatively painless. Head scratche…

The Notepad line ending thing is kind of shameful but Notepad is ok for what it's supposed to do.

It truly is a Notepad. 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.

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

#38
The biggest problem I have with the WSL is that it is intrinsically tied to stable Windows releases; there is no way to get incremental updates for Bash on Windows unless you subscribe to the Windows Insider program, which is a way of running prerelease versions of Windows.

So in order to get Linux features like inotify working you have to sacrifice the stability of your operating system.

This looks like it'll be true till the end of time. Does your dev work depend on bug fixes or certain syscall implementations? Well, either run an OS that may or may not work at any given time or wait several months for the next release.

A couple weeks back I tried to give WSL a try but everything was broken. Inotify prevents hot reloading, which really makes my life just dandy, so I tried to transition to the insider program in order to get my fix. To my chagrin, this caused Node to up and break on me. Like, full stop doesn't work anymore.

I ended up going back to Linux. I really hope that developing on Windows becomes something other than 'awful' - for me at least - but I don't think it's quite there yet.

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

#39

The biggest problem I have with the WSL is that it is intrinsically tied to stable Windows releases; there is no way to get incremental updates for Bash on Windows unless you subscribe to the Windows Insider program, which is a way of running prerelease versions of Windows. So in order to get Linux features like inotify working you have to sacrifice the stability of your operating system. This looks like it'll be tru…

IIRC WSL is still in beta.

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

#40

The biggest problem I have with the WSL is that it is intrinsically tied to stable Windows releases; there is no way to get incremental updates for Bash on Windows unless you subscribe to the Windows Insider program, which is a way of running prerelease versions of Windows. So in order to get Linux features like inotify working you have to sacrifice the stability of your operating system. This looks like it'll be tru…

Does anyone know the roadmap for WSL? My guess is that WSL itself is still unstable right now and later on it won't really need a lot of updates.

On top of it, the Ubuntu userland should be freely upgradable - I think.

Post reply on HN