← Back to AI Insights
Gemini Executive Synthesis

CodeDiff – Fast (

Technical Positioning
A syntax-aware code diff tool built in Rust, designed to provide more accurate and intuitive diffs than default git diff, especially for AI-generated code. It parses 24 languages with TreeSitter and falls back to a modified Myers algorithm, achieving high speed and accuracy. Licensed under AGPL3.0.
SaaS Insight & Market Implications
CodeDiff addresses a significant developer pain point exacerbated by AI-generated code: inaccurate or unhelpful `git diff` outputs. By implementing a syntax-aware diffing algorithm based on current research and TreeSitter, it provides more semantically meaningful changes across 24 languages. The stated performance metrics (
Proprietary Technical Taxonomy
CodeDiff syntax-aware code diff git diff AI-generated code Rust TreeSitter Myers line diffing algorithm AST diff

Raw Developer Origin & Technical Request

Source Icon Hacker News Sep 29, 2026
Show HN: CodeDiff – Fast (

Hi folks!Because of AI, there is more code to review. I don't know about you, but I
get annoyed when the default git diff doesn't match something "obvious". I
built CodeDiff to help.It's a syntax-aware, careful implementation in Rust of all current research
in code diffing. It parses 24 languages with TreeSitter and falls back to
a modified Myers line diffing algorithm for any file it cannot parse. I wouldn't necessarily
call it a novel algorithm, but it isn't a re-implementation of existing tools either.I tested it on the last 50 commits of all 7400-or-so repositories that are
in the Gentoo package list. CodeDiff can diff 99.95% of those file pairs in
120s and 6GB of RAM on a rusty 11 year old Intel E3-1275 v5. The median speed
is 7ms and 93% of files are diffed in under 100ms.I also did a bit of hand solving and have a test dataset of 1400 hand solved diffs. CodeDiff
is perfect on 70% and near-perfect on 90% of them. But accuracy is actually a
complex thing to measure, because if you are only after the AST diff, then it is
perfect 89% of the time. Deciding what to paint however is not an objective thing
so if you do try it out, check out the render options (press M) and make it fit
your style.If you just want to see how it looks like: ivankovic.github.io/codediff/showcase... you want to install it: github.com/ivankovic/codedif... feel free to file issues. It's v0.1.1 at the moment, but I have been using it for
months as my git difftool and I plan to keep that stable. Using it as a library directly
from Rust however, might change until v1.0. The final goal for v1.0 is p99 < 400ms and 99%
perfect diff, including multi-file diff support in 30 languages.Credit where credit is due: There is a bunch of people researching diffs in the past
20 or so years. Without those papers, CodeDiff would be a lot harder to build. Especially
without APTED and Myers algorithms.License: AGPL3.0, I kind of like copy-left. If your company prevents use of AGPL software
tell them to throw a few bucks my way for my token usage and we can talk.AI disclosure: I use AI assisted coding. Claude and Mistral were used, heavily.

Developer Debate & Comments

No active discussions extracted for this entry yet.

Frequently Asked Questions

Market intelligence mapped to CodeDiff – Fast (.

How is CodeDiff – Fast ( positioned in the market?
Based on our AI analysis of the original developer request, its primary technical positioning is: A syntax-aware code diff tool built in Rust, designed to provide more accurate and intuitive diffs than default git diff, especially for AI-generated code. It parses 24 languages with TreeSitter and falls back to a modified Myers algorithm, achieving high speed and accuracy. Licensed under AGPL3.0.
How is the developer community reacting to CodeDiff – Fast (?
Yes, we have tracked 1 direct responses and active debates regarding this specific topic originating from Hacker News.
What are the foundational technologies related to CodeDiff – Fast (?
Our proprietary extraction maps CodeDiff – Fast ( to adjacent architectural concepts including CodeDiff, syntax-aware code diff, git diff, AI-generated code.

Engagement Signals

7
Upvotes
1
Comments

Cross-Market Term Frequency

Counts stored text matches for foundational terms like Claude and Rust in analysed public discussions. These counts do not measure adoption.

Stored text matches, not adoption or market-share measurements.

  • Claude: 299 records
  • Rust: 102 records
  • library: 57 records
  • Mistral: 5 records
  • git diff: 3 records
  • AI-generated code: 2 records
  • CodeDiff: 1 records
  • syntax-aware code diff: 1 records
  • TreeSitter: 1 records
  • Myers line diffing algorithm: 1 records
  • AST diff: 1 records
  • render options: 1 records
  • git difftool: 1 records
  • p99 < 400ms: 1 records
  • multi-file diff: 1 records
  • APTED: 1 records
  • Myers algorithms: 1 records
  • AGPL3.0: 1 records
  • AI assisted coding: 1 records