Reading this blog post on the author's experience report in Go, it's striking how much compiler error messages and docs come up. Sometimes these matter more than language semantics!
Difftastic 0.28 is out :)
* Added support for HCL, Swift and limited Perl
* Fixes to directory diffing and inline display
* Difftastic now performs some work in parallel!
https://github.com/Wilfred/difftastic/releases/tag/0.28.0
A deep dive on ABI design tradeoffs, and how Swift approached the problems in this space;
https://gankra.github.io/blah/swift-abi/
(Compared with C++/Rust, it avoids monomorphisation and does more boxing, with attention to details that affect performance)
I'm trying to factor out the interior mutability in my Rust code. It's a little more verbose, but surprisingly readable.
foo_old(&syntax);
foo_new(&syntax, &mut change_map);
Signatures are way more self-documenting with this approach.
Every time I make difftastic faster, people give it larger files!
Performance is adequate these days (I've not seen >10 seconds for several releases), but I was even forced to look at scaling of the textual diffing parts :)
Autocomplete for keywords is a surprisingly nuanced problem.
public |
In this case you need to work out what keywords can appear next, and there may be multiple valid syntaxes!
public | function
In this case you want to narrow the modifiers based on context before and after.
It is really impressive how quickly different distros are shipping new versions of difftastic. Less than a day!
AUR has a bleeding-edge git package whose version tag is always 1. It's a shame, I would like to be able to download v1 too :P
https://repology.org/project/difftastic/versions
Difftastic 0.27 is out! In this release:
* Added support for Kotlin and TOML
* Updated to latest tree-sitter parsers, including TS union types, C++ fold expressions and Java modules
* Improved the scaling of diff algorithm on large expressions
https://github.com/Wilfred/difftastic/releases/tag/0.27.0