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!
I’m a software developer by trade and a Christian by life.
A few links to get you started:
I have some information about me;
You can hire me for consulting, training and mentoring in things mostly pertaining to Rust and the web;
I write technical things in my blog from time to time;
If you’re interested in Rust, I have written a couple of notable articles which remain popular:
Rust ownership, the hard way, concerning what I have come to the conclusion is the key defining feature of 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!
Not only is it poorly drafted with better alternatives available, but “Unlicensed” means the precise opposite of “unlicensed”.
#[cfg_attr(…, path = …)] for platform-specific module implementationsI wrote about #[cfg_attr] and some interesting use cases for it some years ago. Time for another dose!
make me a sandwichxkcd 149. I was hungry.
make and git diff for a simple and powerful test harnessPeople 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.