Aula 4
Rust
Compiler
Debug
Rust, originally designed as a systems programming language, has evolved into a versatile, general-purpose language. In this presentation, we’ll start with a brief introduction to Rust’s core features. We’ll then explore how the Rust compiler, through its various mechanisms—such as its strict type system, ownership model, and the borrow checker—helps prevent common programming errors. By analyzing practical code examples, we’ll demonstrate how these features work together to catch bugs, prevent undefined behavior, and ensure memory safety, making Rust a reliable choice for building safe and efficient software.