Locality benchmark
A C benchmark timing row-major, column-major and scrambled-order traversal of a 645 MiB matrix, with the machine it was measured on.
locality-benchmark.c
Every file here exists because a brief makes a claim it lets you check. Each one is served verbatim, and shown with the output and the machine it was recorded on.
A C benchmark timing row-major, column-major and scrambled-order traversal of a 645 MiB matrix, with the machine it was measured on.
locality-benchmark.c
Two Python password generators separated by a single import, with the output that proves running them cannot tell you which is safe.
password-random.py · password-secrets.py
Two C password generators where the second corrects the visible bug competently and is still predictable, with the runs that show it.
password-rand.c · password-srand.c