Get the latest tech news

Learn Rust the Dangerous Way


is a series of articles putting Rust features in context for low-level C programmers who maybe don’t have a formal CS background — the sort of people who work on firmware, game engines, OS kernels, and the like. Basically, people like me.

LRtDW is a series of articles putting Rust features in context for low-level C programmers who maybe don’t have a formal CS background — the sort of people who work on firmware, game engines, OS kernels, and the like. A more perfect union: considering alternatives to pointer casting, and how to write safe wrappers for unsafe operations. Let the compiler do the work: a bonus section that looks at how we’d write the program idiomatically in native Rust, and rely on auto-vectorization to make it fast.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Dangerous Way

Dangerous Way

Photo of Learn Rust

Learn Rust