Material for Sysart internal tech talk held in Finnish on 2021-06-02.
- Installing Rust
- VSCode plugins Rust and rust-analyzer
- Rust Book, the first chapters provide a good introduction to the language
- Rust by Example
- Rustlings contains small exercises to get you used to reading and writing Rust code
- Rust and WebAssembly is an approachable book for getting into writing wasm
Slides are in Finnish.
Start a spectacle presentation at http://localhost:3000/ with
cd slides
npx spectacle-cli -s slides.md
Uses unwrap
for error handling.
$ cd code-simple
$ cargo run
Error handling refactored to using a custom error type. This blog post provides a detailed description of the approach.
$ cd code-refactored
$ cargo run