Shadowing Practice: How a CPU Works in 100 Seconds // Apple Silicon M1 vs Intel i9 - Learn English Speaking with Video

Creating lesson...
1
The central processing unit, or CPU, is like the engine in your car, or the brain in your skull, and is like a really fancy calculator used to run the applications on your computer.
2
When you write software in a language like JavaScript or Python, you're actually writing a set of instructions that will be executed as machine code by a CPU,
3
which itself is a carefully crafted piece of metal and silicon that contains billions of tiny transistors, or on-off switches that represent ones and zeros.
4
To perform mathematical calculations, a CPU will combine multiple transistors together to form logic gates.
5
For example, AND will take two binary inputs and validate that both are true to produce a true output.
6
It only takes a few basic logic gates to solve highly complex computational problems.
7
Modern chips contain billions of transistors, and they can be flipped on and off billions of times per second.
8
The state of the CPU is synchronized by an oscillator known as the clock generator.
9
In general, the more times the clock can pulse per second, the faster the CPU can compute, and is normally measured in gigahertz.
10
Gamers will sometimes overclock their CPUs to gain more performance at the cost of higher temperatures and a lower life expectancy.
11
Now, in order to run applications, it interacts with the system memory or RAM in a series of four steps known as the machine or instruction cycle.
12
Step one is the fetch phase.
13
Think of a software program as a set of instructions stored in the RAM.
14
The CPU has registers to temporarily store the address and memory that it wants to interact with.
15
The program counter starts at zero and copies that address to the memory address register.
16
Then the control unit sends out a signal to copy the data from that address to the instruction register, at which point it needs to figure out how to use this instruction in the decode phase.
17
The control unit parses the actual bits in the instruction.
18
Most importantly, the opt code contains the instruction, like add or subtract, and the operand is the address and memory to perform that operation on.
19
The final execute stage takes the decoded information and passes it as electrical signals to the relevant parts of the CPU.
20
The Arithmetic Logic Unit, or ALU, can perform math on the data and then store the results in RAM to change the state of the program.
21
The cycle is repeated billions of times per second, and modern chips utilize multiple CPU cores to run multiple computations in parallel.
22
That's how a CPU works under the hood, but there's a lot more you should know about processor architectures if you're a developer.
23
And that's why I've invited Alex from the most underrated tech
24
channel on YouTube to break down some more advanced concepts like Apple Silicon
25
and how to run performance benchmarking on your own machine.
26
Hi everybody, my name is Alex
27
and I'm here to take you beyond 100 seconds in your quest to learn about how processor architectures differ
28
and also how those differences affect our productivity as developers.
29
I'll show you what the Apple Silicon chip and a refrigerator have in common, and then I'll share some of my own experiences with using developer tools
30
and build execution on the first generation Apple Silicon chip called the M1 chip, as compared to the Intel chip.
31
First and foremost, I just want to say
32
that my personal productivity as a developer depends less on processors inside my computer
33
and more on how much coffee I had and whether I'm I'm trying to work after a big meal.
34
But aside from human factors, let's dig deeper into why the new Apple Silicon machines have been really kicking up a storm and changing the industry, software development included.
35
And spoiler alert, the M1 machines have been beating the Intel machines in pretty much every build test I've thrown at it.
36
Except a couple.
37
But it's not all roses, so let's talk about some downsides later too.
38
So why is it so darn fast?
39
The first point I want to discuss is the physicality differences
40
of the new Apple Silicon way versus the old Intel and AMD way.
41
This is what Apple Silicon and your refrigerator at home have in common.
42
Alright, imagine for a minute that you want to make a turkey with cheese sandwich.
43
You go over to the refrigerator and in one place you have the turkey breast, the cheese, the mayonnaise, the mustard.
44
All those ingredients are right there in one place and you don't have to run around the house to gather them.
45
You don't have to drive to lots of stores to pick them up.
46
And this saves you lots of time and energy.
47
This kind of efficiency can be found in the new Apple Silicon chips because they aren't just a new processor.
48
Apple Silicon is a collection of many chips that are housed inside one silicon container.
49
And this type of system is known as a system on chip or SOC.
50
And it's essentially an entire computer on one chip.
51
The main CPU, the GPU, the I.O controller, the ML engine, they're all co-located.
52
So when the task is to make an electronic sandwich, so to speak, or in other words, to do some work that involves all these different components,
53
a system on chip is going to be a lot more efficient in terms of energy usage, using only a tiny bit of power, and at the same time, it's going to be faster than,
54
say, a typical machine that has all the components separate.
55
Intel based machines have a CPU that's a single chip and memory is located somewhere else on the motherboard.
56
The I.O is somewhere else.
57
The individual components might be even more powerful than the ones available at the moment on the latest Apple silicon based machines.
58
But that comes at a cost since these powerful components are like supermarkets that carry different sandwich ingredients.
59
As a result, when you want a sandwich on an Intel machine, You'll have to drive all over town because one store will have the turkey another store will have the cheese
60
Yet another store will have the mayonnaise each store might be really good at their own process
61
and have the best ingredients
62
But each store also takes a lot of power to run losing out on the efficiency
63
And since all you really want is just to make a simple sandwich You're wasting a ton of time
64
and energy picking up the ingredients from all the different stores Of course, some might say the drawback with the system-on-chip design is that,
65
at least for now, with the current selection of Apple Macs, you won't be able to upgrade or change any of the components.
66
You get what's on the menu, and that's it.
67
But that's not news to most people that are familiar with the Apple ecosystem.
68
Once you accept that idea, you might even see the benefits of having a more efficient design where all the components are on one chip,
69
and they outweigh the cons and still provide better performance than the alternative.
70
All right, that's enough Let's talk about food.
71
So how does this all affect real world development workflows?
72
So I've been doing a bunch of developer focused tests on the latest Apple Silicon machines over on my channel,
73
as well as comparing them to other machines like the Intel Macs and PC machines too.
74
And in general, the new design has been showing really great promise for my own workflows as a developer, coffee and sandwiches excluded.
75
Now there are lots of technology stacks that developers use, of course, and I'm trying builds in a few of them.
76
But now let me share some of the results I've seen with Node and JavaScript tests.
77
And after that, I'll also discuss the tech stacks
78
that have the biggest gains on the new machines
79
and also the stacks that have the biggest losses right now at the moment.
80
I started off trying out some existing JavaScript tests that are in the browser and then in Node.
81
The browser test consisted of running Speedometer, which is a browser benchmark that measures the responsiveness of web applications.
82
It uses demo web apps to simulate their actions such as adding to-do items.
83
You visit the app in a browser of choice.
84
I tried Chrome and Safari for this.
85
And you execute the automated test
86
that runs through a collection of applications built with some of the more popular UI frameworks like Angular, React, Ember, even Vanilla.js and jQuery.
87
And a whole bunch more.
88
And then this test reports the results as a single number when it's done.
89
This number represents the runs per minute.
90
And the higher the better.
91
When it was finished, I found that it had significantly more iterations on the M1.
92
Safari had the best results, even going off the scale, and Chrome did pretty well too.
93
I also ran some JavaScript benchmarks in a node environment and found a pretty CPU-intensive algorithm called
94
Fancook Redux that's implemented in JavaScript and created for Benchmarks Game, a website that collects algorithms and tests in different languages.
95
And while my 16-inch MacBook Pro with the Intel Core i9 processor did beat the MacBook Air with the M1 chip, it really didn't do so by a lot.
96
And when you consider the price differences between the machines, and the fact that the M1 stayed cool throughout the test, and that the battery hardly even took a hit on the M1,
97
you might be thinking whether the extra few seconds saved
98
while running this benchmark on the Intel i9 is really worth the money.
99
So running benchmarks is often very telling, but it doesn't necessarily line up with real-world scenarios.
100
So that's why I also like to conduct my own tests, whether using my own projects or other open-source projects that are out there and that commenters send to me.
101
And here's what I found.
102
I ran a build of the official NativeScript plugins repository, which is a project based on NX workspaces.
103
If you're not familiar with NX workspaces, it allows you to scale large JavaScript and other tech stack projects, and you can see the NX quick start right here on this channel.
104
In my test, the build that took about three minutes on each machine only differed in build time by tens of seconds,
105
with the M1 MacBook Air beating out the Intel MacBook Pro two out of three times.
106
So let's talk about what dev stacks benefit the most from the new Apple Silicon chips at this time.
107
For JavaScript developers, the benefits are already visible.
108
However, if you're building mobile apps for iOS or compiling C++ code, then this is where you'll see a 40 to 50% improvement in build times.
109
I ran a few Xcode builds and Swift builds, and I did some C++ algorithms and built OpenCV and WebKit.
110
In all those tests, the M1 came out on top.
111
So what DevStacks benefit the least?
112
So far in my own testing, any builds that have to do with running natively built software
113
and building using native tooling has absolutely destroyed Intel in speed and battery performance,
114
native being compiled for the Apple Silicon architecture.
115
Even when running some software via Apple's Rosetta,
116
that's the translation layer that allows you to run Intel and AMD-based x64 and x86 programs on the new Apple hardware,
117
even some of those software packages ran better than on Intel.
118
And that's just amazing.
119
But there are workflows that aren't ready yet, in my opinion.
120
If you are an Android developer, Android Studio and official Android emulators work on Apple Silicon,
121
but they're currently using Rosetta for translations.
122
And while Rosetta is generally pretty good at running x86 targeted code on ARM chips, it's not enough for the CPU-hungry Android workflows,
123
and I found the results to be not very usable at the moment.
124
The latest version of .NET, which is version 5 right now, isn't fully supported to run on ARM.
125
Simple console applications ran just fine for me, but testing any web workflows like ASP.NET Core doesn't work at all yet.
126
Now, it's expected that by the end of this year, .NET 6 will come out.
127
It's in alpha right now, and we'll have full support for ARM.
128
Until then, if you need to develop .NET apps, I suggest using a PC with Windows.
129
Oh, and if you think you can use a virtual Windows machine, I've tested this as well.
130
Parallels is the only vendor that currently supports the M1 chip to create a virtual Windows environment,
131
but the issue is that the Windows guest operating system for ARM is still quite immature and needs a lot of work.
132
Also, Visual Studio 2019, the latest Visual Studio offering from Microsoft, is unfortunately not compatible with ARM at all,
133
and in my test is not stable, even using the built-in Windows translation of x64 software to run on ARM hardware.
134
For game developers that use Unity, I'm pleased to say that it works surprisingly well on Apple Silicon via Rosetta.
135
However, it's not as performant as running natively on x86.
136
But by the time you watch this video, Unity might have a version natively compatible with M1, which I know they're working hard to get out as soon as possible.
137
Overall, Apple Silicon has really put a boost into many workflows for developers and other professions, and eventually even gaming.
138
And with the M1 tests, we're seeing the improvements with just their entry-level machines.
139
The upcoming second and third generation Apple Silicon machines will be even more performant and I can't wait to see that.
140
I think it's really going to help us as developers move to the next level
141
and I think it's just going to lift up the entire industry.
142
To follow the updates on the new Apple Silicon chips as they relate to us, developers, as well as seeing me conduct these tests that I've been discussing here,
143
consider subscribing to my channel as well.
144
The link is down below.
145
I'm going to wrap it up there.
146
Thanks to Fireship for hosting me to share this amazing new world that we're about to Enter as developers.

Why This Video Is Great for English Speaking Practice

If you’re looking to boost your IELTS speaking practice or just want to learn English with YouTube, this clip is a goldmine. It blends technical explanations with casual storytelling, making it perfect for practicing both formal and conversational tones. The dialogue flows naturally, with pauses and transitions that mimic real-life speech—key for mastering fluency. Plus, the mix of analogies (like comparing CPUs to car engines) and specific terms (like "system on chip") helps you build vocabulary while staying engaged.

Breaking Down Natural Speech Patterns

Let’s look at a few lines that sound effortless and why they work. First: "The central processing unit, or CPU, is like the engine in your car, or the brain in your skull..." The use of "or" to rephrase ("CPU") and simple analogies ("engine," "brain") makes complex ideas accessible. This structure is great for shadow speak because it’s easy to mimic rhythm and emphasis. Next: "Gamers will sometimes overclock their CPUs to gain more performance at the cost of higher temperatures..." The phrase "at the cost of" is a common way to explain trade-offs, and the casual "will sometimes" sounds natural, not forced. Finally: "But aside from human factors, let's dig deeper into why the new Apple Silicon machines..." The transition "but aside from" smoothly shifts focus, a skill vital for IELTS speaking. These lines show how to balance clarity with conversational flow.

A Simple Shadowing Routine to Try

Ready to practice? Use a shadowing app or just your phone’s voice recorder for this repeat-and-record loop:

  1. Watch a 10-second segment of the video, focusing on intonation and pauses.
  2. Hit pause, then immediately repeat the lines out loud, trying to match the speaker’s pace and stress.
  3. Record yourself, then compare it to the original. Notice differences in rhythm or word stress.
  4. Repeat with a new segment, gradually increasing to 20 seconds.
This routine trains your brain to think and speak in English, making "shadow speak" feel less like practice and more like a conversation. Over time, you’ll notice your fluency and confidence grow—key for acing English speaking practice.

Grammar in this video

The structures the speaker uses most, with the exact words from the video:

StructureIn the video
Present perfect continuous have/has been + -ing — an action that started earlier and is still going onhave been beating · I've been doing · has been showing
Passive voice be + past participle — the focus is on what happens, not who does itwill be executed · can be flipped · is synchronized
Present perfect have/has + past participle — a past action that still matters nowI've invited · have been · I've thrown
Relative clauses who / which + clause — extra information about a person or thingSpeedometer, which is · repository, which is · NET, which is

What is the Shadowing Technique?

Shadowing is a science-backed language learning technique originally developed for professional interpreter training and popularized by polyglot Dr. Alexander Arguelles. The method is simple but powerful: you listen to native English audio and immediately repeat it out loud — like a shadow following the speaker with just a 1–2 second delay. Unlike passive listening or grammar drills, shadowing forces your brain and mouth muscles to simultaneously process and reproduce real speech patterns. Research shows it significantly improves pronunciation accuracy, intonation, rhythm, connected speech, listening comprehension, and speaking fluency — making it one of the most effective methods for IELTS Speaking preparation and real-world English communication.

Shadowing technique: read the full step-by-step guide →