All blog posts
You can browse by tags which have their own Atom/RSS feeds.
An AD blocker killed a project that I was working on for 4 months. It was one commit adding 2 lines that killed 419 commits with more than 2000 total lines of code.
The script that powers my project was placed on the filter list "EasyPrivacy". But is the project that I designed with privacy as the first feature trying to invade your privacy?
This brings up the topic about telemetry in FOSS projects. Is telemetry inherently bad? Is there a way to collect telemetry without comprimising privacy?
Reading time: ~13min
The tech industry happily wastes a lot of resources on serializing and deserializing JSON with its inefficient plain text format. But sadly, JSON is currently (still) the standard for sending data over the internet.
Nevertheless, we can at least try to make serialization and deserialization as efficient as possible!
In this blog post, we will see how you can improve the serialization performance of
serde in Rust.
We will take a look at a simple example and improve its performance by up to 2.25x 🚀
Reading time: ~14min
I gave a 5-day Rust course at my university and want to share my experience teaching Rust.
In this blog post, I want to answer the following questions:
- Can you learn Rust in 5 days?
- What learning resources are currently available for teaching Rust?
- What should you focus on when teaching Rust?
One of the main objectives of Julia is solving the two-language problem. This means that by using Julia, you don't have to prototype in a dynamic language like Python for flexibility and later rewrite the code in a compiled language like C/C++ for performance.
This goal impressed me while picking a programming language for my bachelor's thesis in physics. But after regularly using and even teaching Julia, do I still think that Julia solves that two-language problem?
And why do I think that, in some cases, you should use Rust instead?
SQLx is an awesome crate for interacting with databases in Rust with compile time checks. In this blog post, we will learn how to use it in an Axum backend to store and retrieve data from a database.
The example will be storing submitted contact forms from the previous post about Axum.
During the SQLx integration, we will learn about states and returning JSON in Axum.
SQLx is an async Rust crate that let's us interact with a database with compile-time checked queries 🧰
This post will be a short introduction to SQLx with PostgreSQL, but SQLx also supports MySQL, SQLite, and MSSQL.
The example will be a todo list in a database. A classical programming example, I know 😅
We will also see if SQLx protects us against SQL injections 💉
Check out my list of similar blogs 🚀