a structural diff that understands syntax 🟥🟩
Difftastic is a structural diff tool built in Rust that compares files based on their syntax rather than line-by-line differences. It uses tree-sitter parsers to understand the abstract syntax trees of over 30 programming languages, enabling it to accurately identify and highlight syntactic changes while intelligently handling whitespace and code reformatting. The project was created by Wilfred and integrates with version control systems like git and mercurial, though it has known limitations around performance on files with large numbers of changes and robustness issues that are addressed through regular releases.