TE
テックエコー
ホーム24時間トップ最新ベスト質問ショー求人
GitHubTwitter
ホーム

テックエコー

Next.jsで構築されたテクノロジーニュースプラットフォームで、グローバルなテクノロジーニュースとディスカッションを提供します。

GitHubTwitter

ホーム

ホーム最新ベスト質問ショー求人

リソース

HackerNews APIオリジナルHackerNewsNext.js

© 2025 テックエコー. すべての権利を保有。

The Windows Subsystem for Linux is now open source

1591 ポイント投稿者: pentagrama4日前

73 comments

jjcm4日前
When WSL came out I was absolutely overjoyed - finally an actual linux shell on windows! I use windows for my gaming pc, and I wanted to have a unified gaming&#x2F;dev box. It felt like the solution.<p>Over time though more and more small issues with it came up. Packages working not quite right, issues with the barriers between the two, etc. It always felt like there was a little bit more friction with the process.<p>With Valve really pushing Proton and the state of linux gaming, I&#x27;ve recently swapped over to Ubuntu and Nixos. The friction point moved to the gaming side, but things mostly just work.<p>Things on linux are rapidly getting better, and having things just work on the development side has been a breath of fresh air. I now feel that it&#x27;s a better experience than windows w&#x2F; WSL, despite some AAA titles not working on linux.
评论 #44036914 未加载
评论 #44035486 未加载
评论 #44039171 未加载
评论 #44042488 未加载
评论 #44038321 未加载
评论 #44040745 未加载
评论 #44033209 未加载
评论 #44033290 未加载
评论 #44042923 未加载
评论 #44035505 未加载
评论 #44040109 未加载
liendolucas4日前
I would do it the other way round: use Windows in a virtual machine from Linux. If you are in Windows and have the urge to use Linux, do the proper switch once and for all. You will never look back. I haven&#x27;t in almost 15 years.<p>Given what Windows has become and already discussed here on HN I would even hesitate to run it in a virtual machine.<p>Edit: <i>more</i> than 15 years.
评论 #44033037 未加载
评论 #44033540 未加载
评论 #44032744 未加载
评论 #44034249 未加载
评论 #44032776 未加载
评论 #44032727 未加载
评论 #44032945 未加载
评论 #44032906 未加载
评论 #44035841 未加载
评论 #44038080 未加载
评论 #44032790 未加载
评论 #44039188 未加载
评论 #44032579 未加载
评论 #44032734 未加载
评论 #44032824 未加载
评论 #44032745 未加载
评论 #44040098 未加载
评论 #44033623 未加载
tuukkao3日前
WSL 2 is one of the biggest reasons I&#x27;m able to be productive as a blind software developer. With it I&#x27;m able to enjoy the best desktop screen reader accessibility (Windows and NVDA) as well as the best developer tools (Linux). I hate Microsoft&#x27;s AI and ads force-feeding as much as anyone else but trust me, you&#x27;d do the same if you were in my shoes. Screen reader accessibility on Mac Os is stagnating even faster than the os itself and even though Linux &#x2F; Gnome accessibility is being worked on, it&#x27;s still ready only for enthusiasts who don&#x27;t mind their systems being in a constant state of somewhat broken, as illustrated by this series of blog posts from just a few weeks ago: <a href="https:&#x2F;&#x2F;fireborn.mataroa.blog&#x2F;blog&#x2F;i-want-to-love-linux-it-doesnt-love-me-back-post-1-built-for-control-but-not-for-people&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fireborn.mataroa.blog&#x2F;blog&#x2F;i-want-to-love-linux-it-d...</a>
评论 #44048546 未加载
评论 #44042878 未加载
评论 #44041501 未加载
Night_Thastus4日前
I&#x27;ve been using WSL on and off for Linux development for the last few years.<p>When it works, it&#x27;s great! When it doesn&#x27;t....oh man it sucks. It has been non-stop networking and VPN problems, XServer issues, window scaling issues, hardware accelerated graphics not working, etc. this whole time. I&#x27;ve spent more time trying to fix WSL issues then actually developing software. It&#x27;s never gotten better.<p>It&#x27;s fast. It&#x27;s powerful. But using it as a daily driver is very painful in my experience. I avoid it as much as possible and do most of my work in MSYS2 instead. Sure, it&#x27;s much slower. But at least it <i>works</i> consistently and has for years.
评论 #44037690 未加载
评论 #44037821 未加载
评论 #44036650 未加载
评论 #44043006 未加载
评论 #44032533 未加载
评论 #44037444 未加载
elif4日前
Every time I praise WSL on hn I pay the karma tax but I will die on this hill. WSL is more powerful than Linux because of how easy it is to run multiple OS on the same computer simultaneously. It&#x27;s as powerful as Linux with some janky custom local docker wrappers for device support, local storage mapping, and network mapping. Except it&#x27;s not janky at all. It&#x27;s an absolute delight to use, out of the box, on a desktop or laptop, with no configuration required.<p>Edit: for clarity, by &quot;multiple OS&quot; I mean multiple Linux versions. Like if one project has a dependency on Ubuntu22 and another is easier with Ubuntu24. You don&#x27;t have to stress &quot;do I update my OS?&quot;
评论 #44032410 未加载
评论 #44032218 未加载
评论 #44034545 未加载
评论 #44031955 未加载
评论 #44032207 未加载
评论 #44032269 未加载
评论 #44032413 未加载
评论 #44032130 未加载
评论 #44033282 未加载
评论 #44034558 未加载
评论 #44032437 未加载
评论 #44031996 未加载
评论 #44032484 未加载
评论 #44034833 未加载
评论 #44033476 未加载
评论 #44032198 未加载
评论 #44033460 未加载
评论 #44032287 未加载
评论 #44031942 未加载
评论 #44032109 未加载
评论 #44032134 未加载
评论 #44033179 未加载
评论 #44035949 未加载
评论 #44034013 未加载
评论 #44031974 未加载
评论 #44032831 未加载
评论 #44032724 未加载
评论 #44032997 未加载
评论 #44036700 未加载
评论 #44037993 未加载
评论 #44033338 未加载
评论 #44032265 未加载
评论 #44032757 未加载
评论 #44035175 未加载
评论 #44036030 未加载
评论 #44036305 未加载
评论 #44032366 未加载
评论 #44037899 未加载
评论 #44037580 未加载
评论 #44036579 未加载
评论 #44036369 未加载
评论 #44033307 未加载
评论 #44033986 未加载
评论 #44037706 未加载
评论 #44035932 未加载
评论 #44035963 未加载
评论 #44033465 未加载
评论 #44037029 未加载
评论 #44031937 未加载
评论 #44032710 未加载
评论 #44032936 未加载
评论 #44033048 未加载
评论 #44034424 未加载
评论 #44031946 未加载
评论 #44032940 未加载
评论 #44035137 未加载
评论 #44032452 未加载
评论 #44032514 未加载
评论 #44032925 未加载
评论 #44033517 未加载
评论 #44033611 未加载
评论 #44032651 未加载
评论 #44032848 未加载
评论 #44034469 未加载
评论 #44032981 未加载
评论 #44038900 未加载
评论 #44035402 未加载
评论 #44033057 未加载
评论 #44033946 未加载
评论 #44032756 未加载
评论 #44032327 未加载
评论 #44036205 未加载
评论 #44032598 未加载
评论 #44033211 未加载
评论 #44032225 未加载
评论 #44035081 未加载
评论 #44032573 未加载
评论 #44032018 未加载
评论 #44032524 未加载
评论 #44036533 未加载
评论 #44032783 未加载
评论 #44035737 未加载
评论 #44031971 未加载
评论 #44032214 未加载
评论 #44033073 未加载
评论 #44034685 未加载
评论 #44032494 未加载
评论 #44032318 未加载
评论 #44037433 未加载
评论 #44033638 未加载
评论 #44033217 未加载
评论 #44036889 未加载
评论 #44032733 未加载
评论 #44035174 未加载
评论 #44034955 未加载
评论 #44034503 未加载
评论 #44037407 未加载
评论 #44035882 未加载
评论 #44034794 未加载
评论 #44037842 未加载
评论 #44036933 未加载
评论 #44034931 未加载
评论 #44033218 未加载
评论 #44036207 未加载
评论 #44033013 未加载
评论 #44032317 未加载
评论 #44032035 未加载
评论 #44033410 未加载
评论 #44032521 未加载
评论 #44032274 未加载
评论 #44032938 未加载
pjmlp4日前
Given the layoffs round from last week, in a record earnings year, I wonder if this is a side effect of those layoffs.
评论 #44032039 未加载
评论 #44035584 未加载
评论 #44031717 未加载
评论 #44031715 未加载
mrpippy4日前
Note that this doesn&#x27;t include lxcore.sys, the kernel side driver that powers WSL 1.<p>(Also, I&#x27;m surprised that WSL 1 is still supported. It must be in maintenance mode though, right?)
评论 #44034493 未加载
评论 #44032149 未加载
your_challenger3日前
WSL is a landmine of bad design. I lost all my data once, and that incident made me switch to a Mac.<p>Here&#x27;s how you can lose all your data - and Microsoft engineers won’t care: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;issues&#x2F;8992">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;issues&#x2F;8992</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;issues&#x2F;9830">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;issues&#x2F;9830</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;issues&#x2F;9049#issuecomment-2620221535">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;issues&#x2F;9049#issuecomment-26...</a>
评论 #44047395 未加载
评论 #44041113 未加载
评论 #44039848 未加载
udev40963日前
I still can&#x27;t believe how people use windows as their main system with all the extremely invasive telemetry and bogus &quot;AI&quot; features that hogs a LOT of resources at idle
评论 #44039650 未加载
评论 #44039519 未加载
评论 #44040293 未加载
评论 #44038995 未加载
评论 #44045150 未加载
评论 #44039784 未加载
评论 #44038396 未加载
评论 #44039310 未加载
评论 #44038633 未加载
palata4日前
Not a Windows user, but I think WSL is great. I see a lot of Windows user criticising Linux for... essentially not looking like Windows. &quot;Linux Desktop will never reach mass adoption unless it [something that boils down to &#x27;looks more like Windows&#x27;]&quot;.<p>The thing is: I consider myself a real Linux user, and I don&#x27;t want it to look like Windows. And I hate it when Windows people try to push Linux there, just because they want a free-with-no-ads version of Windows.<p>In that sense, if WSL can keep Windows users on Windows such that they don&#x27;t come and bother me on Linux, I&#x27;m happy :-).
评论 #44035696 未加载
dd_xplore3日前
People just want to bash Windows left n right. But no other OS in history has been this mature with handling GUI snd and providing the flexibility, customisations etc.<p>Before I say anything, Windows 11 is bad.<p>I remember playing with Win98, XP , I would modify many many registry settings, mod binary files to do something with games, you could access all sorts of weird hardware which only had drivers for windows!<p>Windows 98-7 were best for learning stuff about computers (inner workings etc).<p>I remember, to remove viruses (XP)I was trying to hard delete system 32 folder, it deleted lots of files and it continued to run!
behnamoh4日前
meanwhile Apple won&#x27;t even make it easy to boot Asahi Linux on Apple Silicon.
评论 #44032126 未加载
评论 #44032125 未加载
评论 #44032795 未加载
评论 #44032375 未加载
评论 #44032077 未加载
评论 #44034703 未加载
评论 #44032078 未加载
评论 #44068748 未加载
评论 #44032390 未加载
blindstitch4日前
I would love if the bug(s) with working on the windows filesystem from within wsl could now be fixed. <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;discussions&#x2F;9412#discussioncomment-11914903">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;WSL&#x2F;discussions&#x2F;9412#discussion...</a>
评论 #44033382 未加载
rnd03日前
&gt;Lxcore.sys, the kernel side driver that powers WSL 1<p>This isn&#x27;t open source, and considering that this is probably what ties into&#x2F;sets up WSL as a windows subsystem that&#x27;s a bit of a bummer.<p>The rest is just a Virtual Machine for the most part, isn&#x27;t it?
calvinmorrison3日前
WSL is amazing. Nothing short of it. My laptop SSD controller died on a conference. I bought a 200 dollar netbook running windows, installed WSL, downloaded the MDADM packages, was about to mount the encrypted drive with cryptsetup, mount the ext4 partition, then chroot into it, then my home drive was like working on my old laptop.<p>I did this in about 20 minutes, with the help of chatgpt.<p>In the end I was able to keep working through the trip and provide some demos to clients which landed us some big deals.<p>Go WSL!
tw19843日前
WSL is a stupid idea. Microsoft should just stop developing and maintaining its windows kernel and built a windows compatibility layer on top of Linux.
apatheticonion2日前
WSL1 got my hopes up that we were on the path to Windows supporting the Linux user space API but then it was cancelled and replaced with a virtual machine based solution that I didn&#x27;t need WSL2 to implement myself (with more flexability and capabilities).<p>I&#x27;d much prefer a proper compatibility layer that converts Linux system calls to their equivilent Windows calls and those calls be exposed from the Windows kernel itself.<p>That way I could just run Linux applications, bash, zsh and development tools directly on top of Windows without needing any &quot;remote development tools&quot; in my IDE or whatever.<p>Something closer to MSYS2&#x2F;git bash&#x2F;busybox for win - but where tools can ignore their Windows specific stuff like the filepath seperator.<p>It&#x27;s fine I guess
asim4日前
Wow. In 2009, when it looked like Microsoft was the most closed company of all time, I was telling people at work, they should port windows to the linux kernel. What happened over the next 15 years, I don&#x27;t think people would have believed it if you told them back then. Things have changed.. ALOT. Now granted, this isn&#x27;t what I said they should do, but you know, eventually they might see the light.
评论 #44034165 未加载
everdrive4日前
I&#x27;m not be sarcastic or funny when I ask this. Why isn&#x27;t this called the Linux subsystem for Windows? It seems like a Linux subsystem running on Windows. If it were the other way around, (ie, a Windows Subsystem for Linux) I&#x27;d think that Linux would be the primary OS, and something like WINE would the subsystem.
评论 #44037016 未加载
评论 #44034995 未加载
评论 #44034957 未加载
mlhpdx4日前
Not only open source, but extremely well documented.
anticensor4日前
WSL1 is the good one, WSL2 just runs Linux simultaneously alongside Windows.
hugo17894日前
Nice but where is the code? Is it just very, very incomplete or a joke?
评论 #44036540 未加载
abhisek4日前
Not sure about the impact of WSL because personally did not use it but I do know couple of friends who stopped spinning up Kali VM because of WSL.
labadal4日前
I never even realized that it was tivo-ized. Probably because I haven&#x27;t been on windows since before WSL became a thing.
crawsome4日前
M$ contributing to open source is great, but I switch to Linux because I don&#x27;t trust Windows, the OS. Not because of accessibility.
dbacar4日前
I have to use Windows as my main box after nearly 6 years of MacOS (and before that Mint) and WSL2 helps me keep my sanity.
mosfets4日前
WSL is the main reason I switched from Mac&#x2F;Linux to Windows two years ago. Excited to see this move!
评论 #44033257 未加载
Dwedit4日前
WSL1 was hobbled by needing to calculate Unix Permission numbers and hardlink counts for every file. On Windows, you need to create a handle to the file to get those things. That&#x27;s a file open on every file whenever you list a directory.
Animats4日前
Does this mean Microsoft is abandoning it as end of life? It&#x27;s hard to tell intent here.
评论 #44043364 未加载
bni4日前
Every time I read this product name I think that the words come in the wrong order.
评论 #44033734 未加载
throwaway484764日前
The title is misleading and ambiguous as to whether this applies to WSL1 or WSL2.
评论 #44036948 未加载
ryanhecht4日前
Maybe someone will finally build my dream: a WSL distro that I can also dual-boot natively. I&#x27;d love to switch between bare-metal Windows with WSL and bare-metal Linux with virtualized Windows at my leisure!
评论 #44032361 未加载
评论 #44032635 未加载
评论 #44033097 未加载
Vaslo3日前
WSL is amazing if you work for a non tech company that is a windows house but want to do development in Linux. It’s seamless (at least to my middle ability) for VS Code.
jve4日前
Sec guy (who was mainly a linux guy) was never happy to let people use WSL in corp due to security bugs.<p>Can anyone chime in - is this still a concern? Was it ever a concern?
评论 #44034949 未加载
评论 #44034330 未加载
评论 #44041193 未加载
评论 #44034746 未加载
karunamurti3日前
WSL is ok, I can run drop down terminal quickly to run any command and VS Code is well integrated with it. Too bad it&#x27;s very slow.
hk13373日前
I wonder if this is in any way connected to devcontainer becoming more prominent in Github and VSCode?
olav3日前
I&#x27;d rather stay in Linux and use Windows if I really must. Can we have an LSW, then?
评论 #44046714 未加载
评论 #44044616 未加载
评论 #44042413 未加载
pawanjswal3日前
WSL going open source is a huge win for devs. Can’t wait to see what the community builds with it!
husamia3日前
Microsoft is always too little too late just in time to save the day!
Boogie_Man4日前
Why isn&#x27;t it &quot;Linux Subsystem for Windows&quot; as it is a Linux subsystem running on a Windows os?
评论 #44035476 未加载
评论 #44034076 未加载
评论 #44034054 未加载
评论 #44034317 未加载
OhMeadhbh4日前
Cool! This means I can fix mDNS now!
candiddevmike4日前
Can I use a vanilla kernel with it yet?
评论 #44033692 未加载
评论 #44032164 未加载
评论 #44032014 未加载
mdtrooper4日前
Is it a good news for Wine or ReactOS (Can they learn something to improve their projects)?
评论 #44034901 未加载
评论 #44034815 未加载
sigmonsays4日前
what if this really is a long haul embrace, extend, extinguish. Guess time will tell
thrownaway5613日前
WSL along with VSCODE has been a godsend for Rails development.
sneak4日前
Microsoft doesn’t like open source software. This is cosplay.<p>Microsoft releases the important parts of VS Code under proprietary licenses. Microsoft doesn’t release the source code for Windows or Office or the github.com web app under free software licenses.<p>Don’t get it twisted. This is marketing, nothing more.
评论 #44036769 未加载
abshkbh4日前
Amazing, I briefly worked on WSL v1 in 2015! 10 years and going
coldblues4日前
Copying files between Windows and WSL is EXTREMELY slow. I really wanted to give Windows a chance but the slowness completely destroyed that chance, along with the lack of hardware acceleration for GUI applications.
评论 #44034800 未加载
stopthe4日前
A lot of people here are saying nice things about having dev environment on WSL. Honest question: how do you deal with with those minor but insufferable Windows&#x27; quirks like 0d0a line endings, selective Unicode support, byte-order-marks and so on.<p>While right now I enjoy the privilege to develop on Linux, things may change.
评论 #44037517 未加载
评论 #44037685 未加载
评论 #44036627 未加载
评论 #44043485 未加载
评论 #44043251 未加载
dataflow4日前
Anybody know what the deal is with neither Oracle nor Microsoft trying to make it possible for VirtualBox and WSL2 to coexist without severe performance impact? What the heck is the issue that neither side knows how to solve? Or is there a deliberate business decision not to solve it?
评论 #44036699 未加载
ewy14日前
While I had to, I enjoyed using WSL1 on Windows. It was disappointing to find WSL2 has no user upside; it just discards the benefits of WSL1 in favor of the simpler implementation.<p>Shame for all of the people who worked hard on WSL1 only to be virtualized into nonexistence.
open-paren4日前
What distros are y&#x27;all using on WSL?
评论 #44047560 未加载
评论 #44042998 未加载
qwertox4日前
I despise Windows 11 so much, but have to use it. I have a 24&#x2F;7 box with Ubuntu running a couple of Linux and Windows VMs and that&#x27;s the way I like it. I don&#x27;t touch the Ubuntu host except for when I need to reconfigure it.<p>All development is done on Windows laptop via SSH to those VMs. When I tried using Ubuntu via WSL, something didn&#x27;t feel right. There were some oddities, probably with the filesystem integration, which bothered me enough to stop doing this.<p>Nevertheless, I think it&#x27;s really great what they now did.<p>Now all what&#x27;s missing is that they do it the other way around, that they create a 100% windows compatible Wine alternative.
评论 #44036581 未加载
nar0013日前
I hope they&#x27;ll do WSA next!
roundup3日前
Is there fuzzing documentation?
nsxwolf4日前
I still don’t understand the naming. It’s a Windows subsystem that runs in Linux? But it’s a way to run a Linux environment on Windows?
broknbottle4日前
Podman offers the same experience natively but also supports VMs via podman machine.
xyst4日前
Internal WSL maintainers must have been hit particularly hard by the quarterly layoffs.
attah_4日前
Still named backwards.
atoav3日前
WSL in combination with the enshittification of Windows was the thing that finally convinced me to switch from Windows as a main driver to Kubuntu&#x2F;Linux.<p>KDE Plasma is IMO the best grapical desktop environment at the moment, including MacOS.
nottorp4日前
That page has no mention of the actual license though.
评论 #44033977 未加载
cranium3日前
And now for the reverse (Windows on Linux): <a href="https:&#x2F;&#x2F;github.com&#x2F;winapps-org&#x2F;winapps">https:&#x2F;&#x2F;github.com&#x2F;winapps-org&#x2F;winapps</a>
tonyhart73日前
why is not called Linux subsystem for windows??? or its just programmer bad naming things
评论 #44037871 未加载
评论 #44038430 未加载
varbhat4日前
Cool! Now make Microsoft Office Open Source! I understand you won&#x27;t,so atleast release the Linux versions of them!
评论 #44036610 未加载
评论 #44034976 未加载
froh4日前
great news :-)<p>now how about mainlining the kernel patches?<p>so we get a chance of a more current and Linux distro provided wsl kernel :-)? <a href="https:&#x2F;&#x2F;github.com&#x2F;issues&#x2F;created?issue=microsoft%7CWSL%7C11071">https:&#x2F;&#x2F;github.com&#x2F;issues&#x2F;created?issue=microsoft%7CWSL%7C11...</a>
badmonster4日前
big news
jleyank4日前
Check the license and its details. This might be great, or it might be MS looking to get free help. Especially with dev layoffs.
评论 #44032195 未加载
lenerdenator4日前
Killer.<p>Now do NT.
评论 #44034367 未加载
Matl4日前
OT but the name irks me; Windows subsystem for Linux makes it sound like some sort of official Wine layer. It&#x27;s a Linux subsystem for Windows if anything.<p>It makes it sound like Microsoft is giving some capability to Linux whereas it&#x27;s the other way around.
评论 #44032450 未加载
评论 #44032240 未加载
评论 #44032246 未加载
评论 #44036848 未加载
评论 #44038830 未加载
评论 #44032536 未加载
评论 #44049188 未加载
评论 #44035324 未加载
评论 #44052486 未加载
wiseowise4日前
And written in C#!<p>Right?<p>Right?…
gjvc4日前
microsoft open sourcing a lot of things lately
评论 #44031993 未加载
评论 #44032165 未加载
评论 #44038014 未加载
singularity20014日前
couldn&#x27;t they have saved millions of dollars if they open sourced it earlier?
评论 #44032439 未加载
shutterstock4日前
WSL caused me to just install Ubuntu right over my Windows installation. That is how useful it was for me.