Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Parsing JavaScript - Better Lazy Than Eager?

JSConf via YouTube

Overview

Explore the intricacies of JavaScript parsing and its impact on web page performance in this JSConf EU 2017 talk. Delve into V8's parsing strategies, including lazy and eager parsing, and understand how complex frameworks and new language features pose challenges. Learn to optimize code writing and bundling for faster parsing, discover recent improvements in V8's parsing capabilities, and gain insights into benchmarking difficulties. Uncover techniques to reduce parsing bottlenecks, understand function context allocation, and explore concepts like code caching and streaming. Gain valuable knowledge on writing more parse-efficient JavaScript and improving overall web application performance.

Syllabus

Intro
Parsing
Why should you care
Parsing modes
Parse example
Other heuristics
Lazy vs eager cases
Why lazy parsing
Force eager parsing
Function context allocation
Lazy parsing with names
Lazy parsing with nested functions
Why is parsing hard
A typical parser bug
Benchmarking
What can you do
Code Cache
Streaming
Evolve
Bonus Content

Taught by

JSConf

Reviews

Start your review of Parsing JavaScript - Better Lazy Than Eager?

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.