Qt toolkit is removing direct usage of CPU RDRAND and RDSEED instructions for random number generation, switching to OS-supplied entropy instead. Benchmarks show OS-provided generators (getrandom, /dev/urandom) are significantly faster than hardware instructions—filling 1GB takes 1.5-2.6 seconds via OS methods versus 79-242 seconds using RDRAND/RDSEED. The change also eliminates Qt's need to handle broken hardware RNG implementations, particularly relevant after AMD Zen 5's RDSEED bug. QRandomGenerator will now rely on OS-specific generators without meaningful quality differences.

2m read timeFrom phoronix.com
Post cover image

Sort: