Live data from Hacker News

Invoke Win32 applications with Bash on Windows

msdn.microsoft.com

11–20 of 52 posts

Re: Invoke Win32 applications with Bash on Windows

#11
post #10
post #9

Earlier quoted context omitted.

Cutting them some slack I think is not bad idea. They are literally integrating two big operating system together. Do you see what I am saying? As we all know Microsoft messed up with mobile and web, but when it comes to software development they are ruler without even competition. Windows kernel is wonderful peace of software, and with this wsl they are literally showing industry how is software developed.

I will, they've been clear about it being a work in progress. There are a lot of other people saying how amazing it is though, when functionality wise it's only just coming up to par with cygwin. Edit - functionality wise as a usable bash shell, it's an acceptable linux virtual machine already.

It is not a virtual machine and doesn't involve Linux in any way. It is an implementation of the Linux syscalls for the Windows kernel.

Re: Invoke Win32 applications with Bash on Windows

#12
post #6

Wow, this is really impressive. Last time I worked with bash on Windows it felt like isolated island. But with this. I think it is a viable option right now. The only down side to it is slow file system operations. Compiling a single toy kernel (xv6) would take much longer than Linux. This is amazing, now I can have emacs server in Linux running through bash with windows service manager. This is fucking awesome. I ho…

Actually,what does an emacs server running in wsl get you rather than just running the standard win32 build?

Re: Invoke Win32 applications with Bash on Windows

#13
post #3

This finally makes bash on windows functional. It was one of its limitations that made it feel disconnected from the rest of Windows.

It also introduces potentially significant new attack surface.

Any more so than, say, using bash and friends via cygwin or similar?

Re: Invoke Win32 applications with Bash on Windows

#14
post #3

This finally makes bash on windows functional. It was one of its limitations that made it feel disconnected from the rest of Windows.

Yes, that's really the missing piece and sounds great. Before that it really felt isolated, like working in a VM. My use-case was to have a full featured bash for invoking some build scripts built still to be able to utilize some windows executables (most imporantly currently docker for windows) in it. Seems like this should do it.

Re: Invoke Win32 applications with Bash on Windows

#15
post #10
post #9

Earlier quoted context omitted.

Cutting them some slack I think is not bad idea. They are literally integrating two big operating system together. Do you see what I am saying? As we all know Microsoft messed up with mobile and web, but when it comes to software development they are ruler without even competition. Windows kernel is wonderful peace of software, and with this wsl they are literally showing industry how is software developed.

I will, they've been clear about it being a work in progress. There are a lot of other people saying how amazing it is though, when functionality wise it's only just coming up to par with cygwin. Edit - functionality wise as a usable bash shell, it's an acceptable linux virtual machine already.

I have to agree... I'm still using the bash that comes with git for windows. It actually works (mostly) as one would expect it to work.

Also, not being able to edit the WSL filesystem from inside a windows editor is a huge loss in terms of usage. It's worse than using Samba/CIFS to share a directory and edit across to a full VM. I happen to like my gui editor, but prefer to run in Linux.

Re: Invoke Win32 applications with Bash on Windows

#16
post #10

Earlier quoted context omitted.

I will, they've been clear about it being a work in progress. There are a lot of other people saying how amazing it is though, when functionality wise it's only just coming up to par with cygwin. Edit - functionality wise as a usable bash shell, it's an acceptable linux virtual machine already.

It is not a virtual machine and doesn't involve Linux in any way. It is an implementation of the Linux syscalls for the Windows kernel.

Why does this trigger so many people?

Re: Invoke Win32 applications with Bash on Windows

#17
post #3

This finally makes bash on windows functional. It was one of its limitations that made it feel disconnected from the rest of Windows.

It also introduces potentially significant new attack surface.

No more so than any of the shells that's already available on Windows (batch scripts, WSH, Powershell). If one was to exploit scripting on Windows, it would make more sense to target the existing shells rather than Bash as they're more widespread on Windows.

Plus Bash on Windows isn't a new thing: we already have Cygwin, MinGW and I believe there was also some native Windows PE ports too. This is just a better implementation than the aforementioned three.

Re: Invoke Win32 applications with Bash on Windows

#18
post #6

Wow, this is really impressive. Last time I worked with bash on Windows it felt like isolated island. But with this. I think it is a viable option right now. The only down side to it is slow file system operations. Compiling a single toy kernel (xv6) would take much longer than Linux. This is amazing, now I can have emacs server in Linux running through bash with windows service manager. This is fucking awesome. I ho…

Actually,what does an emacs server running in wsl get you rather than just running the standard win32 build?

Emacs on win32 dosnt support daemon mode.

Re: Invoke Win32 applications with Bash on Windows

#19
post #18

Earlier quoted context omitted.

Actually,what does an emacs server running in wsl get you rather than just running the standard win32 build?

Emacs on win32 dosnt support daemon mode.

You should upgrade. Emacs 25.1 supports daemon mode in Windows.
Post reply on HN