One second code: Do YOU know how much your computer can do in a second?
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.
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! A few notes: If the answer is 38,000, both 10,000 and 100,000 are considered correct answers. The goal is to not be wrong by more than 10x :) We know computers have different disk & network & CPU speeds! We're trying to get you to tell the difference between code that can run 10 times/s…
saved by
related reading
- Numbers Every Programmer Should Know By Yearcolin-scott.github.io
- Production Twitter on One Machine? 100Gbps NICs and NVMe are fast - Tristan Humethume.ca
- Intro - Putting the "You" in CPUcpu.land
- Teach Yourself Programming in Ten Yearsnorvig.com
- The "Basics" | Putting the "You" in CPUcpu.land
- Who Can Name the Bigger Number?scottaaronson.com
- Can LLMs Be Computers?percepta.ai
- Online Judge / LeetCode System Design | System Design Interviewsystemdesignschool.io
- Programming a Guessing Game - The Rust Programming Languagedoc.rust-lang.org
- Write your Own Virtual Machinejmeiners.com
- Get better at programming by learning how things workjvns.ca
- Let’s Handle 1 Million Requests per Second, It’s Scarier Than You Think!youtube.com