diffr VS gumtree

Compare diffr vs gumtree and see what are their differences.

diffr

Yet another diff highlighting tool (by mookid)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
diffr gumtree
3 6
519 861
- 1.3%
5.7 8.2
29 days ago 9 days ago
Rust Java
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

diffr

Posts with mentions or reviews of diffr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-13.
  • How to see word-diff and moved lines?
    3 projects | /r/git | 13 Jun 2023
    I use diffr since, it shows small changes in long lines nicely.
  • Meld is a visual diff and merge tool targeted at developers
    5 projects | news.ycombinator.com | 20 Mar 2022
    For visualization I really like kdiff3. Or on terminal https://github.com/mookid/diffr with specific settings that use 256 colors the highlights word differences as well.

    But for manual merging I haven't found anything better than ediff. That's the only reason I install emacs on my work machines. Seemless integration into a text editor is just unbeatable.

  • Difftastic: Syntax-aware structured diff tool
    6 projects | news.ycombinator.com | 7 Jul 2021
    I wrote diffr [0] for that purpose; it serves me well, especially if your team makes code with long lines.

    In my opinion, a simple approach that does NOT make any parsing is more efficient (what about bugs in your parser? code with syntax errors? also, how fast would the parser be?)

    [0]: https://github.com/mookid/diffr

gumtree

Posts with mentions or reviews of gumtree. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-11.
  • Pijul: Version-Control Post-Git • Goto 2023
    11 projects | news.ycombinator.com | 11 Aug 2023
    I'm not familiar with Pijul, and haven't finished watching this presentation, but IME the problems with modern version control tools is that they still rely on comparing lines of plain text, something we've been doing for decades. Merge conflicts are an issue because our tools are agnostic about the actual content they're tracking.

    Instead, the tools should be smarter and work on the level of functions, classes, packages, sentences, paragraphs, or whatever primitive makes sense for the project and file that is being changed. In the case of code bases, they need to be aware of the language and the AST of the program. For binary files, they need to be aware of the file format and its binary structure. This would allow them to show actually meaningful diffs, and minimize the chances of conflicts, and of producing a corrupt file after an automatic merge.

    There has been some research in this area, and there are a few semantic diffing tools[1,2,3], but I'm not aware of this being widely used in any VCS.

    Nowadays, with all the machine learning advances, the ideal VCS should also use ML to understand the change at a deeper level, and maybe even suggest improvements. If AI can write code for me, it could surely understand what I'm trying to do, and help me so that version control is entirely hands-free, instead of having to fight with it, and be constantly aware of it, as I have to do now.

    I just finished watching the presentation, and Pijul seems like an iterative improvement over Git. Nothing jumped out at me like a killer feature that would make me want to give it a try. It might be because the author focuses too much on technical details, instead of taking a step back and rethinking what a modern VCS tool should look like today.

    [1]: https://semanticdiff.com/

    [2]: https://github.com/trailofbits/graphtage

    [3]: https://github.com/GumTreeDiff/gumtree

  • We should format code on demand
    7 projects | /r/programming | 1 Mar 2022
    There’s also gumtree: https://github.com/GumTreeDiff/gumtree/wiki/Languages
  • Difftastic: Syntax-aware structured diff tool
    6 projects | news.ycombinator.com | 7 Jul 2021
  • A New Era for Mechanical CAD
    4 projects | news.ycombinator.com | 15 Jun 2021
    GumTree does AST level diffing, hypothetically one could build VCS on top of that. That would work for binary files as long as they are parseable to some sort of sensible AST.

    https://github.com/GumTreeDiff/gumtree

  • Gumtree: A neat code differencing tool
    1 project | news.ycombinator.com | 10 Jan 2021
  • What comes after Git? It's been 15 years since it was created. SVN was created 5 years before Git. CVS was 15 years before SVN
    5 projects | /r/programming | 25 Dec 2020
    There are a few AST-based diffing programs e.g. GumTreeDiff. I haven't tried any of them though.

What are some alternatives?

When comparing diffr and gumtree you can also consider the following projects:

ydiff - View colored, incremental diff in workspace or from stdin with side by side and auto pager support

difftastic - a structural diff that understands syntax 🟥🟩

locust - "git diff" over abstract syntax trees

git-bug - Distributed, offline-first bug tracker embedded in git, with bridges

kdiff3 - KDiff3 updated for Windows

apheleia - 🌷 Run code formatter on buffer contents without moving point, using RCS patches and dynamic programming.

meld - Meld

git-imerge - Incremental merge for git

delta - A syntax-highlighting pager for git, diff, and grep output

mergify - Merge git changes on commit at a time.