Skip to main content

Rust

The core of my desktop apps, and the language of my coding challenges.

In useLanguage rust-lang.org

Rust is a compiled language, as fast as C++, whose compiler rules out a whole family of bugs (memory, concurrent access) before the program even runs. It is the language of the core of my desktop apps: they are all built with Tauri, whose system side is written in Rust.

Where I use it​

  • CortX, PayLedger, the Rocket League mod: the business logic lives in a Rust library, shared between the app and its CLI.
  • Advent of Code: my recent solutions are in Rust, a good way to practise the language on varied problems.

The strict compiler is also an asset with agents: when Claude Code writes Rust, cargo check and cargo clippy tell it exactly what is wrong, and what compiles usually works.

My setup​

Rust is installed with rustup (through Scoop), on the stable toolchain and the Windows MSVC target. The only tool installed globally with cargo install is the Tauri CLI.

rustup update # update the toolchain
cargo clippy --all-targets # the linter's advice
cargo test -p <crate> # test a single crate of a workspace