Blog posts

Apolog: something between social networks and RSS feeds

Some notes and pitch about an idea I have had in the space of indie web.

Read more >>>

Computer as she is spoke

I've just finished giving a session of our Advanced Rust training at $DAYJOB. Overall I felt confident, the trainees were actively participating, and I think I could answer most of the questions I was asked accurately and helpfully. There is, however, one thing I'm frustrated I could not answer properly. The one question they kept coming back with was: "How do we know what is a good or bad way to express in Rust?".

Read more >>>

Rust gotcha: deriving Copy and Clone can be too restrictive

For a generic struct, #[derive] implements Clone (resp. Copy) conditionally by adding bound Clone (resp. Copy) on generic parameters, which isn't always desired.

Read more >>>

Exception safety in Rust: using transient droppers to prevent memory leaks

In this post, we dive into a common Rust pattern to prevent memory leaks