Russ Cox personal blog

Using uninitialized memory for fun and profit (2008)

This is the story of a clever trick that's been around for at least 35 years, in which array values can be left uninitialized and then read during normal operations, yet the code behaves correctly no matter what garbage is sitting in the array. Like the best programming tricks, this one is the right tool for the job…
Points
120
HN comments
81
Submissions
2
Cited by
5 commenters

Software EngineeringSystems & Performance2023

On Hacker News

SubmittedTitle on HNPointsComments
Sep 2, 2023Using uninitialized memory for fun and profit (2008) by Smaug12312067
Feb 8, 2012Using Uninitialized Memory for Fun and Profit by mmastrac6014

Cited in comments

Linked from 5 Hacker News comments by 5 different people, from Jul 2014 to Dec 2023.

Most recent:

Search every comment that links here →

More from Russ Cox

All 43 posts →

Related posts from the same era