#+title: JavaScript Engines: The Good Parts - tags :: [[file:../20200720132835-javascript.org][JavaScript]] - [[https://www.youtube.com/watch?v=5nmpokoRaZI][source]] * Notes - Steps for JavaScript interpretation: 1. Source code -> parser -> AST 2. AST -> interpreter -> bytecode 3. interpreter -> optimizer -> optimized code - V8 interpreter takes profiling data on "hot" functions, optimizes that code - SpiderMonkey partially optimizes code and then further optimizes code based on hot code