rust
TIL about Zero-sized Types in Rust.
I was reading my timeline on BlueSky, and stumbled upon this article about some Rust library that got rewritten. While the hpke-ng library itself is nice and interesting in itself, it was not the main thing I got out ot if.
It was a nice explanation of a concept I’ve seen before in various Rust libraries: Zero-sized types. And the associated
traits that go with these.
…Introduction to Rust, a presentation.
For the past three years, I have been learning and using Rust for my day-to-day development at work. I was tasked to migrate an existing set of of code to a more stable, production-ready stage. Before coming to the project, I was using Go 🐹 as my main language and was pretty happy about it.
But I will admit, Rust 🦀, being born out of Mozilla for Firefox, was scratching an itch for quite some time, and I made like two half-hearted tries at learning it, but each time the syntax was making my eyes bleed. I finally decided to bite the bullet and… wow it clicked on this third attempt.
…Old pencil and paper cryptosystems (UPDATED).
As you may have seen from my site, I have long been interested in old pencil and paper cryptosystems, even before getting hooked on computers. Over the years, I have re-implemented a few of them in various languages:
…The migration to Zola is done!
Preamble
After like 5 years of no updates, due to, guess what, pandemic, depression and some other stuff, I have finally migrated my blog to Zola.
…