Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

71–80 of 316 posts

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

#71
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…

Is iterating over network interfaces possible? IIRC that was causing a lot of issues with local nodejs dev servers

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

#72
Dumb question: Why did they name this "Subsystem for Linux"? (Old name was Interix, subsystem for UNIX-based applications, or "SUA".) Does marketing/users believe there is a distinction between Linux as a kernel and GNU as a source for a userland? Irrelevant? Curious what others think.

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

#74
I've been sing the Linux subsystem in my new Windows install for the last couple weeks, after buying my first new PC and first Windows machine in ten years. It's actually very impressive, and I like it.

My PC has a super loud fan system that requires software support to control to get it quiet. Under my Linux install this was turning into a configuration nightmare, trying to find the right incantations -- under Windows it is working nicely. As are the video drivers.

So I am doing my development in the Windows version of CLion, but doing the actual compiles and git usage etc. in the Linux subsystem. It's working really nicely. And for the few GUI I need, apps I run Xming and set my DISPLAY and it works perfectly.

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

#75
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 report Windows processes that run to it. Which is a deal breaker. Frustrating maybe even more than running without dbus.

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

#76
post #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.

Yes, the Ubuntu userland is upgradable using exactly the tools you would expect. (The system even includes a Scheduled Task that does security updates every week.)

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

#77

Looks great! I won't switch from Mac anytime soon, but competition is always good. Can't wait to see how Apple will respond to latest Microsoft actions (WSL, Surface Book and Surface Studio).

if it responds. apple looks more and more like a luxury goods company and the things you mention aren't that. (not saying it won't, but i'm pretty sure 'how' isn't a certainty.)

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

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

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

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

#79
post #47
post #8

Earlier quoted context omitted.

VCpkg (and ofcourse CMake support, without it I don't use VS honestly) made me to make that switch ! it is awesome, it is one thing as C++ dev I always dreamed of

VCpkg is so much better in my opinion than installing library devel packages on linux. Makes it a pain to keep track of them. Also the code completion and refactoring capabilities are itself worth it. You can now also compile using the gcc toolchain if you have WSL installed.

I agree, it is much better option than traditional /usr/lib
Post reply on HN