Programming language
- Compiled language
- Compiled directly to native machine code with strict compile-time checks
- High performance (as fast as C/C++)
- No garbage collector (No GC pauses)
- Memory safety (no null pointer, no data race)
- Ownership & borrowing
- Compiler checks memory safety at compile time
- Safe concurrency (great for multi-threading)
Where Rust is used
- System tools (OS components, CLI tools)
- Backend services
- Blockchain
- Desktop apps (via Tauri)
Workflow:
- Rust source code (.rs)
- Rust compiler (rustc)
- Native machine code
- Executable binary