Skip to content
JS

Bare Metal JavaScript: The JavaScript Virtual Machine

Course on Master.dev by Miško Hevery

View on Master.dev (opens in a new tab)
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
  1. 01

    Introduction

    1. Introduction
  2. 02

    How the CPU Runs Code

    1. Physical & Virtual Machines
    2. CPU Basics & Speed Limits
    3. CPU Memory Management
    4. CPU Subroutines & Calling Conventions
    5. CPU Q&A
    6. Fibonacci
  3. 03

    Virtual Machine Inlining & Deopt

    1. Optimizing Code
    2. Deopt Explorer & Fixing a Deopt
    3. Object Shapes & Hidden Classes
  4. 04

    Micro Benchmarking

    1. Object Shapes & Inline Caching
    2. Inspecting Inline Caches with Deopt Explorer
    3. Double & Triple Equals
    4. Object & Array Copying
    5. Negative Numbers
    6. Holey Arrays
    7. Amdahl’s Law
  5. 05

    Wrapping Up

    1. Wrapping Up

Similar JavaScript courses

  1. Code Transformation and Linting with ASTs

    Master.dev · Kent C. Dodds · 29 lessons · Jul 2017

    3 h 29 minSubscription
    Master.dev29Jul 2017
  2. Discover: JavaScript Frameworks Behind the Scenes

    Educative · Sayf Essyd · 11 lessons · Sept 2025

    Beginner3 h 10 minSubscription
    Educative11Sept 2025
  3. Blazingly Fast JavaScript

    Master.dev · ThePrimeagen · 20 lessons · Jan 2024

    3 h 33 minSubscription
    Master.dev20Jan 2024
  4. Functional-Lite JavaScript

    Master.dev · Kyle Simpson · 28 lessons · Mar 2016

    3 h 9 minSubscription
    Master.dev28Mar 2016
  5. Authorization with OAuth 2.0 in JavaScript

    Educative · Educative · 12 lessons · Mar 2025

    Beginner3 hSubscription
    Educative12Mar 2025
  6. Blogging Using the Blogger API in JavaScript

    Educative · Educative · 13 lessons · Nov 2024

    Beginner3 hSubscription
    Educative13Nov 2024
  7. Beginner3 h
    Codecademy2Dec 2022
  8. Beginner3 h
    Codecademy2Nov 2018

A hyphen means the provider's catalogue does not state the value.

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.

    Compare