Why Rust?

  • Technical features
  • Corporate Support / Acceptance
  • Community Support / Acceptance
Rust logo

Technical features

  • Performance
  • Reliability
  • Productivity

See Rust Language

Performance

Reliability

  • Memory safe - it avoids most of the memory-related bugs we encounter in C/C++ code.
  • Extensive and expressive type-system. (e.g. mapping of external APIs).
  • Very strict compiler - fixing bugs during compilation.
  • No "null" or "none" values.
  • Compiler has very good error messages.
  • Integrated package manager, build system, etc. Cargo.
  • Code formatter.
  • linter
  • IDE support by rust-analyzer.

Productivity

  • Productivity - on par with Go, 2x as C++ at Google
  • Spend less time writing tests.
  • Spend less time debugging.
  • Safer to use AI generated code (because the compiler will catch a lot of issues).
  • Easy to write and distribute(!) cross-platform code for Windows, Linux, macOS. Especially small command-line tools.
  • Fearless concurrency.

Corporate Support / Acceptance

  • Rust Foundation Amazon, Google, Huawei, Facebook, Microsoft.

  • Many other corporations support and use Rust.

  • Adoption in Critical Projects: Amazon's Firecracker and Dropbox's use of Rust for performance-critical tasks.

Community Support / Acceptance

Crates (Libraries)

  • Rayon a data-parallelism library.
  • Tokio to build reliable network applications.
  • Axum, Rocket - Web frameworks.
  • Ratatui - A Rust crate for cooking up Terminal User Interfaces.

Drawbacks

  • The ecosystem is less mature than for other languages.
  • Not enough developers.
  • Some aspects of the language still lag behind other languages (eg. Async in Go is easier).
  • For embedded systems - not all hardware are supported. Yet.
  • Compile time.

Python Projects in Rust

  • ruff - a linter for Python.
  • uv - a Python package installer (replacement for pip, poetry, pdm).
  • polars - DataFrames (replacement for pandas).
  • Pydentic, the data validation library for Python.

uv

uv, an extremely fast Python package and project manager, written in Rust.

Ruff

ruff, an extremely fast Python linter and code formatter, written in Rust.

Thank you Ferris

Rust logo