A drawing of a giant crab standing in a village.
Workshop: 1 day

A taste of Rust

Bookable for teams – on-site or remote

Workshop description

Book this workshop

Our mentors look forward to working with your team and unlocking new capabilities.
Get in touch

1

Structs

Structs are the building blocks of Rust programs. We'll cover how to define structs, how to implement methods on them, and how to manage their visibility across modules.

2

Enums

Rust's enums are extremely powerful: each variant can have its own data! They're an excellent tool for modelling state machines, such as our tasks. We'll cover how to define enums, how to implement methods on them, and how to leverage pattern matching when working with them.

3

Ownership

Ownership is Rust's most distinctive feature. It's what makes Rust code safe and performant. We'll cover how ownership works, how it impacts the way we write code, and how to leverage it to avoid unnecessary memory allocations.

4

Traits

Traits are Rust's way of defining interfaces. We'll cover how to define traits, how to implement them for structs and enums, and how to use traits to write generic code. We'll also cover common traits from the standard library (e.g. `Debug`, `Display`, `Clone`, `PartialEq`) and how to derive them automatically.

5

Data structures

The Rust standard library provides a few key data structures that are used everywhere. We'll zoom in on `Vec` and `HashMap` as our reference examples. We'll review where they fit and how to leverage them in our code.

6

CLI applications

As a capstone exercise, we'll build a small command-line application to expose our task management functionality. You'll learn how to parse command-line arguments and the difference between library and binary crates.

Your mentor

Luca Palmieri

Principal Engineering Consultant

Luca Palmieri builds technology products for a living. His current focus is on backend development, software architecture and the Rust programming language. He is the author of "Zero to Production in Rust".

Not the right workshop for you?

Take a look at our wide range of workshops to take your team to the next level
Our workshops

Stay up to date on Rust

Subscribe to our newsletter and stay up to date about the latest events, workshops, and other news around Rust.

Book this workshop

Our mentors look forward to working with your team and unlocking new capabilities.
Get in touch