Bare Metal JavaScript: The JavaScript Virtual Machine
Course on Master.dev by Miško Hevery
- 3 h 21 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 18
- Lessons
- Oct 2023
- Published17 Oct 2023
About this course
Description from Master.dev
Ever wondered how high-level JavaScript turns into low-level CPU instructions? Learn the fundamentals of CPU mechanics to see how code runs through memory operations, inline caching, and deoptimization. You'll build a mental model of JavaScript's performance characteristics by learning how virtual machines (like Google's V8 engine) work under the hood!
What it covers
18 lessons
- 01
Introduction
- Introduction
- 02
How the CPU Runs Code
- Physical & Virtual Machines
- CPU Basics & Speed Limits
- CPU Memory Management
- CPU Subroutines & Calling Conventions
- CPU Q&A
- Fibonacci
- 03
Virtual Machine Inlining & Deopt
- Optimizing Code
- Deopt Explorer & Fixing a Deopt
- Object Shapes & Hidden Classes
- 04
Micro Benchmarking
- Object Shapes & Inline Caching
- Inspecting Inline Caches with Deopt Explorer
- Double & Triple Equals
- Object & Array Copying
- Negative Numbers
- Holey Arrays
- Amdahl’s Law
- 05
Wrapping Up
- Wrapping Up
Similar JavaScript courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.