Why Rust
Rust is a compiled systems programming language that gives you the speed and low-level control of C and C++ without their memory bugs. Programs written in C crash, leak or get hacked because of use-after-free, double-free, dangling pointers and data races. Rust rules those out at compile time: a set of checks called the borrow checker refuses to build a program that could touch freed memory or let two threads write the same data at once.
The other half of the trick is what Rust does not have: a garbage collector. Java, Go, C# and Python pause now and then to find memory nobody uses any more. Rust knows at compile time exactly where each value stops being used and frees it there — the idea is called ownership, and it is what Module 03 is about. You get predictable performance with no pauses and no runtime to ship.
- Memory safety without a GC — no null pointer dereferences, no use-after-free, no data races in safe code.
- Fast — compiles to native machine code through LLVM; performance is in the same league as C and C++.
- Errors are values — no exceptions and no
null; missing values areOption, failures areResult, and the compiler makes you handle both. - Tooling that just works —
cargobuilds, tests, formats, lints and fetches libraries (crates) with one command each. - Helpful compiler — its error messages point at the exact line, explain the rule you broke and usually suggest the fix.
| Where Rust is used | Examples of what gets built |
|---|---|
| Systems and infrastructure | Parts of the Linux kernel and Windows, container runtimes, databases, storage engines |
| Cloud and networking | Proxies, load balancers, serverless runtimes, high-throughput web services |
| Command-line tools | ripgrep, fd, bat — fast, single-binary tools |
| WebAssembly | Performance-critical code that runs in the browser |
| Data and developer tooling | Query engines, dataframe libraries, JavaScript bundlers and linters, Python package managers |
| Embedded | Firmware for microcontrollers, where there is no operating system and no room for a GC |
