Run Bash on Ubuntu on Windows
blogs.windows.com
blogs.windows.com
This is not a server platform upon which you will host websites, run server infrastructure, etc"
Yet they demo'd a website being hosted via the Linux sub-system -_- thanks microsoft!
Important distinction - they're building support for developing Linux-based web applications into Windows, not hosting websites.
This story has deeper analysis: http://www.computerworld.com/article/3041378/microsoft-windo...
In the 1990s, Microsoft was in many tech markets the default winner, with such powerful monopoly influence that large classes of startup idea would not even make sense to consider because Microsoft was just so well set up to kill any threats to their dominance. And quite willing to do so.
This is a level of dominance and ferocity that has not been attained by other tech companies since. Companies like Apple, Google, and Facebook have pretty strong dominance powered by their lead in product quality, engineering talent, and brand/network effects, but it doesn't strike fear into people the way Microsoft once did. Plus, there is some balance of power among them.
Microsoft now is a participant in this power dynamic. They play in the normal way, by trying to make good products and attract developers and users to their platform. In the 1990s, this would have seemed a pathetic weakness. That Microsoft is still dead.
Am I wrong about this? I have never worked on terminals so I very well could be, but my expectation would be that terminals call into shell APIs which return a result that the terminal can then display however it wishes. If so, then I think the next natural step would be for Windows to decouple conhost's responsibilities.
Or Microsoft won't dare to hurt their FAT-LFN & exFAT cash cows and make that "uh-oh developers only" feature? ;)
Right now on Windows I use Git Shell which works great but is based on mintty. Will be nice to be something close to native.
It uses pacman from Arch Linux as its package manager and it contains many libs in addition to just the compilers (and the unixy tools)
...we decided to grow our command line family by adding real, native Bash and with it support for Linux command-line tools which run directly on Windows in an environment that behaves like Linux!"
edit:
note that Bash and Linux tools cannot interact with Windows applications and tools, and vice-versa. So you won’t be able to run Notepad from Bash, or run Ruby in Bash from PowerShell.
So, which is it?
Now as for what it could be useful for, I guess a lot of people will reclaim a solution to be able to run windows program from that environment, because one of the scenario is build-systems and leaving that to a separated environment would be too bad. At least I will. In the meantime, maybe we will be able to cope with ssh.
Now back to technical stuff, I think the best way to allow execution of windows program from that environment would be a small custom program that uses a special syscall and to spawn a windows process. The end result would not be transparent (you would have to launch let's say "windows cl" instead of "cl" from the Linux env, but this is an extremely small price to pay, since: build-system already often can prepend things to command lines, for example to use ccache, we can actually implement this solution without even needing syscall support but instead TCP/IP (and maybe ssh) and switch to an accelerated para-syscallized solution when it is available -- but then the classical problem of inheriting the environment will reappear (env var to translate with heuristics, etc...)
So maybe MS thought about all that and decided they will "never" do it (until they change their mind in 10 years), and we actually should just stick to MSYS for that kind of stuff? Would be a little sad, but it's not like we are without an existing working solution.
Edit: reading your comment again, maybe you will be happy with building your windows exe with a MinGW cross compiler fully running under the Linux subsystem under Windows. That covers some needs, but not all. For example I really need to be able to e.g. launch cl from there with standard Makefiles and GNU Make.