Over the past year, there has been a movement to rewrite JavaScript tools in Rust to boost performance. The challenge lies in integrating JavaScript plugins with Rust without losing performance due to serialization and deserialization costs. A solution was found by flattening the AST into a buffer, allowing direct traversal
Table of contents
The Rust plugin dilemmaSerialization and deserialization costsFlattening the ASTLazy deserializationBonus: Supporting all the languagesConclusionSort: