Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

201–210 of 316 posts

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

#201

I've been running windows (using WSL for most of my development) for a few months and overall I'm very happy with it. Every non-GUI linux program I want to run works just fine on WSL, with the sole exception of (beta software) Urbit. I do miss Xmonad-like window management, but windows does have shortcut keys that do a good enough job. Emacs works perfectly well. And Anaconda ( https://www.continuum.io/downloads ) is…

I'm pretty happy with it too. For the things that are implemented, it works better than MacOS did as a casual Unix for me. Mostly because I prefer the Ubuntu tools. I'm still using a genuine Linux box for real work though.

The big feature I'm missing is network file systems.

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

#202

Earlier quoted context omitted.

The big difference is that it isn't just POSIX compatible, it is a full out "bug-for-bug" emulation of the Linux kernel specifically with an eye towards binary compatibility. Out of the box, the userland here isn't just GNU, it is entirely the same binaries as shipped by Canonical in Ubuntu. Old Interix required retargeting and recompiling binaries, similar to how you would need to recompile to target the differences…

>the userland here isn't just GNU Ah okay. Shame that calling this "GNU/NT 10.0" would not be proper then.

There's still enough GNU there that you could call it that if that amuses you to do so. (Though I bet RMS will happily throw a fit in your direction if you do. ;)

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

#203

Earlier quoted context omitted.

For this reason, whenever I try to develop anything on Windows, especially systems related stuff, I will do so in a VM. I may develop a test suite and try running it on Windows, but the Windows Linux Subsystem will never be reliable to me, until it aims to guarantee 100% compatibly.

Why wouldn't getting as close to 100% compatibility as possible be the aim? WSL is currently beta. The installation documentation has a big warning at the top that functionality is currently incomplete.

All I can say is that the first two things I tried on the Windows Linux Subsystem didn't work, mainly running Elixir and Debootstrap. It's okay that they aren't (yet?) supported, but something that looks & smells like Ubuntu, yet isn't, doesn't inspire confidence that it can be trusted to act like Ubuntu.

An alternative approach would be to call it Winbuntu, Winux, or simply Ubuntu for . Then aggressively maintain a list of known compatibility issues, and stay on top of fixing them. Maybe even open source it?! A close sourced, not-quite-what-I-wanted solution is simply less interesting to me.

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

#204
post #78
post #9

Earlier quoted context omitted.

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

I've been playing with NetBeans and it seems like a fairly reasonable C++ environment.

CLion is pretty spiffy IMO, though it uses CMake as the underlying build tool which may or may-not be your thing (I prefer scons.. but nothing's perfect).

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

#205

I've been running windows (using WSL for most of my development) for a few months and overall I'm very happy with it. Every non-GUI linux program I want to run works just fine on WSL, with the sole exception of (beta software) Urbit. I do miss Xmonad-like window management, but windows does have shortcut keys that do a good enough job. Emacs works perfectly well. And Anaconda ( https://www.continuum.io/downloads ) is…

Every non-GUI linux program I want to run works just fine on WSL

Most gui programs seem to work ok as well, though you do need an X-server running on Windows (e.g. the one in MobaXTerm does the job)

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

#206

I've been running windows (using WSL for most of my development) for a few months and overall I'm very happy with it. Every non-GUI linux program I want to run works just fine on WSL, with the sole exception of (beta software) Urbit. I do miss Xmonad-like window management, but windows does have shortcut keys that do a good enough job. Emacs works perfectly well. And Anaconda ( https://www.continuum.io/downloads ) is…

[deleted]

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

#207
post #114

This should be really useful for people who are forced to use Windows (e.g. at work). Other than that, I don't think many Linux/Unix enthusiasts are looking forward to running a spyware-ridden closed-source non-Unix operating system.

I am a Linux enthusiast. I'd love to run linux as my main OS, however:

1) I also like games

2) I hate dual booting

3) PCI passthrough of GPU to VM was a bit annoying

So WSL is kind of a nice middle of the two worlds. I don't need to run a Linux VM now for development, for example.

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

#208

Earlier quoted context omitted.

Output from `bash --version` on macOS: `GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) Copyright (C) 2007 Free Software Foundation, Inc.` that's a 10yr old bash and there's barely any shell magic that you can do on Linux that won't work on macOS. And since by far most devs use macOS, most binaries support at least the macOS version of bash. All in all, no need to worry :p

> by far most devs use macOS I'm not sure about this - that seems too extreme of a statement. If there is any winner, it's going to be Windows. IMO, Linux and macOS will be within 5 percentage points of each other. From what I've seen at university, it's something like 60% Windows, ~20% macOS, ~20% Linux (usually Ubuntu). Much more Linux/Mac in the "hackier" courses, usually with a slight majority to Macs. Where can…

[deleted]

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

#209
post #5

Earlier quoted context omitted.

I think it's coming in the Windows 10 Creators Update in April: http://www.theverge.com/2017/1/2/14146182/microsoft-windows-...

No - we won't be out of Beta in Creator's Update ... but we'll be close. There are a few last remaining things we need to enhance & modify before we feel comfortable before taking off the beta label.

Thanks for the update, appreciated.

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

#210
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.
Post reply on HN