Unverified Commit e639060b authored by mgt/Enter-tainer's avatar mgt/Enter-tainer Committed by GitHub
Browse files

Update docs/tools/wsl.md

parent cff3035e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ WSL 的机制,总体上是在运行时将 Linux 系统调用翻译为 NT API
如果你经常使用 WSL 来访问 Windows 文件系统上的项目文件,那么建议你使用 WSL 1,因为跨 OS 文件系统具有更高的性能。


传统的虚拟机可能有启动速度慢,消耗大量资源等问题,需要花费时间进行管理。而 WSL 2 没有这些属性。
WSL 2 有 WSL 1 的优点,包括 Windows 和 Linux 之间的无缝集成,启动时间短,资源占用量少,并且无需 VM 配置或管理。虽然 WSL 2 确实使用 VM,但 VM 是在幕后管理和运行的,因此你将具有与 WSL 1 相同的用户体验。

## 启用 WSL