All Rust string types explained

Author: Let's Get Rusty
Published At: 2023-09-17T00:00:00
Length: 22:13

Summary

Description

Today we are diving into the surprisingly complicated world of strings. Not only will we learn about the fundamental data structures behind strings, but we'll also discuss how string are implemented in C and more importantly how they are implemented in Rust.

FREE Rust cheat sheet: https://letsgetrusty.com/cheatsheet

Chapters:

0:00 Overview

0:32 String fundamentals

3:26 Strings in C

4:39 Strings in Rust - safety

5:30 Strings in Rust - Strings and &str

7:37 Strings in Rust - &'static str

8:47 Strings in Rust - Box str

10:03 Strings in Rust - Rc str

10:36 Strings in Rust - Arc str

11:04 Strings in Rust - Byte representations

12:05 Strings in Rust - String literals

13:13 Strings in Rust - Specialized strings

15:13 Strings in Rust - Interoperability strings

18:23 - Summary

Translated At: 2025-07-06T11:42:33Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos