kerkour.com
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...
Rust Walkthroughs
2025-06-11
~9 min read
kerkour.com
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...
Rust Walkthroughs
2025-05-28
~9 min read
kerkour.com
Here is the Dockerfile that I copy / paste in all my Rust projects to distribute very small and very secure Docker images. #################################################################################################### ## Build #######...
Rust Walkthroughs
2025-05-07
~4 min read
kerkour.com
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...
Observations/Thoughts
2025-04-16
~2 min read
kerkour.com
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...
Rust Walkthroughs
2025-04-02
~6 min read
kerkour.com
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...
Rust Walkthroughs
2025-03-26
~2 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Observations/Thoughts
2024-10-16
~5 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Observations/Thoughts
2024-10-09
~4 min read
kerkour.com
Rust developers are stuck in an endless hamster wheel where every month / week there is a new best way to do something, and the previous way is now deprecated, kind of like in the fronntend development world with the weekly hottest JavaScri...
Observations/Thoughts
2024-10-02
~6 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Observations/Thoughts
2024-08-28
~3 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Observations/Thoughts
2024-08-14
~6 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Observations/Thoughts
2024-07-24
~4 min read
kerkour.com
As a Rust project grows in size, it can take a non-trivial amount of efforts to keep it in a clean state that will not impede your and your co-workers' productivity. This is why I've decided to share the simple rules that I use to manage la...
Rust Walkthroughs
2024-07-17
~4 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Rust Walkthroughs
2024-07-10
~4 min read
kerkour.com
June 29, 2024 This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscri...
Rust Walkthroughs
2024-07-03
~1 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Observations/Thoughts
2024-06-26
~4 min read
kerkour.com
This post is part of my Summer Autumn of Rust 2024 series: weekly (or more) quickies about how to write great Rust code so you will be ready to rock at the end of the summer and find a new exciting job π€ Dont forget to Subscribe (Email & RS...
Rust Walkthroughs
2024-06-26
~3 min read
kerkour.com
When you take a look at the TechEmpower Web Framework Benchmarks it's hard to not notice how fast is Rust compared to the other languages. 585,000 requests / s for may-minihttp, 400,000 requests / s for axum [postgresql]! It's tempting to t...
Observations/Thoughts
2024-02-21
~5 min read
kerkour.com
"Is Rust a great fit for this project?" I get this question quite frequently so I think it's time to write down my thoughts if it can avoid you some painful and costly mistakes. Short answer: no. Coming from someone who wrote a successful b...
Observations/Thoughts
2023-09-20
~6 min read
kerkour.com
This post is an excerpt from my book Black Hat Rust Vendoring dependencies is the act of bundling all your dependencies with your code in your repositories. Why would someone want to do that? A first reason is for offline builds: when your...
Observations/Thoughts
2022-10-12
~1 min read