Ilya Brin - Software Engineer

History is written by its contributors

WireGuard: The Most Elegant VPN Ever Built

2026-05-04 9 min read Security Networking Vpn Ilya Brin

Hey, paranoid friend! 👋

WireGuard isn’t just another VPN protocol. It’s a reimagining of what network code should look like: ~4,000 lines versus 400,000 in OpenVPN. Less code = fewer vulnerabilities = smaller attack surface.

But most WireGuard articles are just “copy this config and run” tutorials. Today we’re going deep: how it works under the hood, which parameters actually matter for privacy and speed, and why Linus Torvalds called it a work of art.

Continue reading

Multitasking in Linux: Preemptive vs Non-Preemptive

2025-11-29 6 min read Operating Systems Ilya Brin

Multitasking is the operating system’s ability to execute multiple tasks simultaneously. But “simultaneously” is an illusion. In reality, the processor switches between tasks so quickly that it creates the impression of parallel work.

Understanding how multitasking works is critical for writing efficient applications and understanding system behavior under load.

Continue reading