DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Unveiling Real-Time Operating Systems (RTOS): The Heartbeat of Modern Embedded Systems
  • Arm64 Is No Longer the Edge Case
  • TOP-5 Lightweight Linux Distributions for Container Base Images
  • Recent Linux Kernel Features Relevant to System Design

Trending

  • Apache Phoenix: Global Secondary Indexes With Tunable Consistency
  • Share Delta Lake Tables Between Databricks and Snowflake
  • 5 Proven Strategies for Modernizing Legacy .NET Applications
  • DuckDB for Python Developers

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Coding
  3. Tools
  4. After 9 Years, Microsoft Fulfills This Windows Feature Request

After 9 Years, Microsoft Fulfills This Windows Feature Request

Developers can now look under the hood at the component that allows a Linux environment to run within Windows.

By 
Megan Crouse
·
May. 23, 25 · News
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
3.8K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

Most of the source code for the Windows Subsystem for Linux (WSL) has now been released on GitHub. Microsoft announced on May 19 that developers and hobbyists can now build WSL from source, explore the code, experiment with modifications, and contribute directly to its development.

What is Windows Subsystem for Linux?

Windows Subsystem for Linux is a feature that allows users to run a Linux environment inside a Windows machine without requiring a virtual machine or dual boot setup. The first version, WSL, was released in 2016. Shortly after its launch, the first issue raised about WSL on GitHub questioned whether the feature would ever be open sourced; nearly a decade later, Microsoft has answered that request.

WSL is made up of components that bridge Windows and the WSL 2 (which was released in 2019) virtual machine. WSL 2 itself launches the virtual machine, starts distributions, mounts file access shares, and enables additional functionality. Linux files are shared with Windows via a plan9 server implementation.

Some components included in the Windows image have not been open-sourced code:

  • Lxcore.sys, the kernel-side driver that powers WSL 1.
  • P9rdr.sys.
  • P9np.dll, both of which run the “\\wsl.localhost” filesystem redirection from Windows to Linux.

How to Contribute to WSL

“We’ve seen how much the community has contributed to WSL without access to the source code, and we can’t wait to see how WSL will evolve now that the community can make direct code contributions to the project,” wrote Microsoft Senior Software Engineer Pierre Boulay in a blog post.

The WSL code is available on GitHub. Microsoft continues to collaborate closely with the WSL community to identify bugs and gather feature suggestions.

Linux (operating system) Microsoft Windows

Published at DZone with permission of Megan Crouse. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Unveiling Real-Time Operating Systems (RTOS): The Heartbeat of Modern Embedded Systems
  • Arm64 Is No Longer the Edge Case
  • TOP-5 Lightweight Linux Distributions for Container Base Images
  • Recent Linux Kernel Features Relevant to System Design

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook