Skip to content

ls -lt posts/

Learning Rust

Rust for people who know Python. Over 12 parts, you build `logbuch` (German for logbook), a log analyzer for nginx access logs, and let the compiler teach you: ownership, borrowing, enums, errors without exceptions, lifetimes, traits, and threads. In the finale, you call the Rust code from Python and measure what it buys you.

Rust lernen (Teil 1): Hallo, Compiler

Only available in German.

Rust installieren, das erste Cargo-Projekt anlegen und die ersten Fehlermeldungen lesen. Am Ende zählt logbuch die Zeilen einer Logdatei, mit drei grünen Tests.

rust tutorial

Rust lernen (Teil 2): Typen und Kontrollfluss

Only available in German.

Ganzzahlen mit fester Breite, Überlauf, Division ohne stille Umwandlung und if und loop als Ausdrücke. Am Ende liest logbuch den Statuscode jeder Zeile und zählt die Fehler.

rust tutorial