WSL 开源了

106 天前
 Fdyo

微软今天正式宣布 Windows 子系统 Linux ( WSL )开源

原文:微软宣布 WSL 开源

7632 次点击
所在节点    Windows
28 条回复
Shilion
106 天前
还开源一个新的 TUI 编辑器 https://github.com/microsoft/edit
Fdyo
106 天前
@Shilion 是的。在另一个帖子里提啦。
binsys
106 天前
lxcore 才是兴趣,HV 虚拟机 HCS 接口的...
liyafe1997
106 天前
已开源组件:

microsoft/wslg:支持 Linux 图形应用运行的 WSL G ( Wayland/X Server )组件
GitHub: https://github.com/microsoft/wslg
microsoft/WSL2-Linux-Kernel: 为 WSL 2 提供支持的 Linux 内核源代码
GitHub: https://github.com/microsoft/WSL2-Linux-Kernel


这次有啥新东西吗?这些不是一直都开源的?
flyqie
106 天前
@binsys #3

确实,lxcore 才是最主要的,wsl2 那个 hcs 实现没什么值得研究的。
GPLer
106 天前
开源的是这个
https://github.com/microsoft/WSL

That means that the code that powers WSL is now available on GitHub at Microsoft/WSL and open sourced to the community! You can download WSL and build it from source, add new fixes and features and participate in WSL’s active development.

之前开源和尚未开源的

This comes as an addition to the already open sourced WSL components:

microsoft/wslg: Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
microsoft/WSL2-Linux-Kernel: The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
The following components are still part of the Windows image and are not open sourced at this time:

Lxcore.sys, the kernel side driver that powers WSL 1
P9rdr.sys and p9np.dll, which runs the “\\wsl.localhost” filesystem redirection (from Windows to Linux)

来源

https://blogs.windows.com/windowsdeveloper/2025/05/19/the-windows-subsystem-for-linux-is-now-open-source/
GPLer
106 天前
@liyafe1997 现在支持从源码构建了,而不仅仅只有个 Kernel 。
villivateur
106 天前
话说,现在才开源倒是让我挺奇怪的,按理说 Linux 和那一堆 GNU 的应用都是 GPL 协议的,微软应该早开源了才对。
istomyang
106 天前
一个跟 linux 深度嵌合的东西,再不开源,人家都不想鸟你了。
gam2046
106 天前
希望有生之年,社区会复活 WSA
codehz
106 天前
要是能开源 docker for windows 的那个进程隔离机制就好了,(指 windows silo 简仓)
rmrf
106 天前
挺不错的
lambdaq
106 天前
谁来说下是 wsl1 还是 wsl2 ?
cheng6563
106 天前
WSL2 真没啥意思
min
106 天前
裁员裁到大动脉了,所以开源了?
my101du
106 天前
@gam2046 现在可以在 Store 里用腾讯应用宝安装经过“审查”的 app 到电脑。 但估计原汁原味的 Android 的 adb 什么的应该都没有了。
rahj
106 天前
@min 哈哈 这个有可能
flyqie
105 天前
@lambdaq #13

看起来似乎主要是 wsl2
pony2335
105 天前
@min 哈哈
Hephaistos
105 天前
@istomyang "不想鸟"指的是这两年支持的发行版越来越多么?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1132874

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX