TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Windows Subsystem for Linux 2.0 release

74 点作者 lnyan超过 1 年前

17 条评论

wtallis超过 1 年前
... Not to be confused with WSL 2, the VM-based successor to WSL 1&#x27;s tighter integration of Linux binary compatibility into NT. Both WSL 1 and WSL 2 seem to still be delivered as part of the package that has just reached version 2.0.0, though it doesn&#x27;t seem WSL 1 is getting much (if any) work these days as it&#x27;s considered a technological dead-end.<p>(And in case anyone&#x27;s interested, it appears WSL 2 was added before this package reached 1.0)
评论 #37566000 未加载
评论 #37565814 未加载
cloudking超过 1 年前
Developing code in the same OS you play Baldur&#x27;s Gate 3 in is the real win. Thanks Microsoft
评论 #37565828 未加载
评论 #37565951 未加载
评论 #37565922 未加载
tomohelix超过 1 年前
Honestly, whoever convinced Microsoft to make Linux run in windows was a genius. I would have seriously considered a Mac had they not done this. It just opens so many possibilities in Windows for me and all of it is so easy and simple to setup.
评论 #37565868 未加载
评论 #37565839 未加载
评论 #37572199 未加载
threatripper超过 1 年前
The naming causes some confusion to me. I thought there was WSL and then they released WSL2 quite some time ago. Is this WSL1 version 2 or WSL2 version 2?
评论 #37565792 未加载
评论 #37565902 未加载
评论 #37565864 未加载
评论 #37565797 未加载
baq超过 1 年前
&gt; experimental.networkingMode - A new networking mode for WSL that adds new features and improves network compatibility<p>&gt; experimental.dnsTunneling- Changes how WSL resolves DNS requests to improve network compatibility<p>&gt; experimental.firewall- Applies Windows firewall rules to WSL, and allows for advanced firewall controls for the WSL VM<p>&gt; experimental.autoProxy- Makes WSL automatically use the proxy information from Windows to improve network compatibility<p>Had to work around these back in 2020-ish… finally a way to run WSL2 with Cisco VPN without horrible hacks? Fantastic!
评论 #37566237 未加载
timost超过 1 年前
This release improves memory management (automatic reclaim) and network compatibility.
评论 #37565723 未加载
评论 #37565756 未加载
评论 #37565753 未加载
sverhagen超过 1 年前
Following it from a distance, I think WSL has been a very exciting development on Windows. It&#x27;s really something I would probably have enjoyed more upclose, had I not, you know... moved to Ubuntu altogether :)
CJefferson超过 1 年前
I&#x27;m going to wait a while to see how the new VPN stuff works out. Previously WSL2 didn&#x27;t work with a Windows VPN without an extra tool ( <a href="https:&#x2F;&#x2F;github.com&#x2F;sakai135&#x2F;wsl-vpnkit">https:&#x2F;&#x2F;github.com&#x2F;sakai135&#x2F;wsl-vpnkit</a> ), hopefully this might fix things, but not going to risk trying it in case it breaks everything.
评论 #37565895 未加载
AndrewDavis超过 1 年前
Please correct me if I&#x27;m wrong. This isn&#x27;t a release but a &quot;re-release&quot; right? So only available to those on Windows insider update train?<p>Putting that aside. I am quite excited about the mirror network change. My big annoyance when I moved from WSL1 to WSL2 was that a service run inside WSL wasn&#x27;t available to the my LAN. It made sense why it didn&#x27;t, WSL2 is a hardware VM so you weren&#x27;t binding on the hosts networking stack like WSL1, but it was still annoying.
throwaway798214超过 1 年前
WSL1 is what keeps me on Windows - but I don&#x27;t understand why they keep calling WSL2 &quot;WSL&quot; as it has nothing to do with the traditional &quot;Windows service for XXX&quot; model. For better or worse WSL2 is just a virtual machine, nothing else, while WSL1 actually integrates with the underlying Windows with a single network stack etc.
评论 #37567205 未加载
Falmarri超过 1 年前
Ok, how do I actually install this? `wsl --update` says I&#x27;m up to date, but wsl --version` shows `WSL version: 1.2.5.0`.
评论 #37578696 未加载
fabian2k超过 1 年前
The ability to release memory could be very useful. WSL2 works very well for me in general, but on a Notebook without excessive RAM it can be problematic for some use cases. Anything that has large spikes in memory usage can be seriously annoying as that memory won&#x27;t be released in the current WSL2.
bakugo超过 1 年前
Let me guess, they still haven&#x27;t fixed the sleep&#x2F;hibernation bug that has been present for many years?
评论 #37565969 未加载
评论 #37566086 未加载
评论 #37566009 未加载
hs86超过 1 年前
Corresponding blog post: <a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;commandline&#x2F;windows-subsystem-for-linux-september-2023-update&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;commandline&#x2F;windows-subsystem...</a>
smokel超过 1 年前
As others mention, the versioning scheme is confusing. I&#x27;d like to add that I found even the <i>name</i> confusing, as I initially thought that this would allow some parts of Windows to run on Linux.<p>&quot;Linux Subsystem for Windows&quot; would have made a lot more sense to me.
评论 #37566039 未加载
idatum超过 1 年前
Biggest potential I see with this update is IPv6 support.
mythz超过 1 年前
I&#x27;ve been a big fan of WSL, which has kept me on Windows for years more than I otherwise would have. But I&#x27;m not a fan of the trend of Windows turning into an adware hosting platform so intend to move to macOS for my primary Desktop after Apple release their next M3 hardware.<p>As a .NET Developer I bought a new M2 Macbook Air to test the feasibility of moving to ARM&#x2F;Apple Silicon and was pleasantly surprised that all the software I used daily had native builds that worked OOB [1]. I was also able to run Windows 11, Ubuntu and Fedora ARM OS&#x27;s with UTM [2], which lets me access Windows should I ever need to.<p>As nice as WSL is, it&#x27;s not as nice as having a native Unix terminal as it still feels like your living in 2 different worlds. It&#x27;s always going to be uncanny valley where you need to install software tools twice per OS (and upgraded in-sync) and the cross-OS file system performance is so unusably slow that it may as well not exist as you&#x27;re basically forced to check out repos in each filesystem. Also ran into a number of situations where building and using WSL tools isn&#x27;t as well supported as Linux&#x2F;macOS.<p>By contrast everything I tried to install seemed to work on macOS, where I was able to build and try out LadyBird Browser&#x27;s new native macOS UI [3] and install all the tools I needed run and test out local AI workflows [4], e.g. this command below uses ffmpeg to capture 5s of microphone recording, uses OpenAI&#x27;s whisper to transcribe the audio to text, uses curl to send it to a remote API to generate an LLM prompt, that gets executed with a local install of Llama2 7B:<p><pre><code> ffmpeg -f avfoundation -i &quot;:1&quot; -t 5 order.mp3 \ &amp;&amp; whisper --language=en --fp16 False --output_format txt order.mp3 \ &amp;&amp; curl --get --data-urlencode &quot;userMessage=$(cat order.txt)&quot; \ https:&#x2F;&#x2F;coffeeshop.netcore.io&#x2F;coffeeshop&#x2F;prompt | llm -m l2c </code></pre> Maybe you can achieve similar functionality in Windows&#x2F;WSL, but it&#x27;s nicer when all the tools you want to use just works natively.<p>[1] <a href="https:&#x2F;&#x2F;servicestack.net&#x2F;posts&#x2F;postgres-mysql-sqlserver-on-apple-silicon" rel="nofollow noreferrer">https:&#x2F;&#x2F;servicestack.net&#x2F;posts&#x2F;postgres-mysql-sqlserver-on-a...</a><p>[2] <a href="https:&#x2F;&#x2F;mac.getutm.app" rel="nofollow noreferrer">https:&#x2F;&#x2F;mac.getutm.app</a><p>[3] <a href="https:&#x2F;&#x2F;twitter.com&#x2F;awesomekling&#x2F;status&#x2F;1694954938395202031" rel="nofollow noreferrer">https:&#x2F;&#x2F;twitter.com&#x2F;awesomekling&#x2F;status&#x2F;1694954938395202031</a><p>[4] <a href="https:&#x2F;&#x2F;servicestack.net&#x2F;posts&#x2F;building-typechat-coffeeshop-gpt#local-ai-workflows" rel="nofollow noreferrer">https:&#x2F;&#x2F;servicestack.net&#x2F;posts&#x2F;building-typechat-coffeeshop-...</a>