Difftastic is a structural diff tool written in Rust that parses source files using syntax trees (via tree‑sitter) and produces human‑readable diffs at the expression level. It works across 30+ languages and emphasizes readability by aligning code structure rather than lines. Ideal for code review and understanding semantic changes.
Features
- AST‑based syntax-aware diffs (not just line diffs)
- Supports 30+ programming languages via tree‑sitter
- Highlights moved code segments, renamed variables
- Human‑friendly side‑by‑side terminal output
- Falls back to word‑based text diff for unknown files
- No patch generation or merging—focused solely on human understanding
Categories
Diff ToolsLicense
MIT LicenseFollow Difftastic
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Difftastic!