Processors

This commit is contained in:
cool-mist 2022-07-19 23:48:02 +05:30
parent db5fdb3e2b
commit 57c8287cd7
2 changed files with 5 additions and 4 deletions

View File

@ -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 <sub>probably</sub>). 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. 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 <sub>probably</sub>). 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 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. 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. 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. 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.

View File

@ -47,3 +47,4 @@ layout: default
</div> </div>
{% endif %} {% endif %}
</div> </div>