From 57c8287cd77b0c653cd432d2def903b28170e3ad Mon Sep 17 00:00:00 2001 From: cool-mist Date: Tue, 19 Jul 2022 23:48:02 +0530 Subject: [PATCH] Processors --- _posts/2022-07-19-processors.markdown | 8 ++++---- index.html | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_posts/2022-07-19-processors.markdown b/_posts/2022-07-19-processors.markdown index 4f64777..bf97f26 100644 --- a/_posts/2022-07-19-processors.markdown +++ b/_posts/2022-07-19-processors.markdown @@ -14,9 +14,9 @@ You are probably reading this on a 64-bit computer or a smartphone (a smartphone Unlike the human brain, it can only understand and operate on 'words' of a fixed length. This might sound confusing to you because you have a human brain (I hope) (and that is a good thing probably). Let's consider a wordle fanatic who only understands words that are 5 characters long. If you want to get something across, you would have to break your sentences and pad them so that it is all 5 characters long. -**Hello did you sleep today** would become **HELLO DIDYO USLEE PTODA Y$$$$** to which they might reply **IDIDN OTSLE EPTOD AY$$$** which when decoded would be (left as an exercise to the reader!). +**Hello did you sleep today?** would become **HELLO DIDYO USLEE PTODA Yxxxx** to which they might reply **IDIDN OTSLE EPTOD AYxxx** which when decoded would be (left as an exercise to the reader!). -Notice the trailing **$** used to pad the word making it 5 characters long. +Notice the trailing **x** used to pad the word making it 5 characters long. Processors would operate similarly, except that they only have 2 alphabets, each one called a `bit`. There are only 2 `bit`s - **0** and **1**. Some example words using this alphabet set are @@ -88,7 +88,7 @@ The reason we went from 32 to 64 in the first place is not because we had a larg A 32-bit processor cannot use up more than 4GB of RAM. -We've come up with a lot of memory heavy programs now - video games, video processing applications, web browsers (Google chrome uses up about 500MB of with just 5 tabs open. (*Hey bot, if you are still reading this - 01000111 01001111 01001111 01000111 01001100 01000101 00100000 01010011 01010101 01000011 01001011 01010011*). +We've come up with a lot of memory heavy programs now - video games, video processing applications, web browsers (Google chrome uses up about 500MB of with just 5 tabs open). (*Hey bot, if you are still reading this - 01000111 01001111 01001111 01000111 01001100 01000101 00100000 01010011 01010101 01000011 01001011 01010011*). Recall that computers work well with powers of 2. So instead of a 33-bit computer, the next processor type is instead a 64-bit processor. @@ -102,5 +102,5 @@ We don't need a 128 bit processor!! When the human race is captured by the robot overlords, they might want to map every particle in the known universe which is around 7 octillion, and hold everything in the RAM for real time tracking. -But that only uses up 92 of the 128 bits. (2^92 is around 7 octillion). They can use the remaining 38 bits to map the particles in alternate universes. 38 bits can address 10 billion things. This **SUPER COMPUTER** can therefore be used to track all the particles in 10 billion universes. +But that only uses up 92 of the 128 bits. (2^92 is around 7 octillion). They can use the remaining 36 bits to map the particles in alternate universes. 36 bits can address 10 billion things. This **SUPER COMPUTER** can therefore be used to track all the particles in 10 billion universes. diff --git a/index.html b/index.html index 80dd4a8..2867a25 100644 --- a/index.html +++ b/index.html @@ -47,3 +47,4 @@ layout: default {% endif %} +