Bare Metal JavaScript: The JavaScript Virtual Machine

Bare Metal JavaScript: The JavaScript Virtual Machine

3 hours, 21 minutes CC

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!

This course and others like it are available as part of our Frontend Masters video subscription.

Published: October 17, 2023
Get Unlimited Access Now
Table of Contents

Introduction

How the CPU Runs Code

Virtual Machine Inlining & Deopt

Micro Benchmarking

Wrapping Up