Thanks so much for having me on your channel, Jeff. It's been really fun making this one with you!
@AchrafBardan3 жыл бұрын
Smart to show NativeScript as the last stack you were showing
@ecom.laknabil3 жыл бұрын
you can build your own virtuel CPU by following this channel kzbin.info/door/lQEB7Jq0LKZPWmzoKoe6bQ
@ShawnRitch3 жыл бұрын
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.
@AZisk3 жыл бұрын
@@ShawnRitch you’re right, but there is only so much I can fit into a short video :)
@cakemnstr423 жыл бұрын
did you test NodeJS on node 16 with ARM support or Node in Rosetta?
@alexscriba60753 жыл бұрын
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
@alexscriba60753 жыл бұрын
@@user-if1de8pt2j lol my bad 😂 by “100 seconds” I was referring to the series
@grumpy_cat13373 жыл бұрын
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
@djsekav3 жыл бұрын
@@grumpy_cat1337 you’re very helpful not even pointing us in the right direction let alone giving us a link
@murkelastateliborac2003 жыл бұрын
@@user-if1de8pt2j well does the same person talk for 12mins?
@alexscriba60752 жыл бұрын
@Chris you’re roasting me for being a student?
@ruaidhrilumsden3 жыл бұрын
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?
@brandond_3 жыл бұрын
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.
@hariranormal55843 жыл бұрын
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
@ruaidhrilumsden3 жыл бұрын
@@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.
@ChrisD__3 жыл бұрын
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.
@hariranormal55843 жыл бұрын
@@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
@lucysluckyday3 жыл бұрын
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.
@derdere78032 жыл бұрын
Gems are always hidden in comments.
@Adhithya1002 Жыл бұрын
thanks dude, really informative.
@amirfmaster2515 Жыл бұрын
You are a genius
@fredinit5 ай бұрын
As smart as Woz was, he still needed Chuck Peddle (6502's designer) help in getting it working.
@mhmdalharbi23703 жыл бұрын
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
@ko-Daegu3 жыл бұрын
I think RISC vs CISC should have been mentioned other than that this vid is really great
@gumbilicious13 жыл бұрын
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.
@ko-Daegu3 жыл бұрын
@@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
@vandermonke41783 жыл бұрын
he didnt say much about what ARM is did he? Did I miss it?
@julienlavoie69083 жыл бұрын
The last Intel MacBooks are also 9th gen intel. It's important to note from a "processing speed" perspective.
@ThyBoiledOne9 ай бұрын
this is not 100 seconds
@TomCruise-vu9br6 ай бұрын
how a cpu works was in 100 seconds
@frankdiaries5 ай бұрын
:trolled:
@belv17675 ай бұрын
@@frankdiariesdiscord mod
@jonathanmay75084 ай бұрын
Technically he explained it the intro...
@amandwivedi2 ай бұрын
It never is.
@namanmurarka92523 жыл бұрын
All my weeks of study depreciated to 100s 😭 😂
@ss10million2 жыл бұрын
The first 2 minutes is exactly the basis of what I leaned in an entire CS class specifically computer organization. Very well explained.
@Karuska22ps2 жыл бұрын
Everyone is a CS student
@TheMessanger2 жыл бұрын
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
@oakleybladegames97313 жыл бұрын
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.
@deepblueharvest2 жыл бұрын
Yep. Misanthropes are wrong. Humanity largely rocks.
@aurelia80282 жыл бұрын
Vastly overrating the importance of ben franklin m8
@BRBallin1 Жыл бұрын
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
@alexc8512 Жыл бұрын
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.
@nagahumanbeingzooofparticl8836 Жыл бұрын
@@BRBallin1some people are just born different
@faisalahmad24453 жыл бұрын
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
@_skiel2 жыл бұрын
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.
@bzygauksei2 жыл бұрын
O
@tanmay______3 жыл бұрын
1:45 minor correction, it’s called the opcode
@hunterwilhelm3 жыл бұрын
Yep, operation code
@Fireship3 жыл бұрын
Good call!
@albertmarashi36663 жыл бұрын
opt code works fine too
@harrazmasri28053 жыл бұрын
honestly that 1 minute mark is the simpliest and compact explaination of my whole semester
@EthanDyTioco3 жыл бұрын
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
@yesyes-om1po Жыл бұрын
@@EthanDyTioco colleges arent there to teach people they are there to rip you off
@Rahul-fq9kf3 жыл бұрын
Wow! Love the way you have explained the technical bits in a such a simple way.
@user-qq6si7zv3t2 жыл бұрын
Thanks for the 11 minute apple ad
@11vag3 жыл бұрын
Such a massive job you've done here guys. Thanks.
@johna89993 жыл бұрын
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.
@dorathedestroyer25082 жыл бұрын
I mean…he fully explained in the video
@talkysassis2 жыл бұрын
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.
@krtirtho3 жыл бұрын
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💓
@AZisk3 жыл бұрын
Whoa! Thanks so much!
@JatPhenshllem2 жыл бұрын
How do you make a cpu?
@conradmbugua90982 жыл бұрын
@@JatPhenshllem kzbin.info/www/bejne/p56ZaKqYd5p6o6s&ab_channel=DIYwithBen (How a CPU is made)
@JatPhenshllem2 жыл бұрын
@@conradmbugua9098 Thanks
@Rudxain Жыл бұрын
@@JatPhenshllemFPGA + RISC-V
@Koubles2 жыл бұрын
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.
@aktchungrabanio64672 жыл бұрын
EXACTLY how I felt! I stopped right away.
@IvoPavlik10 ай бұрын
Same here. The first part was great, the second felt not only off topic, but heavily biased towards Apple. Disappointing 🙁
@bluemodize77183 ай бұрын
fr I feel so disappointed
@unodeipiu3162Ай бұрын
Thanks, you saved me 10 minutes
@MorganTheGorgon17 күн бұрын
The title literally has “Apple Silicon” in the title… going over the M1 chip and its improvements isn’t a “biased advertisement”, it’s just reality. People get so defensive whenever Apple gets any praise, even when deserved. It’s weird.
@lucarosania13582 жыл бұрын
Ok, so this is basically 2 minutes of explanations about cpu architectures followed by a ten-minute ad for the M1... Too bad, I was really eager to learn.
@Pegoku_2 жыл бұрын
Title: How a CPU works in 100 seconds Me: How a CPU works in 10 minutes
@kentagent6343 Жыл бұрын
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.
@junovicz10 ай бұрын
Same :c
@FilledStacks3 жыл бұрын
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.
@0xfaizan3 жыл бұрын
Defi application in 100 seconds
@Bradenxd123 жыл бұрын
Omg yes!!
@ptd3v Жыл бұрын
You are one of the only KZbinrs I can listen to talk about tech without wanting to my blow my brains out 😅 Thank you!
@animeshsingh42903 жыл бұрын
It feels nice that I remember all of this till date
@thaboshikwambane3 жыл бұрын
I’ve never seen such a beautiful Collab on KZbin. Wow. Well done guys 👏🏽🙆🏽♂️
@h.hristov3 жыл бұрын
Is this an Apple commercial?
@physikus78883 жыл бұрын
Apparently
@richardred43964 ай бұрын
Obviously
@ryancallstrom2 жыл бұрын
This is a misleading description of x86-64 (Intel/AMD in most cases) vs ARM. ARM is a RISC (Reduced Instruction Set Computer) style processor, so what you gain in speed is lost in feature set and wider compatibility with Windows and other x86-64 based operating systems. There is also nuance in the testing performed here that might be missed by the uninformed viewer, i.e compiler optimizations done in the background automatically for ARM, that would explain the apparent performance difference. ARM is indeed a powerful and typically less power hungry platform, but there are pros and cons not discussed here that would and do apply when looking to develop native code for x86-64 or other architectures. Web applications built on JavaScript and other platform-indepenent languages would likely benefit from development on ARM, however any desktop apps for x86-64 would likely have little to no difference in compile time/runtime performance especially when running on Apple's translation layer. Since KZbin doesn't seem to like my links just search m1 vs x86 for more info
@RajvirSingh13133 жыл бұрын
from software to the hardware you got me cover! one heart please
@RajvirSingh13133 жыл бұрын
Thanks for the heart
@Mal-nf2sp3 жыл бұрын
@@RajvirSingh1313 One heart please
@ecdhe3 жыл бұрын
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?
@MDSABBIR-we3pc3 жыл бұрын
Thank you very much you all videos are very helpful and helps to understand basics easily from your 100s videos ❤️❤️
@Wander4P2 жыл бұрын
The sandwich analogy would make more sense if it was instead comparing a supermarket to specific stores.
@SadDamniT3 жыл бұрын
Oh man Alex nailed it 👌 Thank you for inviting him
@shanegilbert65743 жыл бұрын
Alex is underrated.
@SadDamniT3 жыл бұрын
@@shanegilbert6574 I couldn't agree more!
@peteplays6043 жыл бұрын
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
@samarmohan98913 жыл бұрын
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
@samarmohan98913 жыл бұрын
Lets goooo, Fireship recognized this!
@ibrahimshehuibrahim9183 жыл бұрын
U forgot to add Go
@samarmohan98913 жыл бұрын
@@ibrahimshehuibrahim918 thanks, ill add it next time.
@ko-Daegu3 жыл бұрын
UE 6 in 100 Seconds, Interpreters in 100 seconds, Forensics in 100 seconds, malware analysis in 100 seconds.
@PhilAlbu2 жыл бұрын
I think you meant opcode, not optcode 😉🤓 Nice video!
@zedmagdy3 жыл бұрын
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
@comradepeter873 жыл бұрын
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.
@zedmagdy3 жыл бұрын
@@comradepeter87 that wont be slow if they r on the same network 🙄
@ESPkenner483 жыл бұрын
@@zedmagdy says who?
@amaledward21473 жыл бұрын
Yes. Apple is here to make money. Surprise!!!!
@denischiosa44963 жыл бұрын
so true
@faizalzaidin3 жыл бұрын
Due to explanations the process in making sandwich, you deserved a like and new subscribe.
@dsi-films12643 жыл бұрын
This feels a little different than usual but still incredible! It would be great if you made more videos like this, thank you!
@physikus78883 жыл бұрын
Its basically the usual informative stuff at the beginning and then a 10 minute ad.
@sabhyasoni4485 Жыл бұрын
@@physikus7888what?
@Riborwahz2 жыл бұрын
Your hard work for these videos and for the editor of this video is surely worth watching to us and useful
@sithsithari3 жыл бұрын
Thanks both of you! Digital circuit and logic paper revision after years in just 100 secs and more 😁 ❤️
@AZisk3 жыл бұрын
Thanks !
@MathewZ7883 жыл бұрын
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.
@rb1471 Жыл бұрын
How does undervolting work regarding battery output?
@MathewZ788 Жыл бұрын
@@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.
@Fluyd3 жыл бұрын
Yooo, epic content. Love to see it, keep up the great work!
Whoever figured out how to make the parts in a cpu as small as they are is an absolute madlad
@coRliX4k2 ай бұрын
dude i think about this every day like it was a picture and said size 14 atoms... 7nm architecture... just the degree in which weve micronized electronics... most know pcb replaced wires but damn a cpu is exponentially smaller then i think they could ever dream back then... idk compared to a human hair its stilll wayyy smaller
@mrabdulhanan28322 жыл бұрын
This made me subscribe in the first 6 seconds of the video .. Great explanation. Keep up the good work 👍
@GuardianApe3 жыл бұрын
Love your content man , keep this up and thank your for what you do.
@arjumandvillagelife Жыл бұрын
great useful 👍😊❤ thank u from Gilgit-Baltistan
@shapelessed3 жыл бұрын
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...
@gkagara3 жыл бұрын
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.
@freevbucks80192 жыл бұрын
The thing with SoC's is that since they're constrained by size they may actually be less efficient
@LourenDotOrg4 ай бұрын
Started working with ARM64 devices. Came back to this 3 year old video for a refresher. Thank you.
@theocrob3 жыл бұрын
Yessss I was hoping there’d be a new one today
@Asifur_Rahman Жыл бұрын
Alex and you are awesome. I liked both of your videos.
@vishal240003 жыл бұрын
Dude just taught us a topic it takes a whole painful semester to cover, in 12 goddamn minutes.
@DrorF3 жыл бұрын
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?
@vishal240003 жыл бұрын
@@DrorF yes smarty pants I took CS429 (Computer Organization and Architecture) as an elective during my bachelor's. Pretty boring.
@nightwing86663 жыл бұрын
@@vishal24000 he didnt teach u anything.. u just didnt learn anything in ur college....
@michaeleaster18153 жыл бұрын
0:54 rare typo.... thanks for another great video. Fabulous channel
@theZ3r0CooL3 жыл бұрын
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.
@temmie33253 жыл бұрын
"How a CPU works in 100 seconds" Literally explains the entire school program
@triopical68842 жыл бұрын
temmie
@mohitshetty87673 жыл бұрын
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.
@phantasyphotography38133 жыл бұрын
Yup, nothing new if you already buy Apple products lol
@mohitshetty87673 жыл бұрын
@@phantasyphotography3813 Lol
@theMikeChastain2 жыл бұрын
Coc...capitalism on a chip? Sorry...made me chuckle.
@kelvinchin59423 жыл бұрын
hell, you compress half of the intorduction to operating system course in university into 100 seconds, and explain better than my lecturer
@Anonymous-ok8qf2 жыл бұрын
That was the longest 100 seconds of my life.
@felidev3 жыл бұрын
I'm a simple person, Fireship post a new video and I hit the like button right away
@indiansoftwareengineer48993 жыл бұрын
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.
@NK-iw6rq Жыл бұрын
Man videos like this really make me appreciate the times we are living in ! I love technology and I love smart people explaining technology !
@basharmously21623 жыл бұрын
Can we get an awesome video (which is any video on this channel) about WebGL ?
@Fireship3 жыл бұрын
It's on the list
@basharmously21623 жыл бұрын
@@Fireship You are awesome!! Thanks!
@ianlecker2856 Жыл бұрын
5:32 didn’t expect to see a house I worked construction on in this frame
@johnkim12963 жыл бұрын
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! 🤖
@cyxum49678 ай бұрын
Amazing explanation, we studied this on the last years class
@czesiek77PL3 жыл бұрын
The second part seems more like Apple ad...
@ChrisD__3 жыл бұрын
Yeah, if the fact that M1 is an SoC, was the reason it's so fast, then Atom and any Snapdragon would have been dominating the laptop and tablet space right now...
@AlexsInsights-1233 ай бұрын
офигеть, как же я без тебя жил, министр! теперь кэш течёт рекой! большое тебе спасибо за идеи!
@mandrasaptakmandal6363 жыл бұрын
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
@harshahc12 жыл бұрын
Love your channel. Very good wealth of information 🔥
@yjk_ch3 жыл бұрын
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.
@moimoi99952 жыл бұрын
Isnt ARM64 variable length instructions?
@03urukhai76 Жыл бұрын
Clever Advertisement for gaining newer generation Apple cultists.👍
@pemessh3 жыл бұрын
Damn SOCs have been around for a very long time. But, it just made sense to me now. 🙏
@ralf3913 жыл бұрын
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.
@porcorosso43303 жыл бұрын
@@ralf391 I am also sceptical about the claim that M1 out perform i9.
@Honeypot-x9s3 жыл бұрын
@@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.
@justintime8022 жыл бұрын
This is a very nice collaboration. Thanks guys :)
@leoingson3 жыл бұрын
Right on time to show my teenage daughter. She got some questions, how Python actually gets executed :-)
@kamaljeetsahoo47523 жыл бұрын
Please make a video on this too
@leoingson3 жыл бұрын
@@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.
@neymarjr_.3 жыл бұрын
@@leoingson dayum negga she knows a lot
@famasboy43303 жыл бұрын
Nice clip man . Always amazing content.
@zharal3 жыл бұрын
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!
@DmitryKrasnikov6 ай бұрын
if whole youtube underrate Alex as stated in 2:20 why should we go different way?
@bogdanchayka39853 жыл бұрын
So you didn't mention that the M1 chip is basically ARM? And apple stole a concept once again and made it theirs?
@FireWyvern8703 жыл бұрын
ARM + SoC. Both are not new. This video is very biased.
@vspianist2 жыл бұрын
this is 100 seconds, thank you for this 100 second goodness
@YurgenGrimwood3 жыл бұрын
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.
@SeanTheEvans2 жыл бұрын
CUTTING EDE 13 year old design!
@commandpost1 Жыл бұрын
What do you use for your EVERYTHING man? Like the audio, editing software, the animation software, these are perfect videos
@Zooiest2 жыл бұрын
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 )
@nyambe3 жыл бұрын
Alex is awesome! Great to see you here
@AZisk3 жыл бұрын
@samiebuka good to see you too!
@talkysassis2 жыл бұрын
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.
@cookies-pb1eg9vg8v10 ай бұрын
This is a summary, which is so useful
@scoobyman833 жыл бұрын
Great explanation on SOC vs standard layout. So the main idea is that we lose the ability to upgrade any of the components, so we can save a few seconds of build time ? Am i the only one who doesn't see any appeal in that ? Why the hype ?
@rajvo13 жыл бұрын
Yes, you're the only one, because there are much more benefits to that
@Jopekos3 жыл бұрын
Awesome video! perfect explanation of this technology, I’m excited for the future.
@ivanpavlovnorth3 жыл бұрын
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?
@Teluric23 жыл бұрын
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
@Teluric23 жыл бұрын
Build a i9 pc for under 2k and will be at least 2x faster than 1. Wanna see this test with no fake numbers? kzbin.info/www/bejne/aHPSoHx5atZ6hZo
@yagoa2 жыл бұрын
The main benefit is the 8 deep interpreters for multicore performance thanks to ARM, a centimeter extra distance at the speed of light does not make a big difference.
@Chad_Thundercock3 жыл бұрын
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.
@OPGAMER.3 жыл бұрын
Best Explanation Ever 👍
@Alcaatraz013 жыл бұрын
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?
@AZisk3 жыл бұрын
If you can wait for the M2's then you should wait, IMO
@asdf35683 жыл бұрын
8 GB of RAM. You must not run Docker
@omarsabra44343 жыл бұрын
I recommend to change the title to something related to M1 for developers because I was searching to find alike video and I didn't find any near helpful and detailed than that and I quite searching then, thank you so much for such useful information
@KooShnoo3 жыл бұрын
EDIT: He did make a mistake, it's supposed to be opcode! 1:42 TIL it’s called “optcode” not “opcode”. Have I been saying it wrong the whole time?
@flexairz3 жыл бұрын
It is opcode. Operation Code.
@ananttiwari13373 жыл бұрын
It is opcode, and always has been. He made a mistake!
@modolief3 жыл бұрын
@Fireship please pin this comment.
@ryanreedgibson2 жыл бұрын
I used to use apple all the time when I was a kid. But when you need extreme CPUGPU and a large amount of ecc memory it would cost 20k verus just 4k for a PC. Also I never by a prebuilt system. Each time I upgrade, I build. In that case I would never used a Mac product.
@tobiascornille3 жыл бұрын
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?
@Knirin2 жыл бұрын
The Apple Silicon is a very very pipelined ARM chip with some extra accelerators added to it.
@phetolomojela30143 жыл бұрын
I like you get straight to the point , not time waste
@altairbueno56373 жыл бұрын
Its funny listen a *web* developer talking about cpu architecture, when literally none of their work relay directly on any of this stuff.
@FireWyvern8703 жыл бұрын
Agreed.
@AntonySimkin3 жыл бұрын
It's even funnier that the comparison is made on intel mac and m1 mac and not windows intel/amd + linux intel/amd + intel mac + m1 mac...