V8 JavaScript Engine: Compiling with GN and Ninja

Peter Smith
Compilers
Published in
12 min readAug 30, 2020

I’m a compiler enthusiast, who has been learning how the V8 JavaScript Engine works. Of course, the best way to learn something is to write about it, so that’s why I’m sharing my experiences here. I hope this might be interesting to others too.

This first blog post is an overview of how V8 is compiled. As you can see from the V8 source code repository, the V8 Engine is mostly…

Peter Smith
Compilers

Principal Software Engineer