Thomas Heartman Developer, speaker, musician, and fitness instructor.

Stories by Thomas Heartman

Procedural Macros in Rust

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.

Thomas Heartman
Dec 21, 2020 â‹… 5 min read
The Rust Symbol

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.

Thomas Heartman
Nov 19, 2020 â‹… 6 min read
Understanding Lifetimes in Rust

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 common scenarios you might run into and walk through how to solve them with lifetimes.

Thomas Heartman
Aug 27, 2020 â‹… 6 min read
Understanding the Rust Borrow Checker

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 how it compares to other forms of memory management.

Thomas Heartman
Jul 28, 2020 â‹… 7 min read