Computers are fast
• 78 words • 1 min • updated
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
Let’s find out how well you know computers! All of these programs have a variable NUMBER in them. Your mission: guess how big NUMBER needs to get before the program takes 1 second to run.
You don’t need to guess exactly: they’re all between 1 and a billion. Just try to guess the right order of magnitude!
This is basically an interactive version of Latency Numbers Every Programmer Should Know, originally coined by Jeff Dean.