How a CPU Works in 100 Seconds // Apple Silicon M1 vs Intel i9
2,612,888
Published 2021-05-06
#compsci #tech #100SecondsOfCode
🔥 Subscribe to Alex's Channel 🔥
/ @azisk
🔗 Resources
Apple Silicon Breakdown www.macrumors.com/guide/apple-silicon/
Visual CPU visual6502.org/
Clock Speed www.intel.com/content/www/us/en/gaming/resources/c…
📚 Chapters
00:00 How a CPU Works
01:06 Instruction Cycle
02:25 Apple M1 vs Intel i9
06:10 Performance Benchmarking
9:06 Best Dev Stacks for M1
10:12 Worst Stacks for M1
11:55 Final Summary
🔥 Watch more with Fireship PRO
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Cod
All Comments (21)
-
Thanks so much for having me on your channel, Jeff. It's been really fun making this one with you!
-
As a CS student I have learnt all this in class and I must say I was very surprised at how detailed you went in the 100 seconds! Great job! Love the channel
-
The fact that people are innovative, driven and smart enough to make this kind of stuff blows my mind. We went from a key, a kite and some lighting to mass producing hyper-powered chips that have billions of tiny parts, and computer systems that can share live video and audio with each other all over the world, all in the span of a couple hundred years.
-
The situation on Android has really changed since this video, its now compiled natively, this includes Android studio and the emulator also runs natively. Build times have decreased to mere seconds. I run a pretty complex app and it builds in less then 1 minute every time. Edit: it has gotten even better since I last posted this comment
-
Is it just me or was there not nearly enough focus on ARM Vs X86? Surely that's the most significant difference between the Intel chip and the M1, rather than the M1 being an SOC?
-
Bear Grylls just taught us about processors! Alex's channel is very underrated, so happy to see him featured here. Great video and explanation!
-
I’ve never seen such a beautiful Collab on YouTube. Wow. Well done guys 👏🏽🙆🏽♂️
-
That 6502 CPU die at 0:20 and 0:44 was launched around 1975 (although this design isn't the original 6502 die, it actually looks closer to the Rockwell R6502 die, because of different placement of the bonding pads, ). Anyway it has circa 4500 transistors. The pretty grid pattern at top is the Instruction Decoder, clock is above it at the far right end of that grid, and the ALU is in the lower half just to the left of centre (along with shift registers and other things). That chip was used in the original Apple I and Apple II desktops that Woz designed which gave Apple its starting products. You can see the individual transistors on its die with a 180x optical scope.
-
All my weeks of study depreciated to 100s 😭 😂
-
Intel chips or x86 moves the complexity to the chip itself(more instructions). so it consumes more energy M1 or ARM-based architectures is based on reduced instructions (RISC). It moves the complexity to the software(you have less and basic instructions to play with) so it takes larger size on memory but it's more efficient. it can be faster or slower than x86 depends on the design and optimization
-
honestly that 1 minute mark is the simpliest and compact explaination of my whole semester
-
Jeff you're an Angel for featuring all of our channels. I really appreciate you as a software community member. This was a great vid!! Thank you. Well done @Alexander Ziskind I watched a few of your M1 vids.
-
Wow! Love the way you have explained the technical bits in a such a simple way.
-
1:45 minor correction, it’s called the opcode
-
The first 2 minutes is exactly the basis of what I leaned in an entire CS class specifically computer organization. Very well explained.
-
Such a massive job you've done here guys. Thanks.
-
I thought we might create our own CPU from scratch when we went beyond 100 secs but Mr. Alex just nailed it🤩 I actually watched many of his M1 vs Intel test videos. Those are also great💓
-
It feels nice that I remember all of this till date
-
It would be interesting to know what was the bottleneck when running the tests. Was it only the CPU or other thing such as memory access or disk access?
-
So, basically, this has been a 12 minute ad for Apple. I came here to learn about the logic gates and operation codes between two architectures, not be sold an overpriced SoC.