Skip to content
daniel@cosenza:~/blog

post type

Deep Dive

Conceptual, architectural explainers — how a subsystem actually works underneath.

WSLDeep Dive August 11, 2026 2 min read

How WSL Actually Packages and Distributes Linux Distros

Installing Ubuntu via the Microsoft Store feels like installing any other app. Underneath, WSL distros are root filesystem tarballs registered with a small platform layer — and that model is what makes import/export and custom distros possible.

#deep-dive#wsl2#distros
Read more
WSLDeep Dive August 10, 2026 2 min read

How WSL2 Actually Manages Memory (and Why vmmem Grows)

WSL2's lightweight VM claims memory dynamically as Linux processes need it — but historically gave that memory back to Windows only reluctantly. Here's what's actually happening, and what you control via .wslconfig.

#deep-dive#wsl2#memory
Read more
WSLDeep Dive August 8, 2026 3 min read

How WSLg Gets a Linux GUI Window Onto Your Windows Desktop

Running a Linux GUI application inside WSL and having its window appear alongside your native Windows apps looks like magic. It's actually a full Wayland compositor and audio system, tunneled over RDP, running invisibly.

#deep-dive#wslg#gui
Read more
WSLDeep Dive August 7, 2026 2 min read

WSL2's Networking Modes: NAT and Mirrored, Explained

WSL2's original networking design put it behind its own virtual network, invisible to the rest of your LAN by default. Mirrored networking mode, added later, takes a fundamentally different approach — and each has real tradeoffs.

#deep-dive#wsl2#networking
Read more
WSLDeep Dive August 6, 2026 2 min read

How WSL Bridges Two Completely Different Filesystems

Linux and Windows filesystems handle permissions, case sensitivity, and paths in fundamentally different ways. WSL's cross-OS file access works by translating between them at the protocol level — and that translation has real performance costs.

#deep-dive#wsl2#filesystem
Read more
WSLDeep Dive August 5, 2026 2 min read

The Linux Kernel Microsoft Actually Maintains for WSL2

WSL2 doesn't borrow a distro's kernel — Microsoft maintains its own fork, patched specifically for the virtualized environment WSL2 runs in, and ships it independently of both Windows and any Linux distro's own kernel.

#deep-dive#wsl2#kernel
Read more