CPU vs GPU vs TPU vs DPU vs QPU

Поділитися
Вставка

КОМЕНТАРІ • 1,9 тис.

  • @galfromtheinternet
    @galfromtheinternet Рік тому +5782

    man, you are so good at explaining things and combining memes. prodigy.

  • @elliotkopitske6222
    @elliotkopitske6222 Рік тому +38

    This is the most comprehencive CPU vs GPU vs TPU vs DPU vs QPU guide I have ever seen

  • @HerrMustermann
    @HerrMustermann Рік тому +5863

    When you introduce CPU, GPU, TPU, DPU, and QPU at a party, CPU says 'I'm versatile', GPU says 'I'm visual', TPU says 'I'm trending', DPU says 'I'm data-centric', and QPU? Well, it's quantum; it knows all the answers, but when you look at it, it just says 'Maybe...'

    • @cosmos0909
      @cosmos0909 Рік тому +180

    • @ikedacripps
      @ikedacripps Рік тому +100

      Maybe…

    • @madhououinkyoma
      @madhououinkyoma Рік тому +26

      Nice try

    • @RADIT-ip3eq
      @RADIT-ip3eq Рік тому +81

      So, schrodingus processor?0

    • @N.i.a.m.a.t.u.l.l.a.h
      @N.i.a.m.a.t.u.l.l.a.h Рік тому +244

      When you compare CPU, GPU, TPU, DPU, and QPU to superheroes, CPU is like Batman, GPU is like Superman, TPU is like Flash, DPU is like Cyborg, and QPU? Well, it’s quantum; it’s like Doctor Strange, but when you ask it to save the world, it just says ‘There are 14 million possibilities…’

  • @yehitecharts
    @yehitecharts Рік тому +100

    BRO! 6:16 was the MOST comprehensive visualization of matrix multiplication I've seen and I've watched several videos and tried reading several books because I've been self-studying and I came to the conclusion that I need a tutor or something but wow bravo. That actually made me excited to learn it! If you're not doing math videos can you point me in the right direction? Thank you and God bless!

    • @huverdoose
      @huverdoose 7 місяців тому +19

      Still no replies. That sucks. I like 3Blue1Brown's channel. He assumes you've gotten to Trig at least before you start with his earliest videos.

    • @Diego-xn8ch
      @Diego-xn8ch 4 місяці тому +2

      Yeah that was awesome

    • @cyd_hunter99
      @cyd_hunter99 2 місяці тому +4

      I don't even know what it is cause I'm not this smart about computers, but that visual was so easy to understand

    • @MarcCastellsBallesta
      @MarcCastellsBallesta 2 місяці тому +1

      Commenting to get notified if someone comes with the answer.

    • @kylezdancewicz7346
      @kylezdancewicz7346 Місяць тому +1

      I would try organic chemistry tutor as his videos are generally really educational based on a variety of topics.

  • @MrAcuriteOf1337
    @MrAcuriteOf1337 Рік тому +1212

    The thing with Quantum Computers is that, basically, you can take a function, feed it literally every possible input in one go, retrieve every possible output simultaneously, and then sample from that statistically to tell you things about the function. It's incredibly niche, and super hard to actually build, and we're not even sure how many problems can actually be accelerated with it, but it's fun to work through the Math for.

    • @FingerinUrDaughter
      @FingerinUrDaughter Рік тому

      the thing with quantum computers is, theyre complete fucking nonsense, and not even an actual idea beyond "what if unlimited power?"

    • @ra2enjoyer708
      @ra2enjoyer708 Рік тому +103

      Don't quantum computers also get super fucked by background noise (much like anything involving quantum physics)? This reduces their usefulness to basically running in specific spots of outer space, assuming it can survive all the chaotic background radiation with no effect on its function.

    • @joankim123
      @joankim123 Рік тому +144

      it's true that you feed it all inputs, but you actually just get one output, like a normal computer. And then there's some incredibly complex math to statistically correlate repeated outputs with the true answer you want.

    • @FingerinUrDaughter
      @FingerinUrDaughter Рік тому

      @@ra2enjoyer708 they dont do anything, because they dont actually exist.

    • @user0K
      @user0K Рік тому +29

      @@joankim123 yea, as far as I remember it would collapse the quantum function, but you can choose specific parameters to be matching the required values.
      Basically, give me values for arguments of the function, which would result in the wanted result. Prolog 2.0 lol.

  • @vb6code
    @vb6code Рік тому +697

    I asked the GPT to explain that video to my dog, he said,
    Explaining this to a dog might be a bit challenging since dogs don't understand complex technical concepts. However, you can use simple actions and treats to represent these concepts:
    1. **CPU (Central Processing Unit)**: Show your dog a treat (representing a task) and then give it to them. CPUs are like you, the treat giver, handling everyday tasks.
    2. **GPU (Graphics Processing Unit)**: Take a ball (representing a fun task), throw it, and encourage your dog to fetch it. GPUs are like a friend who helps with fun and sporty tasks.
    3. **TPU (Tensor Processing Unit)**: Place a puzzle in front of your dog and watch them solve it (or attempt to). TPUs are like a clever friend who's great at solving puzzles.
    4. **DPU (Data Processing Unit)**: Show your dog their leash (representing a connection) and take them for a short walk. DPUs are like a friend who helps you connect with others and stay safe during walks.
    5. **QPU (Quantum Processing Unit)**: Okay, this one's tricky! Pretend to be a magician and hide a treat in one hand. Then, show both hands and let your dog choose. Sometimes the treat appears, sometimes it doesn't (representing quantum unpredictability).
    Remember, dogs won't grasp these concepts fully, but it can be a fun and interactive way to spend time with your furry friend! 🐶🐾

    • @satyamanu2211
      @satyamanu2211 11 місяців тому +159

      This is fucking underrated and brilliant

    • @bilaltaj1725
      @bilaltaj1725 11 місяців тому

      k@@satyamanu2211

    • @whimsicalkins5585
      @whimsicalkins5585 8 місяців тому +37

      I am crying 😭

    • @zenta12
      @zenta12 8 місяців тому +67

      "Furry friend"

    • @ahmadal_shanqeety802
      @ahmadal_shanqeety802 8 місяців тому +26

      Wow that's actually awesome!
      Never thought Chat gbt is that useful

  • @HeisenbergFam
    @HeisenbergFam Рік тому +730

    "highly trained wizards called software engineers" gotta be one of the most accurate sentences said in history

    • @universaltoons
      @universaltoons Рік тому +12

      W

    • @Namrec_955
      @Namrec_955 Рік тому +24

      This man spitted forbidden facts

    • @LuisSierra42
      @LuisSierra42 Рік тому +21

      I'm a wizard Harry

    • @rg2130
      @rg2130 Рік тому +15

      @@LuisSierra42 I'm a Jizzard Harry

    • @hypenheimer
      @hypenheimer Рік тому

      Hello again heisenberg!
      For those who don't know, Heisenberg is the fresh account of the "NMRIH is a great source mod" which was banned for botting/violating UA-cam TOS
      -Same mannerisms, Over 800+ subs to only popular/viewed channels, popped up right when the previous account was banned about four months ago, this account is a bot that spams and like baits channel's comment sections for subs.

  • @ayushs_2k4
    @ayushs_2k4 8 місяців тому +18

    That last "Trust me bro, it doesn't work" 🤣😂

  • @user-tj9gj2wx5d
    @user-tj9gj2wx5d Рік тому +446

    Multicore CPUs aren't the reason why we can run multiple applications at once. Operating systems could do that long before multicore CPUs were a thing. The technology which allows that is called process scheduling. The OS is basically switching between the running applications giving each of them a fraction of time (many times per second) to execute whatever code they are currently running. Having multiple cores just allows the OS to handle multiple processes more efficiently.

    • @kkounal974
      @kkounal974 Рік тому +45

      He means computing in true parrarel not context switching

    • @iwikal
      @iwikal Рік тому +65

      @@kkounal974 He literally said at 3:02 that "modern CPUs also have multiple cores which allows them to do work in parallel, which allows you to use multiple applications on your PC at the same time". I'm all for benefit of the doubt, but anyone who doesn't already know about context switching is gonna leave this video thinking single core processors can't multitask.

    • @SahilP2648
      @SahilP2648 Рік тому +12

      Right but the difference between single core and now multicore processors is that instead of scheduling instructions of multiple applications on the same core, you can execute them on whichever core is available, provided the instructions don't require context.

    • @kanakTheGold
      @kanakTheGold Рік тому +6

      until multicore came into reality, OS could on time share the slices of different threads, it truly became parallel processing only with the muitiple pipelines of multi-core architecture.

    • @ChrisPepper1989
      @ChrisPepper1989 Рік тому +11

      Was coming here to say exactly that lol
      Also it's very important to distinguish between multiple processes and multiple applications.
      Because a single application can (and often will) have multiple processes that if all running on one core still have to be time shared.
      That's why the wizards have to ensure they use all cores if they want to get the best out of the CPU. Which of course means that you might be running multiple applications, that all use multiple cores. So the time sharing the OS does is still super important

  • @じゅげむ-s6b
    @じゅげむ-s6b Рік тому +10

    that short animation just taught me how multiplying matrixes works

  • @markzuckerbread1865
    @markzuckerbread1865 Рік тому +321

    An analogy I really liked for comparing cpu to gpu is trains vs cars, cars (cpu) are really fast for transporting one person as fast as possible, while trains (gpu) are faster than cars when transporting thousands of people as fast as possible, a cpu has really low latency for executing one instruction while gpus abuse simd operations to reduce the average latency over many parallel and similar instructions.

    • @attepatte8485
      @attepatte8485 Рік тому +8

      Thanks Zuc.

    • @headhunterz1000
      @headhunterz1000 Рік тому

      Yeah so which one is the car?

    • @HappyBeezerStudios
      @HappyBeezerStudios 10 місяців тому +3

      Don't forget that the train can only transport people and only transport them all to the same station while the car can transport all kinds of stuff and load on and off at any point.

  • @orbik_fin
    @orbik_fin Рік тому +143

    You didn't mention DSP - digital signal processor. Specialized to run a single program continuously in a loop {input -> process -> output} with a strict time limit dictated by the sampling rate. Used extensively for stuff like audio, radio comm and oscilloscopes.

    • @PrathamInCloud
      @PrathamInCloud 7 місяців тому +6

      Yes because it's not used by a general purpose computer, even though technically it is still computing stuff

    • @abhinavnatarajan4180
      @abhinavnatarajan4180 7 місяців тому +4

      ​@@PrathamInCloudnot necessarily true, most general purpose computers have onboard audio chips that are doing A/D and D/A conversions, and that might involve some DSP. Lots of modern phones have dedicated DSP modules attached to their cameras and for dealing with microphone audio.

    • @PatGames111
      @PatGames111 4 місяці тому

      most likely because it is less general purpose (or cuz its not a "pu")

    • @johncompassion9054
      @johncompassion9054 4 місяці тому +1

      There are many smaller chips doing smaller stuff like for instance on a mac, Apple T2 Security Chip, Secure Enclave, Neural Engine, Image Signal Processor (ISP), Audio Processor, Touch ID Sensor, Thunderbolt / USB4 Controller, Display Engine, Storage Controller.

  • @AR-yr5ov
    @AR-yr5ov Рік тому +91

    OMG you're the best at explaining tech topics in a digestible, memeable format

  • @wiredWhiz27
    @wiredWhiz27 Рік тому +17

    Its fascinating how graphics cards have come along
    Initially for graphics rendering
    Then crypto
    Now Deep learning neural networks and Ai
    Wow i wonder what they'll do next

  • @joopie46614
    @joopie46614 Рік тому +317

    It's important to clarify on most architectures (especially CISC) one clock cycle usually isn't one instruction, only some very fast instructions can execute in one clock cycle but reading memory or division/multiplication can take several clock cycles.

    • @crazybeatrice4555
      @crazybeatrice4555 Рік тому +14

      Well there's also instructions per clock as well

    • @Luredreier
      @Luredreier Рік тому +30

      Most of the common instructions actually finishes in one clock cycle these days, AMD and Intel have both worked really hard on that to reduce latency.
      But you're right, some instructions might take multiple clock cycles.
      On the other hand a core have multiple pipelines and can run multiple instructions simultaneously, filling pipelines with out of order execution, speculative execution and a second thread to ensure that execution resources are used even if one threads code doesn't use that resource in that moment.

    • @MI08SK
      @MI08SK Рік тому +4

      Some instructions can be executed paralely in 1 cycle if they are not depependend, for example if there are 4 sequential addittions to 4 registers the cpu will execute all of them in one clock cycle because most Cisc CPUs have multiple ALUs so they can execute those operations simultanosly

    • @MI08SK
      @MI08SK Рік тому +1

      Reading memory can take 1 clock cycle if it is in L1 cache

    • @trevoro.9731
      @trevoro.9731 Рік тому +2

      @@MI08SK Really ? Name the CPU which has a L1 latency of 1 cycle.

  • @ThantiK
    @ThantiK Рік тому +10

    TPU is a brand-specific chip, made by Google for Tensor Flow. TPU is not a standardized term, but instead AI Accelerator would be used instead.

  • @mikedub
    @mikedub Рік тому +351

    This is how history should be taught.

    • @brain5853
      @brain5853 Рік тому +36

      With Amouranth gifs hidden within the material? Agreed.

    • @Namrec_955
      @Namrec_955 Рік тому +5

      I think he read Oghma infinium

    • @LuisSierra42
      @LuisSierra42 Рік тому +5

      @@brain5853 🥵🥵🥵

    • @josue1996jc
      @josue1996jc Рік тому +7

      you know . . . i've been having this conversation with my friends (who are algo pretty well educated i must say), and we all agree that the field of philosofy whom ussually were the ones given the task to analyze the facts studied by science and kinda digest it and present it to the regular foe in an understandable way has been less and less capable of doing this job and have been more and more disconected than ever (science and philosophy should be more interconected now than ever) sadly because the factual data presented by science, is becoming more and more complicated by the introduction of . . . well the "quamtum everthing" as we call it xd, so what happen when not even the philosophers can't understand what the fuck i going on the physics department, and to be fair, i dont blame them. we din't really get to answer at the end but i think this channel has something about that migth help with the current situation.

    • @MarkelMathurin
      @MarkelMathurin 9 місяців тому

      But when you really think about it, the air does have a taste​@@josue1996jc

  • @vasilis23456
    @vasilis23456 Рік тому +9

    You could also go over older deprecated units. The FPU (floating point unit) which is now included in most CPUs, the short lived physics cards which now have merged with graphics cards and the long lived sound cards, when CPUs were not powerful enough to do sound and other functions at the same time. As you can see most of these units died due to COUs becoming more powerful and taking over their jobs. That is because there is a fairly hard barrier for performance needed for things like sound unlike graphics where the quality rose with performance of these cards.

  • @HerrMustermann
    @HerrMustermann Рік тому +557

    CPU: We need to talk. GPU: Already calculated what you're about to say. TPU: Already completed your words with predictions. DPU: Already sent the message. QPU: I was on the next conversation.

  • @zanes9898
    @zanes9898 Рік тому +6

    Wow! This is by far the best layman video I've ever experienced on CPU variants.
    Keep doing these whoever you are.

  • @HerrMustermann
    @HerrMustermann Рік тому +2308

    Seems like we have a family reunion here: CPU, the brainy one, GPU, the artist, TPU, the specialized smarty-pants, DPU, the traffic controller, and QPU, the one who says he's working, but you're always unsure because he lives in multiple realities!

    • @someguy9175
      @someguy9175 Рік тому

      the QPU is just the pot head

    • @iluvpandas2755
      @iluvpandas2755 Рік тому +22

      could not be better said

    • @DemPilafian
      @DemPilafian Рік тому +77

      QPU uses a different work paradigm... it's known as WFH.

    • @fuzzy-02
      @fuzzy-02 Рік тому +7

      Rick and Morty, processing unit dimension?

    • @wheredhego47
      @wheredhego47 Рік тому +5

      Just thought about Neil Gaiman's The Sandman for some reason.

  • @dirty-kebab
    @dirty-kebab Рік тому +4

    Finally the first mention of a QPU.
    This was something I had to dig around to find an answer for in my third year of uni.

  • @PhillipAmthor
    @PhillipAmthor Рік тому +46

    1:26 this is the ideal computing output, you may not like it but this is how peak performance looks like

    • @TriNguyen-xi8ji
      @TriNguyen-xi8ji Рік тому +7

      Any one have the source? for research purpose of course.

    • @KatyaAbc575
      @KatyaAbc575 Рік тому +13

      @@TriNguyen-xi8ji Amouranth, my dude.

    • @ColePanike
      @ColePanike Рік тому +9

      Lol. I was looking for this. It seems the replay frequency is disabled, but I'd be willing to get that bit would have a nice spike 😏

    • @Triangle1234
      @Triangle1234 8 місяців тому +1

      lmao

    • @Vifnis
      @Vifnis 8 місяців тому

      Ah yes, the *binary logic gates-to-boobpic.jpg* pipeline

  • @lakshyabankey1429
    @lakshyabankey1429 10 місяців тому +2

    Bro this has to be the best opening out of any UA-cam video I have ever seen

  • @DrakiniteOfficial
    @DrakiniteOfficial Рік тому +130

    Correction: 1 Hz does not mean 1 instruction per second. Many types of instructions, like multiply/divide and memory operations, take multiple clock cycles to finish. 1 Hz just mean its clock runs once per second.
    Edit: I'm not completely sure about this second one, but I think Neumann in von Neumann is pronounced NOY-min, not NEW-min.

    • @asdfssdfghgdfy5940
      @asdfssdfghgdfy5940 Рік тому +10

      That’s a tricky one as he is from Hungary and I’m not sure how they would pronounce it. But in German it is NOY-mann. But Americans tend to pronounce it NEW-mann and he lived there for a fair while so he was probably called that when he was there.

    • @someliker
      @someliker Рік тому +5

      NOY-mann
      The "a" is pronounced the same as in "Aha!". Short "a", long "n".

    • @armyant7
      @armyant7 Рік тому +6

      Just need to remember how "Freud" is pronounced 😉
      This applies to "Euler" too...but not "Euclid" ☠️ (presumably due to cultural origin)

    • @asdfssdfghgdfy5940
      @asdfssdfghgdfy5940 Рік тому

      @@armyant7 Freud is easy. Try pronouncing Nietzsche

    • @DrakiniteOfficial
      @DrakiniteOfficial Рік тому

      ​@@asdfssdfghgdfy5940My guess is "NEE-etch". Am I close?

  • @PixyEm
    @PixyEm Рік тому +21

    One downside of a QPU is that you need to stay aligned, you don't wanna know what happens when you're QPU misaligned

    • @DrNo64
      @DrNo64 4 місяці тому

      real

  • @qdaniele97
    @qdaniele97 Рік тому +68

    ALUs (arithmetic logic units) and FPUs (floating point units) also used to be a thing but now days are almost always part of the CPU (and are plenty powerfull so there is no need to add external ones).

    • @robertobokarev439
      @robertobokarev439 Рік тому +3

      FPU is replaced by AVX, there's even a separate instruction for floats summary and subtraction executing in just 2 cycles. The only case FPU is useful in is OS development (that shit with debug registers and stuff)

    • @cambrown5777
      @cambrown5777 Рік тому

      @@robertobokarev439AVX is just the contrived name of the ISA extension on x86 that allows vectorization/SIMD ops . FPU is the name of the module within the microarchitecture. These are totally different things.

    • @TomNook.
      @TomNook. Рік тому +6

      Yeah I remember you could buy a FPU for the Amiga to accelerate it somewhat

    • @acompletelyawesomenameyay2587
      @acompletelyawesomenameyay2587 8 місяців тому

      PPU (Physics Processing Unit)

  • @esmenhamaire6398
    @esmenhamaire6398 Рік тому +3

    Fun fact - prior to parallel processing on multiple cores, only OS's that could handle time-slicing could run multiple programs at what, to us sloooooow humans looked like in parallel. The Amiga had such an operating system, and for a while was used by NASA to handle comms with satellites in preference to Windows boxen, because Windows at that time could literally only handle one program running at a time. On my A1200, I once had a word processor going, whilst OctaMED was playing some music, a little video cartoon (very low res by todays standards, mind!) was playing in another and a couple of other things that I can't recall what they were after all these years. That pushed my Amiga (an A1200 with a 68030 processor) to its' limits, and some of the processes would go a tad slow now and then, but OctaMED was chugging along quite nicely through it all. Sigh. I loved the Miggy, it was a joy to use. I so wish Commodore hadn't shot themselves in every limb before shooting themselves in the head!

  • @pixiedev
    @pixiedev Рік тому +12

    I liked the outout 😅 1:27

  • @Dicska
    @Dicska Рік тому +24

    I think it's important to note that GPUs are much better at floating point operations which are essential to calculate co-ordinates for 3D rendering while CPUs are mainly good at integer operations - that's one of the reasons they co-exist and can't replace each other. I know the video explained some of it, but I'm surprised it didn't touch on the float-integer subject.
    Also, how did nobody point out the literal madlad playing League of Legends with a gamepad at 5:01, lol?

    • @rift1067
      @rift1067 Рік тому +1

      This. I was thinking the same in both cases. xD

  • @norasasleep
    @norasasleep Рік тому +481

    QPU stands for Quadruple Parallel Universes

    • @xbeatghost.6118
      @xbeatghost.6118 Рік тому +3

      What's that 🧐?

    • @ablobofgarbage
      @ablobofgarbage Рік тому +44

      Ah, an individual of culture i see

    • @oguzhan.yilmaz
      @oguzhan.yilmaz Рік тому

      Nvidia's official blog is saying QPU stands for Quantum processing units

    • @norasasleep
      @norasasleep Рік тому +7

      @@ablobofgarbage Glad to see im not the only one (^∪^)

    • @akar_excel
      @akar_excel Рік тому

      Bro

  • @adarshsrinivas9
    @adarshsrinivas9 8 місяців тому +1

    I watched this on 2x speed but could fully comprehend due to having background knowledge but also the fact that your explanation is soo good! In 4 mins I understood this whole thing, thank you soo much !!

  • @jaysistar2711
    @jaysistar2711 Рік тому +27

    RISC-V can, like ARM, be used for both high performance and low power consumption.

    • @jacob2808
      @jacob2808 Рік тому +11

      But is much much less mature than ARM

    • @breakfast7595
      @breakfast7595 Рік тому +1

      ​@@jacob2808Yes it's not as mature, but I personally see RISC-V is the way to go because of the long term viability, and the open nature being better for compatibility and usability

    • @jacob2808
      @jacob2808 Рік тому

      @breakfast7595 i respectfully disagree but won't write up a thesis at this hour lol

  • @monstag616
    @monstag616 Рік тому +3

    Your videos are really informative , funny 😂😂 and short. Loved it.❤

  • @samuelgunter
    @samuelgunter Рік тому +50

    they call me a YVPU -- youtube video processing unit -- because of my crippling addiction to watching youtube videos

  • @tg3470
    @tg3470 Рік тому +3

    Protect this man at all costs! Thank you for this explanation

  • @seneral9804
    @seneral9804 Рік тому +8

    And here I thought QPU stood for Quad Processing Unit
    Yes, that's a thing, usually a GPU-like parallel processor. Raspberry Pis mentioned in the video have one as part of their VideoCore "GPU".
    E.g. VideoCore IV has 12 cores, each processes 4 vectors per instruction cycle, with each vector being 4x32bit - so a 16-way 32bit processor.
    Used for the OpenGL implementation, but can also be programmed manually, if you dare (assembly or some higher level languages though with lesser support).
    It actually has decent branching support for a GPU, as you can mask away results for each vector element, and can branch completely if all your vector elements are fine with that branch.

  • @talhashah
    @talhashah Рік тому

    This channel is the best thing I have discovered on UA-cam.

  • @dylsplazy
    @dylsplazy Рік тому +11

    You forgot the PPU (Picture Processing Unit) The old 80s 8 bit proto gpu. You'd typically find one on retro games consoles

    • @warlockpaladin2261
      @warlockpaladin2261 Рік тому +1

      These were responsible mainly for converting video memory data directly into analog-ready signals. In that sense, a PPU was technically more of a DAC than a GPU. On that topic, a GPU is really only a PPU if it has an analog video output of some kind.

  • @KK-mo6py
    @KK-mo6py Рік тому +2

    6:49 Wow that is th12 ~ ufo. Not expecting this game since I thought nobody playing them these days.

  • @finadoggie
    @finadoggie Рік тому +21

    6:50 somehow, touhou manages to appear everywhere

  • @cant_spell
    @cant_spell 9 місяців тому +3

    Central Processing Unit, Graphical Processing Unit, Trash Processing unit, Dead Processing Unit, Questionable Processing Unit

  • @leoaso6984
    @leoaso6984 Рік тому +37

    3:03 Just to expand on this, CPUs don't strictly *need* multiple cores to run programs at the same time. What really allows this to happen is context switching and I/O.
    Iff you record the states of all of the registers and memory of a program (i.e. the program context), and then restore the registers and memory to those states at a later time, the program will continue running like no time passed.
    Operating systems use this nifty feature to constantly switch out the currently running program, and they do this so many times per second that the user feels like the programs are rhunning smoothly in parallel.
    And they switch contexts either when a certain number of milliseconds passes, or when the current program thread does some I/O, since a thread waiting for I/O to complete does not need the CPU.

    • @Max_G4
      @Max_G4 Рік тому +2

      Well, that is quasi-parallel computing. For actual parallel computing, you do need multiple processors

    • @ohalee-nkwochachijioke7624
      @ohalee-nkwochachijioke7624 Рік тому

      ​@@Max_G4Exactly 👌

  • @Lohmatiyshmel
    @Lohmatiyshmel 7 місяців тому +1

    Guy playing League with controller literally killed me XD Good vid btw

  • @Popipo85
    @Popipo85 Рік тому +139

    Are we all gonna ignore the guy playing League of Legends with a controller at 5:01? 💀

    • @BadDuDeShot
      @BadDuDeShot Рік тому +9

      Was search if one noticed it 💀

    • @EtaCarinaPhenixsChannel
      @EtaCarinaPhenixsChannel 11 місяців тому +4

      I was thinking the same thing XD

    • @HunterKiotori
      @HunterKiotori 9 місяців тому +4

      The superior way to play games

    • @lunyxappocalypse7071
      @lunyxappocalypse7071 8 місяців тому +7

      ​@@HunterKiotoriIt's best to play with whatever you grew up with, in my opinion. The brain remembers. My cousin still treats his computers keyboard like a controller, while I'm still wrapping my head around LT&RTs, and how to switch between two buttons simultaneously.
      It's a similar problem when switching musical instruments from, say a Guitar or Violin to a Keyboard.

    • @basic6735
      @basic6735 6 місяців тому

      @@lunyxappocalypse7071 I like both honestly, though it depends more on what game I'm playing

  • @ComputingAsh
    @ComputingAsh Рік тому +2

    Just found you, what a shame. You make great videos and gosh darn keep up the great work. The voice, the sarcasim and your word choice is just the bee's knees. Wishing you the best slick. Have a great day!

  • @destroyer2973
    @destroyer2973 Рік тому +6

    Inside the Broadcom Videocore GPU there are 4 slices. Each slice contains a quad processing unit. Which is a quad threaded CPU risc CPU core with additional instructions for graphics operations. It runs a proprietary firmware based on Microsoft threads and is also responsible for the boot sequence on the raspberry pi.

    • @sel4785
      @sel4785 Рік тому

      What in the goddamn fuck are they cooking over there

  • @myhandle__
    @myhandle__ Рік тому

    This intro was so simple , fun and creative explanation of what is a computer

  • @yugshende3
    @yugshende3 Рік тому +5

    That cpu outputting amouranth was the funniest thing I’ve seen all day.

  • @AlkoholOgerLeonElektronik67
    @AlkoholOgerLeonElektronik67 Рік тому +3

    You forgot NPUs. They will be used in Windows in the near future if you happen to have one inside your PC case. Taskmanager will also be able to recognize it.

  • @vishalmakwana8391
    @vishalmakwana8391 Рік тому +38

    The highly trained wizards, called software engineers 😂

    • @LuisSierra42
      @LuisSierra42 Рік тому +3

      Avada Angular js!!

    • @darkwoodmovies
      @darkwoodmovies Рік тому +2

      @@LuisSierra42 What dark magic is this!? Expecto Reactus!

    • @PowerK1
      @PowerK1 Рік тому +1

      @@darkwoodmoviessmd fr fr

    • @mummyjohn
      @mummyjohn 7 місяців тому

      King, Warrior, Magician, Lover; we are definitely in the age of the magician right now

  • @chess1011
    @chess1011 Рік тому +1

    Felt like, 1 hour documentary is compressed to 8 min video and still you didn't miss anything.

  • @jonas8708
    @jonas8708 Рік тому +4

    Even modern x86 CPUs use RISC under the hood. In stead they simulate x86 instructions with a hardware compatibility layer because the x86 instructions set has become so ridiculously complicated that implementing it directly into the base layer silicon was becoming a serious problem both for performance and circuit complexity.

  • @computerblade
    @computerblade 7 місяців тому +31

    Now there's NPU....

    • @fuucaran
      @fuucaran 4 місяці тому

      Isn't that the same as TPU?

    • @NickH-o5l
      @NickH-o5l 3 місяці тому +7

      @@fuucaran nah, TPU is made for training ai. NPU is made for running it. but id rather have a multiperpose GPU for all this

    • @user-wq9mw2xz3j
      @user-wq9mw2xz3j Місяць тому

      id rather have a cpu to do all these tasks ​@NickH-o5l

    • @LowEffortOfficial
      @LowEffortOfficial День тому

      At a very fast speed, trust me!!!! (I am being sarcastic)​@@user-wq9mw2xz3j

  • @heerokuun701
    @heerokuun701 Рік тому +4

    Most replayed timestamp of 1:25 proves that your audience is cult of "Man of culture".

  • @DesoloZantas
    @DesoloZantas 3 місяці тому +1

    Interesting metaphor in the beginning lol

  • @legendaryingaming8806
    @legendaryingaming8806 Рік тому +6

    0:39 Okay buddy, you have done it, blew it.

  • @JRyan-hr1we
    @JRyan-hr1we 11 місяців тому +1

    This was wine of the most entertaining videos I’ve seen in a while. The PC that were on fire had me dead 💀

  • @minneelyyyy
    @minneelyyyy Рік тому +9

    the TPU is called the template processing unit. it is a chip specifically designed to speed up the compile times of c++ programs.

    • @JATmatic
      @JATmatic Рік тому

      Ah, the case of running an compiler on the template meta programming instruction set TMPI.
      Letting the compiler compile time compiler that runs on compile time.

    • @sciencecompliance235
      @sciencecompliance235 Рік тому

      It's my understanding that the T in TPU stands for tensor. Like a matrix but with n dimensions.

  • @RenanDavidSoriaAhumada
    @RenanDavidSoriaAhumada 3 місяці тому

    This is the most accurate descriptiong of the begining of Computer that i had ever seen

  • @AndersHass
    @AndersHass Рік тому +18

    Modern x86 processors does run fairly similarly to RISC type of processor but it still does have a lot more instructions in case they are still being used (to not break compatibility).
    RISC V will also be an interesting instruction set architecture but it is mainly just in microcontrollers and Raspberry pie type devices and not for personal and data center usage yet.
    There are a lot of special processors made like for taking pictures/video on phones and encoder/decorder.
    I would think with the rise of various machine learning models more processors will be made to optimize for them (or use FPGAs).

  • @mixey01
    @mixey01 Місяць тому +1

    Man I wish all my teachers could explain stuff so simple and with a healthy dose of humor; I might have become a rocket scientist if they did.

  • @peterlach681
    @peterlach681 Рік тому +5

    thank you, this video is fire!

  • @magnuswright5572
    @magnuswright5572 Рік тому +1

    Using the illusions to dispell the illusions, how poetic

  • @b4ttlemast0r
    @b4ttlemast0r Рік тому +6

    Modern GPUs actually have tensor cores included in them, so they're basically a GPU and TPU combined

  • @rohanrajput36940
    @rohanrajput36940 11 місяців тому

    Man the starting was insane 😂, video is very helpful❤

  • @Jake-mp7ex
    @Jake-mp7ex Рік тому +35

    The reason you can do multiple things at once isn't because of multiple cores, we could do it back with only a single cpu.
    Your CPU does a tiny bit of computation at a time for multiple processes, and switches between them rapidly. Think of it like a chef cooking 20 meals at once.
    The reason this isn't noticeable is largely due to the vastly slower I/O commands it has to wait for. You can think of this as frying. You can think of the CPU as cracking the egg, plating up, etc.

    • @rankarat
      @rankarat Рік тому +6

      Single core gives an illusion of parallelism.
      Multiple cores actually work in parallel.

    • @softbubble_
      @softbubble_ Рік тому +2

      @@rankarat is hyperthreading an illusion or actual parallelism?

    • @stepansigut1949
      @stepansigut1949 Рік тому +1

      ⁠@@rankarat
      Do they though? They might share a memory controller which needs to fetch the data sequentially. Parallelism depends just on the expected latency of the output and can be achieved via interleaving.

    • @dominicdurkacs8321
      @dominicdurkacs8321 Рік тому

      A single cpu core doing multiple things at once is like you doing homework and eating food at the same time, you alternate.
      A multi-core cpu doing g multiple things at once is like you doing homework and listening to music at the same time.

  • @IDESTROYER236
    @IDESTROYER236 Рік тому +2

    6:45
    "Awaken, my masters!"

  • @M4rt1nX
    @M4rt1nX Рік тому +12

    I think that I'm ready to get my degree after watching this video. My brain got literally overload with all that information at that pace.

    • @jarodmica
      @jarodmica Рік тому +1

      It's time for us to get a degree in Wizardry 🤯

  • @SrijitoGhosh
    @SrijitoGhosh Рік тому

    I'm addicted to this video... Watched it over 10 times, this week!😳

  • @HerrMustermann
    @HerrMustermann Рік тому +65

    CPU to GPU: "You're pretty graphic, huh?"
    GPU to TPU: "You tensor to be dramatic, don't you?"
    TPU to DPU: "Always data-centered huh?"
    DPU to QPU: "Quantum of nonsensical bragging!"
    QPU: "I've processed this joke in a parallel universe where it's actually funny!"

    • @HypnosisBear
      @HypnosisBear Рік тому +2

      Lmfao now that's what I call a good comment! Made my day xd

    • @avrakadavra1552
      @avrakadavra1552 Рік тому +1

      AI-generated joke, good one

  • @urnoob5528
    @urnoob5528 Рік тому +1

    tbf transistor represents 1 when current doesnt pass through it because it is pulled high

  • @macreator9497
    @macreator9497 Рік тому +6

    1:20 a cpu can do more than one instruction per 1hz it depends on transistor count

  • @TheChuDragon
    @TheChuDragon Рік тому +1

    Holy crap. Never thought of any of this like this

  • @mani-oz7sj
    @mani-oz7sj Рік тому +15

    Hey can you please make a video about the difference between ARM and x86?

    • @K8LOYT
      @K8LOYT Рік тому

      JNL XD

    • @oksowhat
      @oksowhat Рік тому

      its just a design difference, like different design of houses

  • @webdev_am
    @webdev_am Рік тому

    Man the thumbnail is Fire 😂 you are a Legend 👍🏼

  • @MaeLSTRoM1997
    @MaeLSTRoM1997 Рік тому +5

    0:53 "built by Konrad Zuse in 1936 in his mom's basement" lol you're the best

  • @WoolleyWoolf
    @WoolleyWoolf 3 місяці тому

    Fireship never ceases to amuse me -- not just entertain me, but actually make me laugh, like this thumbnail, how good is that? Dude you rock. You and Low Level Ed are epiccccc.

  • @Dominik-K
    @Dominik-K Рік тому +10

    I've gotten myself a Google Edge TPU USB stick, Coral Edge, which is super useful for some niche use cases. The power/energy efficiency makes it possible to let that run on battery too, interesting stuff

    • @vinylSummer
      @vinylSummer Рік тому +3

      i wish i could get one here in russia. the thing costs a shit ton of money and it's only available through shady retailers

    • @RoflcopterLamo
      @RoflcopterLamo Рік тому

      @@vinylSummer Probs got hardware/firmware malware aswell

  • @noth1ngnss921
    @noth1ngnss921 Рік тому

    However meme-y, the intro actually makes you step back and look at how far computing has come, I've never heard anyone put it like that.

  • @bladetoto94
    @bladetoto94 Рік тому +8

    6:05 Yes pls, I have a RTX 4080 and that is what I plan to do with it. Please provide me a video on how to train AI, ty. I'm not even fuckin' joking!

  • @CasperVanLaar
    @CasperVanLaar 4 місяці тому

    LMAO, the introduction was absolutely perfect

  • @DJ-bo4pz
    @DJ-bo4pz Рік тому +4

    1:26 I laughed so damnnn hard on this😂

  • @Matbart
    @Matbart Рік тому

    I'm sorry, but was that LEAGUE OF LEGENDS ON A CONSOLE CONTROLLER?
    Aside from that, incredible video. Love everything you do, Fire.

  • @martinalexander757
    @martinalexander757 Рік тому +4

    Great vid, but I think you need one about FPGA's

  • @smellthel
    @smellthel Рік тому

    Having all of these miniaturized in a computer would be sick!

  • @INFINITY-f1m
    @INFINITY-f1m Рік тому +18

    1:32 output 😂

  • @samael-thebringer01light66
    @samael-thebringer01light66 Рік тому

    Dude I must say your Timing is impecable. 1:17

  • @mpusch88
    @mpusch88 Рік тому +7

    These videos are gold

  • @anywallsocket
    @anywallsocket Рік тому

    BRO the way you showed matrix multiplication at 4:40 blew my F mind 🤯

  • @dexterboy1
    @dexterboy1 Рік тому +6

    One of the most interesting video ever!

  • @زيزوالحلاوي-ف9ش
    @زيزوالحلاوي-ف9ش 3 місяці тому +2

    0:25 well I don't blame you they are wizards

  • @MaffeyZilog
    @MaffeyZilog Місяць тому +3

    He forgot NPUs. Every chip by 2025 will have an NPU but so far I think it's only AMD and ARM that have NPUs

  • @mykolaschannel
    @mykolaschannel Рік тому

    Just realised that watching a few videos like this one, gives me more value than visiting a fancy tech conference.

  • @alexbillingham9593
    @alexbillingham9593 Рік тому +3

    sorry, Missed what you said from 1:26 to 1:32
    Could you repeat that please..

  • @Umarbit
    @Umarbit Рік тому +1

    Please make a full separate video on quantum computer. You are good in teaching complex concepts.

  • @tristanmisja
    @tristanmisja 10 місяців тому +5

    If you showed this video to someone 600 years ago they would start a new religion based off of it

    • @recongraves
      @recongraves 8 місяців тому

      Lol no need we are doing that now with ai Bitcoin and agi🎉 that's what all this is 😂

    • @Namenlos-r8f
      @Namenlos-r8f 3 місяці тому

      yeah and their godess would be amouranth

  • @magicmanchloe
    @magicmanchloe 8 місяців тому

    That intro is fantastic! You just got a new subscriber! 😂

  • @IvanRandomDude
    @IvanRandomDude Рік тому +4

    All of that science and engineering so I can style a button with css.

  • @lexzbuddy
    @lexzbuddy 5 місяців тому

    All these images to represent things are so funny. I'm sure this is how the government and investors have technology explained to them. So good, loved it.