CodeHero · Technical Blog

How Computers & AI Actually Work

Deep dives into programming, systems, computer architecture, and the technology behind modern AI — explained from the ground up.

Featured

{ }
os

Why C Still Rules the Kernel (Even After Rust Arrived)

For more than 50 years C has powered every major operating system, and the Linux kernel is still tens of millions of lines of it. Rust now compiles inside the kernel itself — so why has C not been replaced? The kernel, the FFI bridge, and the engineering reasons the future is C and Rust, not C versus Rust.

Latest

Latest Articles

rust

Why Rust Has No NULL (And C Still Does)

C hands you NULL and quietly trusts you to check it. Rust deletes NULL from the language entirely and turns "the value might be missing" into a compile-time error — while still costing zero extra bytes. Tony Hoare’s Billion Dollar Mistake, from the segfault to the match.

rust

Ownership: The Secret of Rust's Power

In C, memory is a shared pizza — anyone can grab a slice, and anyone can throw the whole thing away. Rust replaces the pizza with a relay race: three ownership rules, moves, and borrowing, all enforced by a compiler that slaps your hand before the bug ever ships.

@luchangningCodeHero

Prefer watching instead?

Visual explanations of systems, programming, computer architecture, and AI internals.