Token-based string distances looks like exactly what I need for my current side project - I’m using Levenshtein but I should be comparing based on words, not characters.
I just need to figure out which (if any) of these does what I need.
Edit: looks like the Python version has that information: https://github.com/life4/textdistance?tab=readme-ov-file#algorithms
The term you want is “cross compile”. I’ve developed simple programs for the Pi on Windows and it’s simple enough to produce a static binary (using Rust, anyway). When extra dependencies come in it’s better to develop on the same OS, but targeting different architectures is the easy bit.