CPU vs GPU vs TPU vs DPU vs QPU

1,608,576
0
Published 2023-08-26
What's the difference between a CPU and GPU? And what the heck is a TPU, DPU, or QPU? Learn the how computers actually compute things in this quick lesson.

#computerscience #tech #programming

💬 Chat with Me on Discord

discord.gg/fireship

🔗 Resources

Learn more about CPUs cpu.land/
CPU in 100 Seconds    ‱ How a CPU Works in 100 Seconds // App...  
Math for Programmers    ‱ 10 Math Concepts for Programmers  
JS Worker Threads    ‱ PROOF JavaScript is a Multi-Threaded ...  

đŸ”„ Get More Content - Upgrade to PRO

Upgrade at fireship.io/pro
Use code YT25 for 25% off PRO access

🎹 My Editor Settings

- Atom One Dark
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- What is a CPU architecture?
- ARM vs x86-64
- CPU versus GPU
- Why are GPUs so fast?
- Why do you need a GPU?
- What is a DPU?
- Quantum computing basics
- How are silicon chips

All Comments (21)
  • @HerrMustermann
    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...'
  • @gemma2901
    man, you are so good at explaining things and combining memes. prodigy.
  • @vb6code
    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! đŸ¶đŸŸ
  • @orbik_fin
    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.
  • @HerrMustermann
    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!
  • @HeisenbergFam
    "highly trained wizards called software engineers" gotta be one of the most accurate sentences said in history
  • @Popipo85
    Are we all gonna ignore the guy playing League of Legends with a controller at 5:01? 💀
  • @yehitecharts
    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!
  • @HerrMustermann
    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.
  • @MrAcuriteOf1337
    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.
  • This is the most comprehencive CPU vs GPU vs TPU vs DPU vs QPU guide I have ever seen
  • @TrippSaaS
    Blown away by how good this content is. Thanks!
  • @mikedub
    This is how history should be taught.
  • @user-tj9gj2wx5d
    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.
  • @zanes9898
    Wow! This is by far the best layman video I've ever experienced on CPU variants. Keep doing these whoever you are.
  • @sebby007
    Your videos are epic! The information and humour density are perfect!
  • 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.
  • @uprobo4670
    MAN ... i so rarely comment on things but your first 40 seconds were pure art in many forms ...