kp2pml30's personal blogHOMEROFSABOUTLNK

Best Formats

PurposeFormatExplanation
Human ConfigTOMLIt avoids YAML's complexity and ambiguity while still supporting comments
Code ConfigJSONEvery language and tool supports it, AI are native at it too
Generic DigestDouglas Crockford's Base32It is case-insensitive and can be used safely in paths and similar places.
HashSHA-3Keccak is the pre-standard version, so SHA-3 is the clearer name to depend on. SHA-1 is legacy
Compression for Cold Storagexz -9It compresses much better than most practical alternatives
Compression for realtimezstdIt has a good balance of speed, compression ratio, and usability
Archive for Cold StoragetarIt is still the simplest choice when the archive will be compressed as a whole. nar would have been better, but no one supports it
micro DBsqliteAre comments really needed?