Blog posts
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.
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 in case of exceptions in unsafe code, as used in the array-init
crate.
Derive yourself a Kalman filter
In this post, I will try to explain Kalman filters as I would have liked them to be explained to me. Building them up from simple assumptions of Gaussian-ness.
Read more >>>