Get the latest tech news

Randomness on Apple Platforms (2024)


In this post I’d like to lead you through my journey trying to discover the “best” way to obtain randomness on Apple platforms.1 The goal throughout will be to get as close to the underlying hardware random number generators as the system allows by stripping away layers of abstraction one by one. Once we have a comprehensive picture of the entire system, I’ll walk you through my opinions on which use-cases are best served by which APIs.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of randomness

randomness

Photo of Apple platforms

Apple platforms

Related news:

News photo

Random Font – a typographic experiment exploring randomness [pdf]

News photo

How randomness improves algorithms (2023)

News photo

The Social Media Trend Machine Is Spitting Out Weirder and Weirder Results | Trends always have an element of randomness, but our algorithmic feeds have made them unintelligible.