Getting my CPF remotely from the US
I never figured out my Brazilian documentation until adulthood. Here's how I finally registered for my CPF.
A blog about random programming topics, usually related to optimization or compilers.
I never figured out my Brazilian documentation until adulthood. Here's how I finally registered for my CPF.
The PolarFire SoC is an affordable, useful, and widely available Linux-capable RISC-V board. Here's how you can run Debian on it.
How do you ensure the integrity of vast amounts of data all at once? How can you tell if your evil maid has corrupted your data? Merkle trees hold the answer.
Clang in -O0 can do some dangerous things. It might just overflow your stack!
Rust macros are flexible enough to implement a sort of DSL for assembly. This is useful for building up Direct Memory Access sequences.
Traits are a good way to select code at the type system level. But with some hackeryyou could instead specialize based on a sort of higher-order 'type map'.
Trait objects generally need to be stored on the heap. But normal heap datastructures like Vec need an additional layer of Box to store trait objects. We can eliminate that.
Stable Rust with classical macros generally isn't friendly to implementing bitfield structures. But there's a way.