Thomas Heartman

  Developer, speaker, musician, and fitness instructor.


4 Stories by Thomas Heartman

Procedural macros in Rust

Procedural macros allow you to generate Rust code at compile time. This tutorial covers everything you need to know about proc macros in Rust.
0 5 min read

Rust traits: A deep dive

Traits are an important part of Rust. This tutorial will help you understand what traits are and how they work.
1 6 min read

Understanding lifetimes in Rust

In this guide, we'll go over the basics of lifetimes and annotations and demonstrate how to work with them. We'll also look at some...
2 6 min read

Understanding the Rust borrow checker

In this guide, we'll go over what the borrow checker does for us (and what it prevents us from doing), what it guarantees, and...
0 7 min read