Skip to content

Instantly share code, notes, and snippets.

View PeyTy's full-sized avatar
🍵
Sipping my tea [:

Miraculous Ladybugreport PeyTy

🍵
Sipping my tea [:
View GitHub Profile
@PeyTy
PeyTy / The Great Kernel Clash.md
Created February 15, 2025 17:34
The Great Kernel Clash

Title: "The Great Kernel Clash: Rusty Revolutions & Linus’s Last Stand"

In a plot twist no one saw coming (except everyone), the Linux kernel community has been rocked by a spicy drama involving Asahi Lina (a.k.a. the GPU sorceress), Linus Torvalds (the kernel’s grumpy grandpa), and a programming language so hipster it makes avocado toast look basic: Rust.


Act 1: The Rise of the Rust Crusader

Asahi Lina, famed for reverse-engineering Apple’s M1 GPU using Python scripts and sheer audacity , decided to write the world’s first Rust-based GPU driver for Linux. Why? Because manually debugging C code’s segfaults was too mainstream. “Rust’s like a helicopter parent,” she declared. “It won’t let you forget to initialize variables, even if you’re literally rendering a spinning cube in the kernel!” .

But not everyone was thrilled. When Lina tried to merge her Rust driver, Christoph Hellwig, a C-ode traditionalist with 20+ years of kernel cred, blocked the patch,

I'm pretty sure people would ask me about this.

Why not create a yet another Linux distro?

My personal experience covers:

  • Ubuntu 12.04 LTS and newer releases since then
  • ArchLinux (Antergos)
  • Kubuntu
  • Puppy

Hi! This is my idea about the feature I want to add into my own language Hexa* and especially Zig** (because it fits Zig very well!).

* not promoting Hexa here, really want Zig to fight Rust "monopoly" on safe memory management

** very unlikely that I will implement it myself, hopefully someone will be yakbaited

I was evaluating usage of Zig for my projects and never liked the absence of any assisted memory managemnt (defer is not really a solution to complex memory issues but it doesn't matter on the subject) (and Rust is too annoying to deal with).