Clarification regarding the Randomness section

kpcyrd kpcyrd at archlinux.org
Thu Nov 19 00:05:01 UTC 2026


On 11/17/26 4:06 PM, Yaxuan Wen via rb-general wrote:
> Could you clarify what is meant by randomness in "data stored in data
> structures"? Are you referring to nondeterministic iteration order in data
> structures (e.g., hash tables with randomized hash seeds), or something
> else?
> 
> I noticed that the documentation also discusses random seeds and
> pseudo-random number generators in the separate Randomness page
> <https://reproducible-builds.org/docs/randomness/>. It seems that
> randomness from random seeds, nondeterministic ordering in data structures,
> and nondeterminism caused by parallel execution are different mechanisms
> that may require different mitigation strategies. Would it make sense to
> distinguish them more explicitly, potentially as separate categories in the
> documentation?
> 
> I'd be interested in hearing your thoughts on this distinction.
Hi!

There's a related page here that covers hashmaps and ordering in general:

https://reproducible-builds.org/docs/stable-outputs/

I assume the intention of the randomness page is about "deliberately reading 
bytes from a random number generator and embedding them into the binary", or 
using them to calculate hashes that end up in the final build output. I believe 
I've seen things like that, but I don't remember any real world examples right now.

I agree the page could be updated to reflect this better. :)

cheers,
kpcyrd


More information about the rb-general mailing list