Microsoft recently surprised us with the news that very soon we can all run a Linux console bash in a “native” on the new Windows 10, specifically with the arrival of the update “Anniversary”.
But many wonder How does this feature? As Microsoft noted in its presentation, no kind of virtual machines for this option is used, nor containers. Microsoft had long been preparing this release, and its close alliance with Canonical (Ubuntu creators) has become a reality that soon we can access a console and run both bash other Ubuntu binaries directly and completely natively. The key to all this is called Windows Subsystem for Linux (WSL).
It is a native Linux on Windows
This among other things more, is what explains Dustin Kirkland, who is one of those responsible for the company Canonical. Confirming that neither virtualization and containers were used for this implementation, nor had much to do with the famous Cygwin, which until now was one of the most popular in the geek community ways to do something similar to what now you are achieved with Windows 10.
Actually what makes all this magic happen in Windows, it looks more like an emulator, he pointed Kirkland, who explained that what makes Windows 10 is “make the system a translation in real time system calls Linux calls Windows”. Operating system what could be considered the inverse of what makes wine, which is a project that allows you to run Windows binaries on Linux systems
Many advantages, but also some limitations
This subsystem as known him, achieves a truly remarkable for running Linux applications performance within the new Windows 10. As indicated Kirkland, the benchmarks as sysbench indicate that performance in this embodiment is or subsystem is practically equivalent to that obtained with a native installation of Windows, this in performance of CPU, memory and I / O.
Notably, this development is not a server platform that hosts Web sites for example, run server infrastructure, among others. Since for such scenarios Microsoft recommends solutions using Ubuntu in their cloud services, better known as Azure. And finally, they indicated that Linux tools such as bash can not interact with tools or Windows applications and vice versa. In other words, this means that “you can not run the notebook from bash, nor can run Ruby in bash from Powershell“. For more tech news visit http://thefirewheel.com/