5 ms·
Can someone explain what MS bash will do (or potentially do) better than mingw/msys?
by dzdt 11y ago
Can someone explain what MS bash will do (or potentially do) better than mingw/msys?
- JdeBP 11y agoIt is not Microsoft bash. It's this bash: * http://packages.ubuntu.com/trusty/bash http://packages.ubuntu.com/trusty/bash Alongside many of these: * http://packages.ubuntu.com/trusty/ http://packages.ubuntu.com/trusty/ With that in mind, the differentiator from git bash, MSYS, Cygwin, and so forth should become clearer.
- dzdt 11y agoWhat differentiator? They are all using the same source code. Msys, Cygwin, now Microsoft all provide a whole ecosystem of gnu tools. (Git just repackages msys, I think.) My level of understanding of the difference between cygwin and msys is that, when you build an executable, cygwin requires its own dll's to run it while msys uses the system dll's. The result is with cygwin you have full posix while with msys some things that Windows does in a non-posixy way are missing or wonky. But it is much easier to distribute msys-built binaries. So what is the differentiator with the Microsoft version? That they are hooking it up to Ubuntu package management?
- JdeBP 11y agoYou're missing the difference between this: * http://packages.ubuntu.com/source/trusty/bash http://packages.ubuntu.com/source/trusty/bash and what I actually pointed to, which was this: * http://packages.ubuntu.com/trusty/bash http://packages.ubuntu.com/trusty/bash Your second sentence reveals that you're not getting the differentiator. To get this, read the blurbs and what the Microsoft developers themselves emphasize about this. It's pretty much the very first thing mentioned every time. Sometimes, its even in the headline. * https://news.ycombinator.com/item?id=11391891 https://news.ycombinator.com/item?id=11391891 (in the third sentence) * https://blogs.msdn.microsoft.com/commandline/2016/04/06/bash-on-ubuntu-on-windows-download-now-3/ https://blogs.msdn.microsoft.com/commandline/2016/04/06/bash... (in the first sentence) * https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/ https://blogs.windows.com/buildingapps/2016/03/30/run-bash-o... (in the fourth paragraph, repeated in the fifth) * http://blog.dustinkirkland.com/2016/04/howto-ubuntu-on-windows.html http://blog.dustinkirkland.com/2016/04/howto-ubuntu-on-windo... (in the first sentence) * http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUsermodeUbuntuLinuxBinariesOnWindows10.aspx http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUs... (in the URL!)
- dzdt 11y agoSo what I get from that is that, like cygwin, and unlike msys, the target is full linux userspace compatibility. So is it essentially like MS is bundling cygwin as a windows system library?
- brudgers 11y agoPotentially it will ship "in the box" and be supported as part of the Microsoft toolchain. My guess is that it will given the particular people involved, the general direction of Microsoft regarding software layers, and its ability to make life better for developers [e.g. installing Rails]. To put it another way, I think the ecosystem is likely to be pretty good with both Microsoft and Canonical involved based on my read of their current directions. I've always been hesitant about installing the alternatives because of the way Windows installations accumulate cruft and complexity and the weird states that low level third party code often puts a Windows box in. YMMV.