hackclub / putting-the-you-in-cpu

A technical explainer by @kognise of how your computer runs programs, from start to finish.
https://cpu.land
MIT License
4.71k stars 145 forks source link

Is this calculation correct? #45

Open jasond1016 opened 9 months ago

jasond1016 commented 9 months ago

Hi there, thank u for these amazing articles, I'm really enjoying it!

One little typo I've found, https://github.com/hackclub/putting-the-you-in-cpu/blame/7550bc67f911795f356c36502bdaa645a0f1400a/src/content/chapters/5-the-translator-in-your-computer.mdx#L89

48 bits gets you a 128 TiB virtual address space

It seems 256 TiB is the right number if I'm calculating it right. 2^48 = 2^8 1024(2^10) 1024(2^10) 1024(2^10) 1024(2^10) = 256 TiB