How we migrated our static analyzer from Java to Rust | Datadog
May 23, 2024Julien Delange, Kassen Qian, Rosa Trieu

Summary
Migrated the static analyzer from Java to Rust, replacing ANTLR with Tree-sitter for AST generation and GraalVM with Deno for JavaScript execution. Achieved a threefold performance increase and a tenfold reduction in memory usage. This migration was completed within a month, including the learning curve for Rust.