• Follow us


Microsoft Becomes Master of Its Own Linux Kernel | Developers

Microsoft this week announced that its own full Linux kernel will power WSL2, the newest version of the Windows Subsystem for Linux (WSL).

This marks the first time that Microsoft will include the Linux kernel as a component in Windows. Microsoft also introduced a Windows command line terminal that will add functionality to PowerShell and WSL.

Both the in-house custom-built Linux kernel for WSL2 and the Windows command line terminal are intended primarily for developers.

"This is a strong move in the battle against AWS more than anything," remarked Joshua Swartz, principal in the digital transformation practice at management consulting firm A.T. Kearney.

Microsoft's future is not the desktop market -- though of course the company will continue to protect its ground there, he told LinuxInsider. Its future is the cloud market, which certainly could include desktop components in the future.

What WSL2 Does

WSL2 is the newest architecture for the Windows Subsystem for Linux. It enables dramatic increases in file system performance and full system call compatibility.

Improved functionality is among the top requests from the WSL community. Users can run more Linux apps in WSL2, such as Docker and FUSE, according to Craig Loewen, program manager for the Windows Developer Platform.

WSL2 handles file-intensive operations like git clone, npm install, apt update and apt upgrade. The actual speed increase depends on which app is running, and how it interacts with the file system, he explained.

Initial tests produced WSL2 running up to 20 times faster compared to WSL1 when unpacking a zipped tarball. It showed a performance boost about two-to-five times faster when using git clone, npm install and cmake on various projects.

Potential to Gain Developer Trust

Essentially, Microsoft stands to gain the appreciation and trust of the developer community by building its own Linux kernel version to run its WSL2 processes, said Cody Swann, CEO of Gunner Technology.

"Outside of strictly Windows development, writing cloud apps (mobile, Web, etc.) on a PC has been a miserable experience and has led developers to dual boot a Linux distro aside the Windows OS anyway. Microsoft is acknowledging and offering a solution," he told LinuxInsider.

It's unlikely that the introduction of an in-house Linux kernel will have much impact on consumers, noted Swann. However, it does open the door for more integrated connections between Microsoft services and the Linux operating system.

"I think [Microsoft] is happy with Windows for consumers but needed to do something for developers," he said.

Building its own kernel "is an acknowledgment that Microsoft realizes the importance of Linux to Microsoft's ecosystem," Swann continued. "I could see their teams building in deep integrations in future releases of Windows."

It is a really smart play from Microsoft, he said, as it "will let them extend deeper into the developer community by leveraging a product someone else -- open source community -- is building," said Swann.

Welcome to the New Microsoft

The shift toward building and maintaining a "for Windows" Linux kernel reflects CEO Satya Nadella's commitment to open source development. This is no longer the Microsoft of Ballmer and Gates, where everything is kept behind a proprietary fence of like tools and products with no interoperability, said A.T. Kearney's Swartz.

"Satya has completely transformed that into a more contemporary platform, and that strategy has paid off in spades. Hello trillion-dollar valuation," he quipped.

The two biggest benefits for Microsoft are efficiency and security, according to Charles King, principal analyst at Pund-IT.

"By leveraging its own substantial development assets and tools, the company's customers can be assured that the kernel remains fully current and is tempered with the latest security patches and fixes," he told LinuxInsider.

Gain for Devs, Too

Linux binaries use system calls to perform many functions, such as accessing files, requesting memory and creating processes. WSL1 relies on a translation layer that interprets many of these system calls and allows them to work on the Windows NT kernel, Microsoft's Loewen noted.

The challenge involves implementing all of the system calls. That results in some apps being unable to run in WSL1, he said. WSL 2 introduces a whole new set of apps that run inside of WSL.

The new architecture lets Microsoft get the most recent improvements to the Linux kernel much faster than in WSL1. Microsoft can update the WSL2 kernel rather than having to re-implement the changes.

"WSL2 will be a much more powerful platform to run Linux apps on and will make it possible to do more with a Linux environment on Windows," Loewen maintained.

Fully Open Source Tool

The development of Microsoft's own Linux kernel is the culmination of years of effort from the Linux Systems Group as well as multiple other teams across Microsoft, according to Jack Hammons, program manager of the Linux Systems Group at Microsoft.

The kernel provided for WSL2 will be fully open source, and Microsoft will provide instructions for creating a WSL kernel on GitHub, he said. The company will work with developers interested in contributing to help get changes upstream.

Microsoft developers built WSL2 using the company's CI/CD systems. The company will service the software through Windows Update in an operation transparent to the user, added Hammons. The kernel will stay up to date with the newest features and fixes in the latest stable branch of Linux.

"To ensure the provenance of our sources, we mirror repositories locally and continually monitor Linux security mailing lists and partner with several CVE database companies to help ensure that Microsoft's Linux kernel has the most recent fixes and mitigations," he explained.

Internal Upstream Mandate

Microsoft will ensure that all kernel changes go upstream -- an important philosophy of Linux, said Hammons. Maintaining downstream patches adds complexity and is not standard practice in the open source community.

Microsoft's goal in leveraging Linux is to be a good citizen and contribute changes back to the community, he added. To protect the stability of the Long Term Support branches, some patches -- such as for new features -- might be included only in future versions of the kernel rather than back-ported to the current LTS version.

When the WSL kernel source becomes available, it will consist of links to a set of patches in addition to the long-term stable source. Over time, Microsoft hopes this list will shrink as patches make it upstream, and grow as new local patches are added to support new WSL features, Hammons added.

Building a Better Window Box

Microsoft also announced the upcoming Winter release of Windows Terminal, a new terminal application for users of command-line tools and shells like Command Prompt, PowerShell and WSL.

Windows Terminal

Windows Terminal

Windows Terminal 1.0 provides many settings and configuration options that offer better control over the Terminal's appearance as well as each of the shells/profiles that open as new tabs, according to Kayla Cinnamon, Microsoft's program manager for Windows Console, Command-Line and WSL.

Settings are stored in a structured text file, making it easy to configure to create a custom-styled Terminal that is personalized to a user's unique taste, she explained.

Rather than continuing to tweak the existing Windows Console, Microsoft decided it needed to take a new, fresh approach. Windows Terminal installs and runs alongside the existing in-box Windows Console application, Cinnamon noted.

How It Works

When a Windows 10 user runs Cmd/PowerShell/etc. directly, the process starts attached to a traditional Console instance. The new terminal's configuration mechanism lets Windows users create multiple profiles for each desired shell/app/tool, whether in PowerShell, Command Prompt, Ubuntu, or even SSH connections to Azure or IoT devices.

These profiles can have their own combinations of font styles and sizes, color themes and background blur/transparency levels. Users also have the option of selecting the new monospaced font to enhance the modern look and feel of the Terminal. This font includes programming ligatures and will be open sourced and have its own repository.

Key features include multiple tabs and beautiful text. Multiple tabs support is the most frequently requested feature for the Terminal, according to Cinnamon. Beautiful text is produced with a GPU-accelerated DirectWrite/DirectX-based text rendering engine.

It displays text characters, glyphs and symbols present within fonts, including CJK ideograms, emojis, powerline symbols, icons and programming ligatures. This engine also renders text much faster than the previous Console's GDI engine.

Backward-compatibility remains intact while providing the option of experiencing Windows Terminal when desired.

Timeline Revealed

Microsoft will deliver Windows Terminal via the Microsoft Store in Windows 10 and will update it regularly. This will ensure that users are always up to date and able to enjoy the newest features and latest improvements with minimum effort, said Cinnamon.

Microsoft plans to launch the new terminal this coming winter. After Microsoft ships Windows Terminal 1.0, developers will start work on many of the features already on a backlogged list.

The Windows Terminal and Windows Console are now available as open source on GitHub.

This summer, Windows Terminal previews will be released to the Microsoft Store for early adopters to use and provide feedback.

What Might Come Next?

The possibility that Microsoft will use its in-house Linux kernel for other purposes, such as developing its own Linux distro, is a bit of a stretch.

That likely depends on whether Microsoft discovers sizable demand or discrete commercial opportunities arising from such an effort, noted Pund-IT's King.

"For the time being, I expect the company will mainly focus on making Windows and Linux increasingly compatible and complementary," he said.

The effort versus payoff would be considerable, suggested A.T. Kearney's Swartz. If Microsoft were a brand new company starting from scratch today, then it probably would build everything on Linux.

"However, porting everything they have now to a Linux-native architecture would be costly and painful -- and for little payoff. With this solution, Linux-lovers get their Linux, and the core Windows architecture remains intact," he explained.

When Apple reinvented the Mac OS in 2000, it was built atop the BSD Unix OS -- which is more like Linux than DOS, which is what Microsoft Windows is built atop, Swartz pointed out.

Maybe a Door Opener?

A Microsoft-built Linux kernel could open the door for more integrated connections between Microsoft services and the Linux operating system.

At heart, this effort signals Microsoft's understanding that few, if any, of its core commercial customers prefer to live in a homogeneously Windows world, observed King.

"Instead, they prefer to use the heterogeneous technologies and systems that best suit their business requirements and use cases. Under the leadership of Satya Nadella, Microsoft has matured enough to recognize that point and is doing all it can to make customers' lives easier, he said.

A more strategic question, said Swartz, is what new capabilities doe this create for the Microsoft platform?

Azure, Microsoft's cloud ecosystem, already has tremendous support for Linux. Windows previously had very good virtual machine support for Linux, he noted.

"The change now is that Linux processes will run natively on the Windows kernel, which means you get a much faster Linux experience than you did on the VM," said Swartz. "I think it's now bringing all the 'industrial Linux engineers' to the Azure table."

Jack M. Germain has been an ECT News Network reporter since 2003. His main areas of focus are enterprise IT, Linux and open source technologies. He has written numerous reviews of Linux distros and other open source software. Email Jack.

Read More

Leave A Comment

More News


Elive Elevates Linux With Enlightenment 2019-05-10 12:41:37The Elive distro's integration of the Debian Linux base and the Enlightenment desktop is a powerful combination. Together, they offer a unique comput

Baltimore Held Hostage in 2nd Ransomware Attack 2019-05-10 08:00:00Baltimore officials have admitted that the city government once again has been victimized by ransomware -- the second such attack in just over a year.

Microsoft Becomes Master of Its Own Linux Kernel 2019-05-09 11:56:13Microsoft has announced that its own full Linux kernel will power WSL2, the newest version of the Windows Subsystem for Linux. This marks the first ti

Review Roundup: Pixel 3a Wins Kudos for Cameras, 2019-05-09 08:00:00Google's Pixel 3a smartphone, launched at Google's 2019 I/O developer conference, has wowed reviewers with the quality of its photos and other featu

Google Showcases AI, Preaches Privacy at I/O Keynote 2019-05-08 08:00:00Google showed off its chops in AI and ML, renewed its commitment to giving users greater control over their data, and introduced a new economically pr

Get Ready for Feature Deluge at Apple's WWDC 2019-05-07 08:00:00Apple plans to introduce a boatload of new apps, features and development tools at WWDC next month, according to a report. As it does every year, Appl

Facial Recognition and the Fight for Diversity 2019-05-06 13:22:06I spent a good deal of my educational and early career as an analyst doing research at scale. In fact, the way I got into the executive resources pro

POP!_OS Makes Classic GNOME Simpler to Use 2019-05-03 12:29:55Are you Looking for a hassle-free Linux OS that is very user-friendly and extremely stable? Pop!_OS from System76 is a prime candidate to fit that ord

No Easy Decision: Choosing Between Pay-TV Services 2019-05-03 08:00:00Many consumers in recent years have opted to cut the cord -- that is, to ditch cable or satellite TV and instead rely on OTT streaming services for th

Cybersecurity Pros Join 'Right to Repair' Battle 2019-05-02 08:00:00An advocacy organization formed by cybersecurity professionals has joined the fight for "right to repair" legislation, which would allow consumers a

Red Flag Flying Over Flagship Phones 2019-05-01 08:00:00These could be the worst of times for high-end flagship smartphones. Google CEO Sundar Pichai told Alphabet shareholders that his company's flagship

Mobile Chrome Hoax Could Target Android Users 2019-04-30 08:00:00A new method for hiding the true location of a website from users of the mobile Chrome Web browser has come to light. Phishers can trick users into re


Huawei devices disappear from Microsoft Store and Best New! 2019-05-21 15:24:00Microsoft appears to have pulled Huawei's Matebook X Pro from its online shelves, and Best Buy, too, has followed suit. Huawei phones and devices are

Windows 10 May 2019 Update review: Sandbox and New! 2019-05-21 15:23:00Microsoft’s Windows 10 May 2019 Update offers some badly needed improvements to Windows Update, a much speedier search function, and troubl

Microsoft's Windows 10 May 2019 Update is live—here's New! 2019-05-21 14:30:00Microsoft said Tuesday that it has begun making the Windows 10 May 2019 Update generally available, though the company said that it will take a &ldquo

Firefox 67 arrives with faster performance and enhanced New! 2019-05-21 13:22:00Mozilla released Firefox version 67 on Tuesday, promising that the browser is 40 to 80 percent faster compared to a year ago. Firefox 67 also ships wi

Apple upgrades processors in MacBook Pro, 8-core 15-inch New! 2019-05-21 13:00:00Apple's MacBook Pro now features eight- and ninth-generation Intel Core procesors.

The powerful, feature-packed Neato Botvac D6 Connected gets New! 2019-05-21 11:08:00Using a robot vacuum to care for your home not only makes you look cool, but adds some hands-free convenience to your cleaning routine. Of course, the

Observation review: Old science fiction meets New Weird New! 2019-05-21 10:00:00The camera whirs into focus. Distorts. Whirs into focus again. Scanlines and static make the scene hard to process at first, but they slowly fade. The

How Google's Huawei license ban could change Android New! 2019-05-21 09:20:00A bad month has just gotten a whole lot worse for Huawei. According to a Reuters report and confirmed by the two companies, Google is preparing t

Amazon's huge one-day PC sale slashes prices on New! 2019-05-21 09:17:00Amazon’s current one-day sale is one you don’t want to miss if you’re on the lookout for fresh PC gear. The online retailer is dropp

Vizio 2019 product showcase: The value-oriented manufacturer has New! 2019-05-21 09:00:00Vizio TVs and soundbars get better every year while maintaining down-to-earth prices, which is great news for consumers.

RoomMe promises to make your smart home more New! 2019-05-21 09:00:00This ceiling-mounted occupancy sensor triggers smart home devices based on who enters the room.

Windows Sandbox: How to use Microsoft's simple virtual New! 2019-05-21 06:46:00Microsoft may be positioning its upcoming, easy-peasy Windows Sandbox within the Windows 10 May 2019 Update as a safe zone for testing untrusted appli

FOX News

Cybersecurity experts warn Baltimore to stop 'playing' with 2019-05-20 14:13:00Cybersecurity experts say Baltimore is playing with fire as a deadline to pay thousands of dollars in ransom to hackers holding several of the city's

Your phone is spying? The truth behind the 2019-05-20 14:10:39Almost everyone has an eerie a tale to tell. Perhaps you’ve been talking to a friend about an island vacation, when suddenly deals for the Maldi

Google's Eric Schmidt: Breaking up Big Tech would 2019-05-20 13:52:05The former chairman and chief executive of Google said that calls for breaking up the tech giant have "no basis in law" and would harm consumers by

Apple's Tim Cook takes apparent swipe at Facebook, 2019-05-20 11:49:41Apple CEO Tim Cook told graduating students at Tulane University that it was their job to remake the world and leave it better for humanity -- while a

Apple, Google, Amazon, Microsoft sued over 'massive music 2019-05-20 11:12:00Visit any of the major digital music stores and you'll find unauthorized copies of songs for sale and streaming.

Apple’s new Powerbeats are the biggest threat to 2019-05-20 10:30:57The biggest threat to the dominance of AirPods is coming from within Apple.

Google exec's all-staff email on internal data seen 2019-05-20 10:12:15Amidst a wave of employee organizing, Google's top legal executive sent an all-staff email telling employees that accessing certain "need to know"

Air Force preps light attack plane for combat 2019-05-20 08:14:59Despite the Air Force’s stated intention and the widespread assumption that a low-cost off-the-shelf Light Attack airplane would primarily perfo

Facebook's Sheryl Sandberg pushes back on calls for 2019-05-19 14:38:37Facebook COO Sheryl Sandberg said recent calls for the tech giant to be broken up won't address the issues that have prompted a backlash against Big

FBI warns on Chinese embassy scam, losses total 2019-05-19 08:00:33The Oregon office of the FBI issued an advisory this week on an ongoing scam that has resulted in losses totaling tens of millions of dollars.

FBI seizes dark web resource site, major facilitator 2019-05-11 08:00:54The FBI has shut down a shadowy website that helps criminals monetize contraband and launder money on the web.

10 mistakes people make online 2019-05-11 06:00:18Ever click something in an email or on the web and right afterward thought, “Boy, that was dumb.” You’re not alone. Every week on my


10 Immigration Tips for Love-Struck Tech Workers New! 2019-05-21 17:02:18Even techies might agree that server rooms aren’t the most romantic places to fall in love — but it happens. And with foreign-born workers

What will save crypto? New! 2019-05-21 17:00:10An untapped market in the Middle East is the solution to crypto’s slowdown.

Mid-range flagships like the Honor 20 Pro are New! 2019-05-21 16:45:22Phone sales have been trending downward for some time now. There are a number of reasons for this — many of which you can read about in this pie

Udacity, Mercedes-Benz create sensor fusion nanodegree as demand New! 2019-05-21 16:22:39Udacity and Mercedes-Benz’s North American R&D lab have developed curriculum for a sensor fusion nanodegree, the latest effort by the online

DefinedCrowd offers mobile apps to empower its AI-annotating New! 2019-05-21 15:08:36DefinedCrowd, the Startup Battlefield alumnus that produces and refines data for AI-training purposes, has just debuted iOS and Android apps for its a

Biofourmis raises $35M to develop smarter treatments for New! 2019-05-21 14:42:38Biofourmis, a Singapore-based startup pioneering a distinctly tech-based approach to the treatment of chronic conditions, has raised a $35 million Ser

Daily Crunch: Instagram influencer contact info exposed New! 2019-05-21 14:30:40The Daily Crunch is TechCrunch’s roundup of our biggest and most important stories. If you’d like to get this delivered to your inbox ever

Stein Mart embraces the enemy with installation of New! 2019-05-21 14:05:41Another brick-and-mortar retailer is turning to Amazon to help save its struggling business. Today, discount chain operator Stein Mart announced it wi

The Exit: Getaround’s $300M roadtrip New! 2019-05-21 14:00:32In August of last year, Getaround scored $300 million from Softbank. Eight months later they handed that same amount to Drivy, a Parisian peer-to-peer

Bringing tech efficiencies to the agribusiness market, Silo New! 2019-05-21 13:45:49Roughly $165 billion worth of wholesale produce is bought and sold every year in the U.S. And while that number is expected to go up to $1 trillion by

Select Bose smart speakers get Google Assistant New! 2019-05-21 13:39:56A week after Sonos added long-promised Google Assistant integration to a pair of speakers, Bose is following suit. The company’s bringing the po

As meal-kit melee stretches on, Sun Basket whips New! 2019-05-21 13:13:14Sun Basket, a provider of a healthy meal kit service, has raised another $30 million in venture capital funding.


California pushes back for EVs: proposed bill for 2019-05-20 15:14:34 As the Environmental Protection Agency prepares to introduce the final form of its proposal to freeze US fuel economy standards sometime in the near

Outfit your home with 3 energy-conscious TP-Link smart 2019-05-20 14:54:27 Newegg offers a three-pack of TP-Link smart switches for $57.98 shipped. This is combined bundle of HS200 and HS210 switches, which each individ

Tesla releases new Do It Yourself maintenance instructions 2019-05-20 14:54:21 Tesla has released new ‘Do It Yourself’ maintenance procedure instructions to help owners work on their own cars.  more… Subs

Honda, GM blockchain project to examine how EV 2019-05-20 13:04:22 Honda and GM have joined forces in a new research project that aims to examine how electric cars and smart grids can work together in the future, wit

Tesla Gigafactory 3 building in Shanghai looks almost 2019-05-20 12:48:09 A new drone video update of Tesla’s Gigafactory 3 construction site shows that the main building is almost complete as Tesla rushes to start pr

EPA’s planned new method for estimating air pollution 2019-05-20 11:48:55 The Environmental Protection Agency is planning to adopt new modeling to project air pollution health risks, according to a new report. Experts are a

Review: VeloMini Scoot and T1 trailer turns an 2019-05-20 10:54:03 Just when I thought I had seen all there was to see in the electric scooter industry, the VeloMini Scoot and T1 trailer popped up on my radar. I&rsqu

Chevron starts deploying EV charging stations at its 2019-05-20 09:53:40 Oil and gas station companies are increasingly looking at adding electric vehicle charging stations at their locations in order to stay relevant as t

Tesla (TSLA) stock falls on demand concern from 2019-05-20 09:02:08 Tesla’s stock (TSLA) has been taking a beating lately and it isn’t getting a break today as a Wedbush analyst is out with a new negative

EGEB: Solar capacity to double in next five 2019-05-20 09:00:11 In today’s EGEB: A solar report expects total capacity to more than double over next five years. Plan to nationalize utilities in the UK would

Tesla is working to integrate more video games 2019-05-20 05:11:34 Tesla started integrating some video games inside its vehicles last year and now it is expanding with new video games and engines, says Elon Musk. mo

Rivian unveils camper version of its R1T electric 2019-05-18 20:13:45 Electric pickup truck startup Rivian has unveiled a very interesting camper version of its R1T electric pickup truck with very useful features. more&

Disclaimer and Notice:WorldProNews.com is not responsible of these news or any information published on this website.