Speaker
Benno Lossin
Description
Rust is about more than just memory safety: Several language features provide guardrails that help programmers prevent common mistakes. At the same time, they facilitate the creation of APIs that better convey their intent and make it hard to misuse them.
This presentation provides a gentle and beginner-friendly (no Rust knowledge required) introduction to several of these features. Potentially covered features are:
- enum
s (safe tagged unions): avoid forgetting to handle all cases.
- encapsulation: make it hard to (ab)use implementation details.
- traits: design flexible interfaces and swap implementations without a hassle.
- documentation: leverage markdown directly in the source code to provide useful examples and guidance for API users.