U+: pretty Unicode code point literals for Rust Stop worrying about whether char literal syntax uses '\u{1234}', "\u1234", \x1E\x88\xB4 or something else, and use the True Unicode Syntax of U+1234! Tagged: Rust, Fun Published: April 1, 2022
Don’t use the Unlicense: it’s an inferior license wrapped in an atrocious name Not only is it poorly drafted with better alternatives available, but “Unlicensed” means the precise opposite of “unlicensed”. Tagged: Miscellaneous Published: January 14, 2022 Last updated: August 11, 2022
#[cfg_attr(…, path = …)] for platform-specific module implementations I wrote about #[cfg_attr] and some interesting use cases for it some years ago. Time for another dose! Tagged: Rust Published: June 18, 2021
Using make and git diff for a simple and powerful test harness People regularly go for complex test harnesses; and when you’re in an ecosystem, they can be a good fit. But outside ecosystems, it’s actually quite easy to produce a fairly good test harness. Tagged: Make Published: May 22, 2020