Sem – Semantic version control. Entity-level diffs on top of Git
pabs3
84 points
11 comments
March 08, 2026
Related Discussions
Found 5 related stories in 82.5ms across 8,303 title embeddings via pgvector HNSW
- Sev: A graphical Emacs-like text editor, scriptable with Chibi-Scheme s20n · 25 pts · April 30, 2026 · 53% similar
- The future of version control c17r · 477 pts · March 22, 2026 · 51% similar
- DiffsHub tosh · 24 pts · May 21, 2026 · 50% similar
- More on Version Control velmu · 66 pts · March 29, 2026 · 50% similar
- Beyond Semantic Similarity 44za12 · 53 pts · May 12, 2026 · 49% similar
Discussion Highlights (7 comments)
perching_aix
Anyone here using semantic diffing tools in their daily work? How good are they? I use some for e.g. YAML [0] and JSON [1], and they're nice [2], but these are comparatively simple languages. I'm particularly curious because just plain diffing ASTs is more on the "syntax-aware diffing" side rather than the "semantic diffing" side, yet most semantic tooling descriptions stop at saying they use ASTs. ASTs are not necessarily in a minimal / optimized form by construction I believe, so I'm pretty sure you'll have situations where a "semantic" differ will report a difference, whereas a compiler would still compile the given translation unit to the same machine bytecode after all the optimization passes during later levels. Not even necessarily for target platform dependent reasons. But maybe this doesn't matter much or would be more confusing than helpful? [0] dyff: https://github.com/homeport/dyff [1] jd: https://github.com/josephburnett/jd [2] they allow me to ignore ordering differences within arrays (arrays are ordered in YAML and JSON as per the standard), which I found to be a surprisingly rare and useful capability; the programs that consume the YAMLs and JSONs I use these on are not sensitive to these ordering differences
gritzko
Was "sem" named "graft" last week and "got" a week before that? Everyone is vibing so hard it is difficult to keep track of things. Also, idea theft gets to entirely new levels. Bot swarms promote 100% vibed stolen projects... what a moment in time we all enjoy. Still, my two cents: Beagle the AST-level version control system, experimental https://github.com/gritzko/librdx/tree/master/be#readme It genuinely stores AST trees in (virtually any) key-value database (RocksDB at the moment). In fact, it is a versioned database for the code with very open format and complete freedom to build on top of it. be is in fact, more of a format/protocol, like in the good old days (HTTP, SMTP, XML, JSON - remember those?)
7777777phil
cool! Line-level diffs only made sense when humans wrote every line. When AI agents are committing hundreds of changes a session, you need to know which functions changed, not which lines..
alansaber
Cool, knowledge graph matching on top of commits
adhamsalama
I was just building a POC of something like this a couple of weeks ago. I'm glad someone else already implemented it with support for more languages.
mellosouls
I like this but would think "Semantic" is pushing it a bit as it relies on function names and changes therein having a direct mapping to meaning with standard text processing. In fact, I fully expected a use of LLM to derive those meaningful descriptions before I checked the repo. Anyway I definitely see this as a useful thing to try out as a potential addition to the armoury, but as we go further along the route to AI-coding I expect the diffs to be abstracted even further (derived using AI), for use by both agentic and human contributors.
esafak
Please could you add cargo binstall support?