I've been rewriting how difftastic calculates hunks, and it's beginning to look good!
Alignment is a crazy hard problem. Added/removed items have no corresponding item on the other side. You can't use even previous line text (see left line 219) as previous lines may not match.
miniblog.
Related Posts
Difftastic 0.69 is out! This is a pretty big release:
* Semantically insignificant commas are now ignored
* Difftastic now respects .gitattributes
* Added assembly support and improved 13 other languages
I'm considering using WebP more: for example, my websites would load faster and browsers have supported it since 2020: https://caniuse.com/webp
That said, GitHub just added support in August 2025, so I suspect I'd still find use cases that don't work yet:
I've added an eval button to the website of my programming language!
It's a been a lot of work to lock down appropriately. It still needs some UI polish but it's so nice to be able to try snippets immediately.



