Fdyo
V2EX  ›  Windows

WSL 开源了

  •  
  •   Fdyo · May 20, 2025 · 9519 views
    This topic created in 536 days ago, the information mentioned may be changed or developed.

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

    原文:微软宣布 WSL 开源

    28 replies  •  2025-05-22 14:26:31 +08:00
    Shilion
    Shilion
    May 20, 2025
    1
    还开源一个新的 TUI 编辑器 https://github.com/microsoft/edit
    Fdyo
    Fdyo
    OP
    May 20, 2025
    2
    @Shilion 是的。在另一个帖子里提啦。
    binsys
    binsys
    May 20, 2025
    3
    lxcore 才是兴趣,HV 虚拟机 HCS 接口的...
    liyafe1997
    liyafe1997
    May 20, 2025 via Android
    4
    已开源组件:

    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
    flyqie
    May 20, 2025 via Android
    5
    @binsys #3

    确实,lxcore 才是最主要的,wsl2 那个 hcs 实现没什么值得研究的。
    GPLer
    GPLer
    May 20, 2025 via Android❤️2
    6
    开源的是这个
    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
    GPLer
    May 20, 2025 via Android
    7
    @liyafe1997 现在支持从源码构建了,而不仅仅只有个 Kernel 。
    DawnMoon
    DawnMoon
    May 20, 2025
    8
    话说,现在才开源倒是让我挺奇怪的,按理说 Linux 和那一堆 GNU 的应用都是 GPL 协议的,微软应该早开源了才对。
    istomyang
    istomyang
    May 20, 2025 via Android
    9
    一个跟 linux 深度嵌合的东西,再不开源,人家都不想鸟你了。
    ntdll
    ntdll
    May 20, 2025
    10
    希望有生之年,社区会复活 WSA
    codehz
    codehz
    May 20, 2025
    11
    要是能开源 docker for windows 的那个进程隔离机制就好了,(指 windows silo 简仓)
    rmrf
    rmrf
    May 20, 2025
    12
    挺不错的
    tf2
    tf2
    May 20, 2025
    13
    谁来说下是 wsl1 还是 wsl2 ?
    cheng6563
    cheng6563
    May 20, 2025
    14
    WSL2 真没啥意思
    min
    min
    May 20, 2025
    15
    裁员裁到大动脉了,所以开源了?
    my101du
    my101du
    May 20, 2025
    16
    @gam2046 现在可以在 Store 里用腾讯应用宝安装经过“审查”的 app 到电脑。 但估计原汁原味的 Android 的 adb 什么的应该都没有了。
    rahj
    rahj
    May 20, 2025
    17
    @min 哈哈 这个有可能
    flyqie
    flyqie
    May 20, 2025 via Android
    18
    @lambdaq #13

    看起来似乎主要是 wsl2
    pony2335
    pony2335
    May 20, 2025
    19
    @min 哈哈
    Hephaistos
    Hephaistos
    May 20, 2025❤️1
    20
    @istomyang "不想鸟"指的是这两年支持的发行版越来越多么?
    MrKrabs
    MrKrabs
    May 20, 2025
    21
    @Hephaistos 一群 launchd-like 区别很大吗
    liyafe1997
    liyafe1997
    May 20, 2025
    22
    @villivateur 这些部分(内核和 WSLg 也就是 Wayland/Weston 那部分)一直都是开源的
    volantRookie
    volantRookie
    May 21, 2025
    23
    建议倒闭,难用
    Jack927
    Jack927
    May 21, 2025
    24
    可惜的是 wsa 没了,希望 wsa 能复活
    tabc2tgacd
    tabc2tgacd
    May 21, 2025
    25
    @Jack927 wsa 给腾讯了,现在 win 商店有一个腾讯应用宝就是这玩意吧
    Fdyo
    Fdyo
    OP
    May 21, 2025❤️1
    26
    @tabc2tgacd 腾讯应用宝不是 WSA ,虽然都是跑 Android 应用。具体有关腾讯应用宝的一些细节 👉 https://ohh.run/qcxx
    tabc2tgacd
    tabc2tgacd
    May 22, 2025
    27
    @Fdyo 原来这样,我还以为这是 wsa 呢
    Jack927
    Jack927
    May 22, 2025❤️1
    28
    @tabc2tgacd 不一样的, 腾讯应用宝 这块首先是国区特供,其次是技术上应该是一个安卓模拟器。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   947 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 74ms · UTC 20:12 · PVG 04:12 · LAX 12:12 · JFK 15:12
    ♥ Do have faith in what you're doing.