@Shanshrew: 1 Year of Research coming to an end. 8 Months seeing no results, Almost quitting twice. November/December of last year …
Summary
After a year of research, a universal 2x performance improvement for all modern JavaScript parsers is being implemented, starting with oxc_parser, which will speed up tools like OXLint, Vite, and Deno, and potentially major browser engines.
View Cached Full Text
Cached at: 07/06/26, 08:04 AM
1 Year of Research coming to an end. 8 Months seeing no results, Almost quitting twice. November/December of last year finally seeing a very narrow path to a universal 2x perf improvement on every modern JS parser which would take me another 4 months to build.
This will land in oxc_parser fairly soon speeding up OXLint, OXFmt, Vite, Rolldown, Deno (oxc consumer) almost immediately.
In the long term it’s likely that it will land in V8/SpiderMonkey/Bun/JavascriptCore/Typescript/+ Every other JS parser implementation
The wins come from a few key elements, obviously 1 novel “SIMD For Context Sensitive Languages” the other key elements take it from a 20% win e2e to a 80-200% win (99% of files will see a 80-100% perf improvement).
These key elements translate to any AST design and thus will speed up not only all JS tooling but every major browser when complete.
Similar Articles
@boshen_c: Time to unmask the man behind this work! @Shanshrew has created a novel parser architecture which is 2x - 3x faster. Pl…
A novel parser architecture developed by Shanshrew achieves 2-3x speedup over the current fastest JS/TS parser, and is being integrated into Oxc.
@tan_stack: TanStack Devtools just migrated to @OxcProject parser + magic-string! The results: Per-file transform: 1.65 ms → 0.46 m…
TanStack Devtools migrated to OxcProject parser and magic-string, achieving a 3.56× speedup with per-file transform dropping from 1.65 ms to 0.46 ms.
@charliermarsh: /goal for finding silly one-line optimizations that speed up your parser by 20-30%
Charlie Marsh shares a personal goal of finding simple one-line optimizations that can speed up a parser by 20-30%.
Oils - Reviewing Our NLnet Grants After 4 Years
The Oils project reviews its four years of NLnet-funded development, presenting plots showing progress on OSH and YSH shells, including completion of Python-to-C++ translation and memory-safe garbage collection.
Seventy Years of Parsing: Theoretical and Practical Consequences
An overview of seventy years of parsing theory and its practical implications in computer science.