A few years ago, I attempted to build hardware projects using ESP32 microcontrollers and Rust, but the experience was so painful, between weird processors, custom toolchains and incomplete libraries, that I quickly quit. Life is too short t...
The endless stream of data breaches and personal information leaks proves that there is still some knowledge gap in the secure handling and storage of sensitive data. So today we are going to see how to securely encrypt and store this sensi...
Here is the Dockerfile that I copy / paste in all my Rust projects to distribute very small and very secure Docker images. #################################################################################################### ## Build #######...
Update June 2025: Jemalloc development seems to be dead (see jemalloc Postmortem). See the end of the article for alternatives. Last week, something unexpected happened to a long-running backend service: the RAM usage was divided by more th...
Rust has replaced Go as my weapon of choice to build medium-size web services, web services of 10K+ lines of code and 100 or so endpoints. Not because Rust is faster, but because Rust is way more reliable! No more null pointer dereference o...
I have this hourly batch job that was taking ~30 minutes to complete and was causing too much strain on the database because it needs to insert/update between 300,000 and 500,000 records every time. The batch job makes thousands and thousan...