Faster script loading with BinaryAST?
May 17, 2019Ingvar Stepanyan19 min read
Opens blog.cloudflare.comWhat the post covers
This post introduces the concept of BinaryAST, a proposed over-the-wire format for JavaScript that aims to significantly speed up parsing and reduce cold start times for web applications.
- It details the challenges of JavaScript parsing, such as hoisting and lazy parsing, and explains how BinaryAST addresses these by providing a binary representation of the Abstract Syntax Tree (AST) with pre-analyzed scope information.
- The post also highlights Cloudflare's role in enabling the use of BinaryAST encoders with Cloudflare Workers to gather real-world data on its impact.




