5 ms·
"The bash shell is coming to Windows" Whoa.
by Analemma_ 11y ago
"The bash shell is coming to Windows"
Whoa.
- danielcampos93 11y agoNow the question is how well will it work.
- kyriakos 11y agoNot a lot of details given. Just that its not cross compilation or vm
- be5invis 11y agoI saw C:\windows\system32\bash AFAIK it is a clean-room implementation of Linux APIs. It is native.
- ubertaco 11y agoHanselman wrote up a "demo" blog post here: http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUsermodeUbuntuLinuxBinariesOnWindows10.aspx http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUs...
- nickysielicki 11y agoThey wrote the equvilant of Wine for Windows-- Binary compatible, apparently just translating system calls. There's a joke that says people who hate Windows use Linux and those who love Unix use BSD. Microsoft seems to think that's true, too.
- bovermyer 11y agoThe blog he links to near the end is a very raw WordPress blog on the microsoft.com domain. That's entertaining.
- deleted 11y ago[deleted]
- drzaiusapelord 11y agoSo long Cygwin I guess.
- mythz 11y agoSome choice quotes from: http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.htm... "Nope! This isn't a container either. It's native Ubuntu binaries running directly in Windows." "Oh, and it's totally shit hot! The sysbench utility is showing nearly equivalent cpu, memory, and io performance." Full access to all of Ubuntu user space inc. apt, ssh, rsync, find, grep, awk, sed, sort, xargs, md5sum, gpg, curl, wget, apache, mysql, python, perl, ruby, php, gcc, tar, vim, emacs, diff, patch... And most of the tens of thousands binary packages available in the Ubuntu archives.
- HCIdivision17 11y agoIs there any way this is bad? I am honestly having a hard time not getting thrilled over it. I want to be cynical and worried, but hot damn this seems awesome. Getting that alphabet soup of utilities to be useful natively on Windows without Cygwin or `git bash` is a pain (and usually lags out of date; nevermind the startup lag too). Just having curl, md5sum, and apt alone is a thrill and a half!
- nojvek 11y agoTotally agree. I use git for windows with optional unix tools. But having this built in is quite amazing.
- iheartmemcache 11y agoBeing able to run Linux binaries natively on Windows is nothing new. CoLinux did it somewhat poorly but garnered a bit of popularity. http://atratus.org http://atratus.org did it too. FreeBSD (and maybe the other BSDs?) have first party Linux emulation which isn't entirely trivial, as you still have to write effectively the same stuff. (ELF binaries to be interpretted on a COFF/PE binary platform for Windows; the FBSD guys wrote an entire layer that maintained the SysV COFF a.out standard while concurrently allowing you run the more modern ELF binary standard circa version 4.3.) Windows also has had first party access to all of those utils via the `gow'[1] package. In ConEmu it looks pretty nifty too. (Not that you really need it since the whole MSbuild chain is now 100% open, but yeah not having to fight against Cygwin and mingw32 for hours as one had to 10 years ago is quite nice.) [1] https://chocolatey.org/packages/Gow https://chocolatey.org/packages/Gow
- knotz 11y agoOn friday? ;)
- JdeBP 11y agoThis subject is covered in much more detail elsewhere on Hacker News: * https://news.ycombinator.com/item?id=11390545 https://news.ycombinator.com/item?id=11390545 * https://news.ycombinator.com/item?id=11388418 https://news.ycombinator.com/item?id=11388418