Hacker News new | ask | show | jobs
by ActorNightly 16 days ago
They did put linux on it. https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux
2 comments

That's not Linux, that's a VM running Linux on Windows. Not very satisfying if you want the real thing, or want a real Linux DE.
>that's a VM running Linux on Windows

While thats true, its not what you think it is. WSL1 was VM in a traditional sense, it ran under windows. When you install WSL2, it basically changes your computer core OS to be a bare metal hypervisor (specialized version of Hyper V). Its the same concept as any cloud provider letting people provision VMs that run at native performance on the actual hardware. So WLS2 can talk to hardware like Graphics cards natively, and request ram on demand.

You can also install windows managers in WSL2. For example https://github.com/Lamarcke/i3-on-wsl. You can also install rainmeter on windows https://www.rainmeter.net/ if you want customizability. You can make windows look exactly like mac os with that.

WSL 1 was not a VM in a traditional sense. WSL 1 was a Windows subsystem which translated Linux syscalls into NT syscalls (e.g. file open). NT has capabilities there from its origins in the 90s supporting in theory user spaces for posix/os2/...
Syscall translation is pretty much what userland vm software does.
Interix was better! I look back fondly on my Gentoo GNU/Windows desktop. Imagine a full first rate native POSIX subsystem, with equal footing to Win32. The things we lost over the decades, I could cry...

WSL is second rate, comparatively.