Get the latest tech news
Writing a Rust compiler in C
To bootstrap Rust, no cost is too great.
I’ve been the subject of a truly apocalyptic series of life events, including the death of a relative that rattled me to my core. This seed contains what’s possibly the simplest compiler you can imagine: it takes hexadecimal digits and outputs the corresponding raw bytes. Anyhow, you’ve essentially gone from “a binary blob small enough to be manually analyzed” to Linux, GCC, and basically everything else.
Or read this on Hacker News