How a CPU Works in 100 Seconds // Apple Silicon M1 vs Intel i9

2024 ж. 9 Мам.
2 631 067 Рет қаралды

Learn how the central processing unit (CPU) works in your computer. Compare performance and processor architecture between the Intel and Apple Silicon M1 chips with @AZisk
#compsci #tech #100SecondsOfCode
🔥 Subscribe to Alex's Channel 🔥
/ @azisk
🔗 Resources
Apple Silicon Breakdown www.macrumors.com/guide/apple...
Visual CPU visual6502.org/
Clock Speed www.intel.com/content/www/us/...
📚 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 Code Font

Пікірлер
  • Thanks so much for having me on your channel, Jeff. It's been really fun making this one with you!

    @AZisk@AZisk3 жыл бұрын
    • Smart to show NativeScript as the last stack you were showing

      @AchrafBardan@AchrafBardan3 жыл бұрын
    • you can build your own virtuel CPU by following this channel kzhead.info/tools/lQEB7Jq0LKZPWmzoKoe6bQ.html

      @lakrib@lakrib3 жыл бұрын
    • Thank you for all that useful information. Although, I believe you should have talked more about the majorly reduced power consumption of the Apple M1. Saving energy and having your device(s) run at much lower temperatures is very important.

      @ShawnRitch@ShawnRitch3 жыл бұрын
    • @@ShawnRitch you’re right, but there is only so much I can fit into a short video :)

      @AZisk@AZisk3 жыл бұрын
    • did you test NodeJS on node 16 with ARM support or Node in Rosetta?

      @cakemnstr42@cakemnstr423 жыл бұрын
  • 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

    @alexscriba6075@alexscriba60753 жыл бұрын
    • @@user-if1de8pt2j lol my bad 😂 by “100 seconds” I was referring to the series

      @alexscriba6075@alexscriba60752 жыл бұрын
    • Not very detailed, there is another short video on a youtube which shows on a very simple processor example how does things work. It's much more helpful

      @user-mb4xy2cz3t@user-mb4xy2cz3t2 жыл бұрын
    • @@user-mb4xy2cz3t you’re very helpful not even pointing us in the right direction let alone giving us a link

      @djsekav@djsekav2 жыл бұрын
    • @@user-if1de8pt2j well does the same person talk for 12mins?

      @murkelastateliborac200@murkelastateliborac2002 жыл бұрын
    • @Chris you’re roasting me for being a student?

      @alexscriba6075@alexscriba60752 жыл бұрын
  • 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

    @mhmdalharbi2370@mhmdalharbi23703 жыл бұрын
    • I think RISC vs CISC should have been mentioned other than that this vid is really great

      @ko-Daegu@ko-Daegu2 жыл бұрын
    • Most knowledgeable people will say CISC is more specialty instructions that take more clock cycles and RISC simpler instructions that make longer code, but this is not nearly as accurate as it used to be. The M1 is a great example if a RISC architecture that has many specialty components and commands that we would traditionally consider the domain of CISC architecture It’s still useful to mention the traditional differences between the two, but I think these differences are becoming less and less accurate as time passes.

      @gumbilicious1@gumbilicious12 жыл бұрын
    • @@gumbilicious1 true specially with how Intel actually works for years they have been using micro-op as there’s a layer that takes CISC complete instructions & breaking them down to smaller operations similar to RISC This means extra work = extra heat

      @ko-Daegu@ko-Daegu2 жыл бұрын
    • he didnt say much about what ARM is did he? Did I miss it?

      @vandermonke4178@vandermonke41782 жыл бұрын
    • The last Intel MacBooks are also 9th gen intel. It's important to note from a "processing speed" perspective.

      @julienlavoie6908@julienlavoie69082 жыл бұрын
  • Wow! Love the way you have explained the technical bits in a such a simple way.

    @Rahul-fq9kf@Rahul-fq9kf2 жыл бұрын
  • 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?

    @ruaidhrilumsden@ruaidhrilumsden3 жыл бұрын
    • Thought the same thing, surprised this wasn't commented more. ARM being a simpler architecture is by far the main contributor to the massive increase in efficiency.

      @brandond_@brandond_3 жыл бұрын
    • the m1 is just not only a arm chip which makes it special rather , it is very special on its own way. Like Sharing the GPU memory and CPU memory, they call it "Unified Memory", it supports Out Of order execution too, and stuff etc

      @hariranormal5584@hariranormal55843 жыл бұрын
    • @@mrmeseeks8790 thanks just watched it. Very good explanation - it's not quite as simple anymore is it? I wonder, though, if the CISC chips will ever get to the point where, like the M1, high performance can be achieved whilst still keeping power usage and heat really low. That seems to be the really big difference.

      @ruaidhrilumsden@ruaidhrilumsden3 жыл бұрын
    • Yeah, like SoC's aren't a new concept it's extremely common, and they aren't the reason M1 is fast. I've personally come to hate SoCs to some degree. Removing modularity when you don't need to makes the whole thing useless sooner.

      @ChrisD__@ChrisD__3 жыл бұрын
    • @@ChrisD__ We can only hope the good 'ol "gaming PC" market doesn't change. I think it'd be pretty hard to change, because it's mostly standardized pretty well. Sadly laptops are now completly like "mobile" devices and are super non-upgradeable

      @hariranormal5584@hariranormal55843 жыл бұрын
  • Bear Grylls just taught us about processors! Alex's channel is very underrated, so happy to see him featured here. Great video and explanation!

    @Dunktastic17@Dunktastic173 жыл бұрын
  • I’ve never seen such a beautiful Collab on KZhead. Wow. Well done guys 👏🏽🙆🏽‍♂️

    @thaboshikwambane5578@thaboshikwambane55782 жыл бұрын
  • 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

    @faisalahmad2445@faisalahmad24452 жыл бұрын
    • thx for that info - i just started to regret hammering company staff to finally get me a macbook m1/2 due to that old imac i5 compiling ~20x longer than my i7 notebook.

      @_skiel@_skiel Жыл бұрын
    • O

      @bzygauksei@bzygauksei Жыл бұрын
  • Such a massive job you've done here guys. Thanks.

    @11vag@11vag3 жыл бұрын
  • 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.

    @FilledStacks@FilledStacks3 жыл бұрын
  • 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.

    @oakleybladegames9731@oakleybladegames97312 жыл бұрын
    • Yep. Misanthropes are wrong. Humanity largely rocks.

      @deepblueharvest@deepblueharvest Жыл бұрын
    • Vastly overrating the importance of ben franklin m8

      @aurelia8028@aurelia8028 Жыл бұрын
    • Let this be a lesson that if you’re consistently working on yourself and getting better each day you too can one day become impressive with your talents and knowledge

      @BRBallin1@BRBallin16 ай бұрын
    • It’s all exponential. At this point all knowledge is passed down and those people with the knowledge are paving the way for new innovation.

      @alexc8512@alexc85126 ай бұрын
    • ​@@BRBallin1some people are just born different

      @nagahumanbeingzooofparticl8836@nagahumanbeingzooofparticl88365 ай бұрын
  • 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.

    @lucysluckyday@lucysluckyday2 жыл бұрын
    • Gems are always hidden in comments.

      @derdere7803@derdere7803 Жыл бұрын
    • thanks dude, really informative.

      @Adhithya1002@Adhithya100211 ай бұрын
    • You are a genius

      @amirfmaster2515@amirfmaster251511 ай бұрын
  • All my weeks of study depreciated to 100s 😭 😂

    @namanmurarka9252@namanmurarka92523 жыл бұрын
  • 1:45 minor correction, it’s called the opcode

    @tanmay______@tanmay______3 жыл бұрын
    • Yep, operation code

      @hunterwilhelm@hunterwilhelm3 жыл бұрын
    • Good call!

      @Fireship@Fireship3 жыл бұрын
    • opt code works fine too

      @albertmarashi3666@albertmarashi36663 жыл бұрын
  • Thank you for your thorough review! What about "pure computation power"? I use Comsol software for physics simulations and I really would like to know whether I should switch to Apple RISCs or, for this kind of job (lots of RAM, lots of cores), I better stay with Intel or AMD? Thanks in advance!

    @zharal@zharal2 жыл бұрын
  • Your hard work for these videos and for the editor of this video is surely worth watching to us and useful

    @Riborwahz@Riborwahz2 жыл бұрын
  • Love your content man , keep this up and thank your for what you do.

    @GuardianApe@GuardianApe3 жыл бұрын
  • Yooo, epic content. Love to see it, keep up the great work!

    @Fluyd@Fluyd3 жыл бұрын
  • Awesome video! perfect explanation of this technology, I’m excited for the future.

    @Jopekos@Jopekos3 жыл бұрын
  • 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?

    @ecdhe@ecdhe3 жыл бұрын
  • Thank you very much you all videos are very helpful and helps to understand basics easily from your 100s videos ❤️❤️

    @MDSABBIR-we3pc@MDSABBIR-we3pc3 жыл бұрын
  • 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💓

    @krtirtho@krtirtho3 жыл бұрын
    • Whoa! Thanks so much!

      @AZisk@AZisk3 жыл бұрын
    • How do you make a cpu?

      @JatPhenshllem@JatPhenshllem Жыл бұрын
    • @@JatPhenshllem kzhead.info/sun/pNFvZ9uaeWd9oIE/bejne.html&ab_channel=DIYwithBen (How a CPU is made)

      @conradmbugua9098@conradmbugua9098 Жыл бұрын
    • @@conradmbugua9098 Thanks

      @JatPhenshllem@JatPhenshllem Жыл бұрын
    • ​@@JatPhenshllemFPGA + RISC-V

      @Rudxain@Rudxain8 ай бұрын
  • I primarily dev in Android Studio and I had to get an M1 because of the benefits while waiting for a better SoC on a larger MBP or smaller mini… but I changed a few settings; mainly memory heap and editor refresh rate, and it runs smooth as butter now. Plus they added ARM AVD support now and they run pretty well, emulating an ARM device on an ARM SoC. I will agree it’s not ideal, but I keep myself to one project open at a time and can barely notice a difference at this point. If they release a silicone native AS build it should be at least as good as the performance of my older intel MBP workhorse. Luckily Apple devices make it easy to share, drop off and pick up work between devices. So I can easily hop over to my intel machine if need be, but I haven’t used it for Android development since getting my M1. After seeing WWDC I think instead of trading in my M1 and some cash for a new MBP M1X, Ill just buy an additional mini M1X at the same specs and sell my older 15” MBP. I think eventually everything will be, or have an ARM build available.

    @theZ3r0CooL@theZ3r0CooL2 жыл бұрын
  • Excellent explanation of the low level activity of the CPU, yet I also had visions of Tron movie scenes of flying discs and light cycles going through my head, as I was watching your explanation! 🤖

    @johnkim1296@johnkim12962 жыл бұрын
  • This feels a little different than usual but still incredible! It would be great if you made more videos like this, thank you!

    @dsi-films1264@dsi-films12643 жыл бұрын
    • Its basically the usual informative stuff at the beginning and then a 10 minute ad.

      @physikus7888@physikus78883 жыл бұрын
    • @@physikus7888what?

      @sabhyasoni4485@sabhyasoni44857 ай бұрын
  • Thanks both of you! Digital circuit and logic paper revision after years in just 100 secs and more 😁 ❤️

    @sithsithari@sithsithari3 жыл бұрын
    • Thanks !

      @AZisk@AZisk3 жыл бұрын
  • honestly that 1 minute mark is the simpliest and compact explaination of my whole semester

    @harrazmasri2805@harrazmasri28053 жыл бұрын
    • i feel like these types of videos should be shown at the beginning. then, you'd have a good baseline idea of what you're learning for the next few months

      @EthanDyTioco@EthanDyTioco2 жыл бұрын
    • @@EthanDyTioco colleges arent there to teach people they are there to rip you off

      @yesyes-om1po@yesyes-om1po10 ай бұрын
  • I love that you featured a smaller channel. Alexander's part of the video was very easy to follow along and made it very clear. Subscribed.

    @CodingWithLewis@CodingWithLewis3 жыл бұрын
  • I was literally trying to find a video about this the past few days, this channel is really something else

    @matthewao@matthewao3 жыл бұрын
  • The first 2 minutes is exactly the basis of what I leaned in an entire CS class specifically computer organization. Very well explained.

    @ss10million@ss10million2 жыл бұрын
    • Everyone is a CS student

      @Karuska22ps@Karuska22ps Жыл бұрын
    • impressive details just researching on CPU mining and wonder why apple switched to M1 kill intel but Im still a PC geek even with apple certification APPLE is just prestige

      @TheMessanger@TheMessanger Жыл бұрын
  • This made me subscribe in the first 6 seconds of the video .. Great explanation. Keep up the good work 👍

    @mrabdulhanan2832@mrabdulhanan28322 жыл бұрын
  • It feels nice that I remember all of this till date

    @animeshsingh4290@animeshsingh42903 жыл бұрын
  • Oh man, the awesome video dropped like a gem, as I was hoping this kind of videos out of software and tech-stack videos, so you got it, thank you. It started with Linux Distro, then Arch Enemy Microsoft, and now Hardware stuff.... You taught almost my half semester's course, as COA-Computer Organization and Architecture, explaining CISC vs RISC differences for 8 Marks.

    @indiansoftwareengineer4899@indiansoftwareengineer48993 жыл бұрын
  • The beginning of the video was nice and I wanted more from it, but then it felt like it just turned into an advertisement for Apple, with the rest of the video being a Biased take on why SoC design and apple are better than standard desktops when that's not really true for a lot of people and use cases. I went into this video hoping to learn more about how CPU architecture looks at a microscopic level and what an ALU looks like and how it functions. But instead it ended up being a more high level look at a CPU followed by an Apple advertisement which is not what I wanted from this video.

    @Koubles@Koubles Жыл бұрын
    • EXACTLY how I felt! I stopped right away.

      @aktchungrabanio6467@aktchungrabanio6467 Жыл бұрын
    • Same here. The first part was great, the second felt not only off topic, but heavily biased towards Apple. Disappointing 🙁

      @IvoPavlik@IvoPavlik2 ай бұрын
  • Didn't expect this video from you but a welcome one!

    @mmaismma@mmaismma3 жыл бұрын
  • Watched 90 seconds of the video, paused the video , liked the video and continued watching... wonderful content and presentation

    @adelaskri6347@adelaskri63472 жыл бұрын
  • I was really waiting when this type of Processor related content hit youtube ....And here you come with 100sec. Loved it! Can you please do a video on how a Processor engineer designs a CPU....I mean do the use a EDA software like normal or they use computer algorithms.....And also how processor supply chains work....and processor foundry's work

    @mandrasaptakmandal636@mandrasaptakmandal6363 жыл бұрын
  • Yessss I was hoping there’d be a new one today

    @theocrob@theocrob3 жыл бұрын
  • Part of a puzzle that for a long time I could not really understand Thanks!!!

    @user-mo3cw6go7c@user-mo3cw6go7c3 жыл бұрын
  • This is a very nice collaboration. Thanks guys :)

    @justintime802@justintime802 Жыл бұрын
  • I loved the first few minutes about processors... then the rest was about Apple silicon. Not much about how the "slow" alternatives differ. I thought Socs were developed for mobile phones? How is Apple silicon New apart from being more powerful. Please forgive my ignorance, I really wanted to learn some basics.

    @johna8999@johna89993 жыл бұрын
    • I mean…he fully explained in the video

      @dorathedestroyer2508@dorathedestroyer25082 жыл бұрын
    • It is now more powerfull. This is only true when using tools that the M1 have on the hardware. If you try to use something that Apple do not care about: Like Webm vídeos, JXL images. AOL encoder, APIs that are not Vulkan then it will be slower.

      @talkysassis@talkysassis2 жыл бұрын
  • Incredible video. Thank you both! Recently bought the most bottom tier Macbook Air M1 8GB mem / 256 GB just to do video calls for work and was blown away with how much better it runs my dev stuff compared to my 10600K / 32GB Windows pc. Question for @Alexander, do you think it was a good strategy to go cheapo with M1 for my purchase with the idea that when the M2 machines get announced later this year I can sell and upgrade?

    @Alcaatraz01@Alcaatraz013 жыл бұрын
    • If you can wait for the M2's then you should wait, IMO

      @AZisk@AZisk3 жыл бұрын
    • 8 GB of RAM. You must not run Docker

      @asdf3568@asdf35682 жыл бұрын
  • Love your channel. Very good wealth of information 🔥

    @harshahc1@harshahc12 жыл бұрын
  • This is a great visual aid in learning programming ground up for me. Thanks

    @erfan9166@erfan91662 жыл бұрын
  • Defi application in 100 seconds

    @0xfaizan@0xfaizan3 жыл бұрын
    • Omg yes!!

      @Bradenxd12@Bradenxd123 жыл бұрын
  • JS and Py actually compile into bytecode, which is executed by their respective interpreters. The interpreter, though, is the one running on machine code. Also, the execution phase is more complex than that; there are all kinds of opcode extensions, prefix bytes, addressing modes, immediate values, etc., etc. But an important note is that the operand (which isn't even always there, like with RET, or of which there are multiple, like with IDIV) doesn't always reference memory-it can also reference CPU registers (?ax, ?bx, ..., and r8 through r15 in 64-bit operating mode) in the register-only addressing mode. In addition to those, there are also some special registers that allow the CPU to function; such as ?BP (base pointer) ?IP (instruction pointer) FLAGS (CPU state flags), and so on. * The question marks indicate a register size. E = 32 bits and R = 64 bits. For 16 bits, take out the question mark. For 8 bits, use l and h for low and high. AL -> low 8 bits of accumulator BH -> high 8 bits of base CX -> 16-bit counter EDX -> 32-bit data RIP** -> 64-bit inst. pointer ** Not available to instructions Oops, I'm rambling again. I'll see myself out. Edit 0: I've seen myself back in to correct the r range. r0-r7 actually refer to the previously-mentioned registers. (Source: stackoverflow.com/a/9130707 )

    @Zooiest@Zooiest Жыл бұрын
  • I enjoyed and learned allot thanks! I subbed

    @techvideos7338@techvideos73383 жыл бұрын
  • Thank you for the amazing content! Do you think a Risc-v informative/comparison video would be interesting at the time being?

    @fdimb@fdimb2 жыл бұрын
  • How I wish you had released this video during my campus days

    @crackribswithdante7807@crackribswithdante78073 жыл бұрын
  • Great video! :)) When do you think we will be getting the same highly performent ARM cpus on the desktop market if we will at all? Since these are just laptop cpus, aren't we able to go beyond that on PC?

    @mateuszkolpa@mateuszkolpa3 жыл бұрын
    • Arm cores are winning on power efficiency, on PC that not focused on that, nobody will use low power processors. You'd get better performance with amd APUs if you want is SoC integration. Also because ARM sells the design of the processor to foundries, it is possible to mix x86 processor with ARM, some already have it iirc

      @fltfathin@fltfathin3 жыл бұрын
    • no thanks. I'd rather have the ability to upgrade my PC as and when i choose. dont want some company selling me overpriced shit that i cant upgrade and have to throw away in a few years

      @nightwing8666@nightwing86662 жыл бұрын
  • Insightful as always :)

    @_Ani_@_Ani_3 жыл бұрын
  • You are one of the only KZheadrs I can listen to talk about tech without wanting to my blow my brains out 😅 Thank you!

    @ptd3v@ptd3v Жыл бұрын
  • Oh man Alex nailed it 👌 Thank you for inviting him

    @SadDamniT@SadDamniT3 жыл бұрын
    • Alex is underrated.

      @shanegilbert6574@shanegilbert65743 жыл бұрын
    • @@shanegilbert6574 I couldn't agree more!

      @SadDamniT@SadDamniT3 жыл бұрын
  • Overclocking doesn't always lead to lower life expectancy because of undervolting it will get you very close to stock life expectancy resulting in it running cooler and more closer to stock temps while you get more performance.

    @MathewZ788@MathewZ7882 жыл бұрын
    • How does undervolting work regarding battery output?

      @rb1471@rb147110 ай бұрын
    • ​@@rb1471 I really couldn't tell you because most my experience undervolting has been on desktop. I don't know if you can undervolt a laptop from the BIOS. Might even be dangerous if you can, because the CPU's are already adjusted by the manufacturer like ASUS or dell to give you the best battery life or cooling.

      @MathewZ788@MathewZ78810 ай бұрын
  • Thank you for making a video on this topic....

    @boltez6507@boltez65072 жыл бұрын
  • Thank You Bear Grills for this awesome tutorial on M1 vs Intel

    @akshatsingh6036@akshatsingh60363 жыл бұрын
  • Really love these videos. The only thing I will say that I'm sure someone has pointed out already but needs to be said: it's "OPcode" not "OPTcode" :) Keep up the good work

    @peteplays604@peteplays6042 жыл бұрын
  • Day 5: Elixir/Phoenix in 100 seconds, iOS Development in 100 seconds, Android Development in 100 seconds, Rust in 100 seconds, C in 100 Seconds, TailwindCSS in 100 seconds, JS Testing in 100 seconds, Ruby/Rails in 100 Seconds, C++ in 100 Seconds

    @samarmohan9891@samarmohan98913 жыл бұрын
    • Lets goooo, Fireship recognized this!

      @samarmohan9891@samarmohan98913 жыл бұрын
    • U forgot to add Go

      @ibrahimshehuibrahim918@ibrahimshehuibrahim9183 жыл бұрын
    • @@ibrahimshehuibrahim918 thanks, ill add it next time.

      @samarmohan9891@samarmohan98913 жыл бұрын
    • UE 6 in 100 Seconds, Interpreters in 100 seconds, Forensics in 100 seconds, malware analysis in 100 seconds.

      @ko-Daegu@ko-Daegu2 жыл бұрын
  • Alex and you are awesome. I liked both of your videos.

    @Asifur_Rahman@Asifur_Rahman8 ай бұрын
  • Best explanation on the differences with general CPU.

    @Shogoeu@Shogoeu2 жыл бұрын
  • Dude just taught us a topic it takes a whole painful semester to cover, in 12 goddamn minutes.

    @vishal24000@vishal240002 жыл бұрын
    • Did you _actually_ watch the video? And did you _actually_ take a course about this subject (how CPUs work) and know what they teach there?

      @DrorF@DrorF2 жыл бұрын
    • @@DrorF yes smarty pants I took CS429 (Computer Organization and Architecture) as an elective during my bachelor's. Pretty boring.

      @vishal24000@vishal240002 жыл бұрын
    • @@vishal24000 he didnt teach u anything.. u just didnt learn anything in ur college....

      @nightwing8666@nightwing86662 жыл бұрын
  • Damn SOCs have been around for a very long time. But, it just made sense to me now. 🙏

    @pemessh@pemessh3 жыл бұрын
    • Yeah, if M1 is faster because it is an SoC, then why does an Intel Atom SoC not run circles around an i7? This video is a load of crap designed to make Apple fans happy.

      @ralf391@ralf3913 жыл бұрын
    • @@ralf391 I am also sceptical about the claim that M1 out perform i9.

      @porcorosso4330@porcorosso43303 жыл бұрын
    • @@porcorosso4330 it doesn’t, outside of either hyper specialized workloads like workloads that utilize machine learning ASIC on M1 or in performance per watt. While M1 is amazing in its own right, it can’t break how physics works. Lot of stuff that’s running faster on the M1 is because it’s specially coded to utilize fixed function asic or the JIT reconciler/emulation of Rosetta can sometimes skip a lot of steps which isn’t great for mission critical work if need an error free environment. But most Rosetta emulated apps run slower still. Also, Lot of apps don’t utilize fixed function asic on intel or AMD for some reason, been a issue for a long time and nothing magical just because see it happening on M1. People look at premier for the best example of how much faster M1 is vs intel, the reality is by default premier disables intel QSV optimizations on windows and on Mac it’s just not available for some..reason? Turn those QSV functions on in premier on windows and if you have a recent intel CPU the M1 isn’t that far ahead if at all. Another aspect is synthetic benchmarks, Comparing what they believe to be “raw” performance. In reality, most of these benchmarks are very small and can easily fit within the cache operations without much eviction of code to DRAM, and thus get a huge boost in performance. This is also why we are seeing in same benchmarks, a lot of zen based chips running rings at the top too.. none of this specifically invalidates the benchmark, but it’s not a true raw compute scenarios in my book. Take geek-bench for example, it can run each test with minimal code eviction. Cinebench R20-R23 is the same way, this is why memory speed plays less role in this “CPU benchmark” and can even go single channel on my platforms and score similar or higher on some platforms. This because each tile tries to work within the cache. The M1 has a fairly large chunk of cache that’s unified between cores, it also acts as a buffer to DRAM, allowing the M1 to hit the DRAM less often.

      @Getfuqqedfedboy@Getfuqqedfedboy3 жыл бұрын
  • hell, you compress half of the intorduction to operating system course in university into 100 seconds, and explain better than my lecturer

    @kelvinchin5942@kelvinchin59422 жыл бұрын
  • Man this channel keeps getting better and better, it's insane.

    @axa993@axa9933 жыл бұрын
  • from software to the hardware you got me cover! one heart please

    @RajvirSingh1313@RajvirSingh13133 жыл бұрын
    • Thanks for the heart

      @RajvirSingh1313@RajvirSingh13133 жыл бұрын
    • @@RajvirSingh1313 One heart please

      @Mal-nf2sp@Mal-nf2sp2 жыл бұрын
  • Whoever figured out how to make the parts in a cpu as small as they are is an absolute madlad

    @eggstatus5824@eggstatus5824 Жыл бұрын
  • I can’t explain how much I love your videos

    @tochiii_4249@tochiii_42493 жыл бұрын
  • Man videos like this really make me appreciate the times we are living in ! I love technology and I love smart people explaining technology !

    @NK-iw6rq@NK-iw6rq Жыл бұрын
  • Isn't a big part in the performance of the M1 the reduced (ARM) instruction set? Or does it really just come down to the M1 being a SoC?

    @tobiascornille@tobiascornille3 жыл бұрын
    • The Apple Silicon is a very very pipelined ARM chip with some extra accelerators added to it.

      @Knirin@Knirin Жыл бұрын
  • I love this new format where you're bringing experts!

    @debmallyabhattacharya4394@debmallyabhattacharya43943 жыл бұрын
  • Nice clip man . Always amazing content.

    @famasboy4330@famasboy43302 жыл бұрын
  • Such an amazing video, thank you🤩

    @lifetimeadventure9@lifetimeadventure92 жыл бұрын
  • One of the major drawbacks of SOC, is that chips cannot be repaired but only replaced. So the overall cost to get back normal would be very high (for the company/user), considering the number of components it has fabricated on it.

    @mohitshetty8767@mohitshetty87673 жыл бұрын
    • Yup, nothing new if you already buy Apple products lol

      @phantasyphotography3813@phantasyphotography38133 жыл бұрын
    • @@phantasyphotography3813 Lol

      @mohitshetty8767@mohitshetty87673 жыл бұрын
    • Coc...capitalism on a chip? Sorry...made me chuckle.

      @theMikeChastain@theMikeChastain Жыл бұрын
  • Can we get an awesome video (which is any video on this channel) about WebGL ?

    @basharmously2162@basharmously21623 жыл бұрын
    • It's on the list

      @Fireship@Fireship3 жыл бұрын
    • @@Fireship You are awesome!! Thanks!

      @basharmously2162@basharmously21623 жыл бұрын
  • What do you use for your EVERYTHING man? Like the audio, editing software, the animation software, these are perfect videos

    @AMPTechGrade@AMPTechGrade11 ай бұрын
  • Good content was fun to watch. My suggestion for the next video is html 2.0 - gRPC or html3 -QUIC

    @alexveeuk@alexveeuk3 жыл бұрын
  • Excellent video! Love the content Alexander and Fireship presented. I just wanted to say this video reassured I made the right choice buying the last Intel Macbook last year. Im a dev and our team is small and we do iOS, Android, Flutter, PHP, Python projects. I find myself getting involved in almost all of them time-to-time. Its quite frustrating in itself, and looking at Alexander's overview it would've been very bad if all my workflows just broke because of M1. Sure its not the best, performant machine and I do feel jealous sometimes. But atleast I can "just work", and be assured that my current device will be the last to lose support before the M1 lineup becomes the only lineup. Thank you again!

    @ThisuraDodangoda@ThisuraDodangoda3 жыл бұрын
  • developers: lets start using microservices guys so if some small service died we can replace it apple: nah monolith approach so if a line of code is wrong the user will have to come and buy an entire application

    @zedmagdy@zedmagdy3 жыл бұрын
    • Web tech stack isn't really concerned with speed all that much, because microservices is slower. You have to use network to call services rather than a simple function call in a monolith application.

      @VivekYadav-ds8oz@VivekYadav-ds8oz3 жыл бұрын
    • @@VivekYadav-ds8oz that wont be slow if they r on the same network 🙄

      @zedmagdy@zedmagdy3 жыл бұрын
    • @@zedmagdy says who?

      @ESPkenner48@ESPkenner483 жыл бұрын
    • Yes. Apple is here to make money. Surprise!!!!

      @amaledward2147@amaledward21473 жыл бұрын
    • so true

      @denischiosa4496@denischiosa44963 жыл бұрын
  • Due to explanations the process in making sandwich, you deserved a like and new subscribe.

    @faizalzaidin@faizalzaidin2 жыл бұрын
  • 0:54 rare typo.... thanks for another great video. Fabulous channel

    @michaeleaster1815@michaeleaster18153 жыл бұрын
  • What *really* makes M1 faster is that decoding an ARM instruction is much simpler than decoding an x86 instruction. For example, each x86 or AMD64 instructions have different number of bytes. Some of them are 4 bytes, some of them are 6, 8, or even 12, etc... On the other hand, ARM always has fixed length. I don't know about 64-bit ARM, but I do know that 32-bit ARM always use 4-byte(32-bit) per instruction(which includes both opcode and operands). What this means is that it is very easy to predict where to fetch next instruction from, which allows decoding more and more instructions at the same time. Then when an instruction finishes, everything needed to execute next instruction would be immediately ready. Also not to mention that ARM, which is RISC(Reduced Instruction Set Computing) architecture, has far fewer instructions than x86. So instruction decoder itself would be also a lot simpler.

    @yjk_ch@yjk_ch2 жыл бұрын
    • Isnt ARM64 variable length instructions?

      @moimoi9995@moimoi9995 Жыл бұрын
  • SoC's have one advantage and one HUGE drawback... The advantage is obviously the power consumption, and that might lead people to think it's more e ological to do it like this, but here comes the drawback... The less stuff you can upgrade in your computer, the less it's gonna serve you, eventually leading to uprise in throwing out new stuff just to buy new, whereas modular machines sometimes just need more memory or an expansion card and there thry go serve for another one or two years. Keep in mind that producing PCBs in mass includes TONS of toxic materials...

    @shapelessed@shapelessed3 жыл бұрын
    • May work on laptop but not on regular PC, PC is like that for customizable feature that allow you to modify it as needed while laptop probably need the cooling system and power efficiency to be better.

      @gkagara@gkagara2 жыл бұрын
    • The thing with SoC's is that since they're constrained by size they may actually be less efficient

      @freevbucks8019@freevbucks80192 жыл бұрын
    • M1 is built for Macbooks and not the buggy half baked windows machines. most modern non gaming windows laptops also wont allow customisations . And the fact that M1 is still miles ahead than the most powerful windows machines and also the fact that mac doesnt require a ton of ram shows how apple is extremely efficient when compared to windows

      @neggas-@neggas- Жыл бұрын
  • Alex is awesome! Great to see you here

    @nyambe@nyambe2 жыл бұрын
    • @samiebuka good to see you too!

      @AZisk@AZisk2 жыл бұрын
  • damn!! how much research must have been gone through, this video has more information then any another video would have given

    @StoriesByAnonymous@StoriesByAnonymous Жыл бұрын
  • How about real comparison between an Apple M1 machine and a Windows / Linux machine with the same price? For example PC for programming based on i7 11th generation and Ryzen 5*00X?

    @ivanpavlovnorth@ivanpavlovnorth3 жыл бұрын
    • How about a test with a computer with the same numbers of transistors? M1 has 16 billion and i9 has 7 million then we should use a xeon vs M1..we would have apple pie where m1 is raped

      @Teluric2@Teluric22 жыл бұрын
    • Build a i9 pc for under 2k and will be at least 2x faster than 1. Wanna see this test with no fake numbers? kzhead.info/sun/Zaaon617bKN9gnA/bejne.html

      @Teluric2@Teluric22 жыл бұрын
  • An important point: The M1 can only be fast when using tools that are optimized in it. If you try to encode a lot of jxl images or some av1 video the M1 will be really slow. The M1 do not have support for nothing except the Metal API, and that meand that a program using Vulkan will perform slower too.

    @talkysassis@talkysassis2 жыл бұрын
  • Now THIS is some quality content 🙏

    @fIoressence@fIoressence3 жыл бұрын
  • yo this was really good, can you do gpu next?

    @Robin-mi1zj@Robin-mi1zj3 жыл бұрын
  • its not only because of SOC, its because of its underlying architecture. ARM vs x86-64. x86-64 uses CISC with RISV implementation where ARM is using RISV with CISC implementation. to be honest RISV CPU can do more cycles than a CISC CPU without losing efficiency.

    @darrenliewjiaquan@darrenliewjiaquan2 жыл бұрын
  • I think you meant opcode, not optcode 😉🤓 Nice video!

    @PhilAlbu@PhilAlbu2 жыл бұрын
  • great useful 👍😊❤ thank u from Gilgit-Baltistan

    @arjumandvillagecooking@arjumandvillagecooking6 ай бұрын
  • The sandwich analogy would make more sense if it was instead comparing a supermarket to specific stores.

    @Wander4P@Wander4P2 жыл бұрын
  • Is this an Apple commercial?

    @h.hristov@h.hristov3 жыл бұрын
    • Apparently

      @physikus7888@physikus78883 жыл бұрын
  • I'd be totally down to buy an M1 laptop! Just have to wipe the drive and install a dual boot with a Linux installation and windows 10... You'll never catch me bending over backwards trying to conform to Mac OS. Prefer it if I could get it in a different case as well..? Then again Apple is afraid of change so I guess I'd be stuck with the 13 year old design.

    @YurgenGrimwood@YurgenGrimwood3 жыл бұрын
    • CUTTING EDE 13 year old design!

      @SeanTheEvans@SeanTheEvans Жыл бұрын
  • This is very interesting, I hope other CPU companies will go in this direction too

    @mathisbuilder@mathisbuilder3 жыл бұрын
  • Hey can you please cover more topics related to computer and processor architecture like pipellining channelization etc

    @elitegamer8008@elitegamer8008 Жыл бұрын
  • Right on time to show my teenage daughter. She got some questions, how Python actually gets executed :-)

    @leoingson@leoingson3 жыл бұрын
    • Please make a video on this too

      @kamaljeetsahoo4752@kamaljeetsahoo47523 жыл бұрын
    • @@monke4319 Hehe. She knows how to count binary from age 7 or so (one hand, 0-15). Funny moment when it dawned on her, what this is actually good for :-) We also did tube-triods to explain RAM, and floppy disk tracks + sectors. Internet-age kids have problems to understand the concept of storage, and where it happens when. There is no more blinking stuff, you can actually touch. It was very interesting for me too, to draw battery symbols and to know which was plus, and direction of current etc - after all these years.

      @leoingson@leoingson3 жыл бұрын
    • @@leoingson dayum negga she knows a lot

      @neymarjr_.@neymarjr_.2 жыл бұрын
  • The beginning of the video made me think it was gonna be a great video explaining the cpu. What I got instead was a 10 minute long ad.

    @kentagent6343@kentagent63435 ай бұрын
    • Same :c

      @junovicz@junovicz2 ай бұрын
  • This is the first Beyond 100 Seconds which doesn't throw me offbeat with Jeffs style!

    @kingundfaker@kingundfaker3 жыл бұрын
  • Hats off to your visualisation and animation work! 🤘🏻

    @prashantchoudhari560@prashantchoudhari5602 жыл бұрын
KZhead