📚 node [[20200720132822 javascript_engines_the_good_parts]]

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

📖 stoas
⥱ context