Introduction to Rust - Part 8: Collections (and Iterators)

preview_player
Показать описание
This is the 8th in a series of videos that cover, step by step, learning to code using the Rust programming language.

In this video we'll cover collections, and also introduce iterators.

Types covered:

Vec = Vector (owned resizable array)
VecDeque = Double-ended queue (ring buffer)
HashMap = Key-value storage, keys are hashed
BTreeMap = Key-value storage, keys are ordered
HashSet = HashMap with no values
BTreeSet = BTreeMap with no values
BinaryHeap = Priority queue

0:00 - Introduction
0:21 - Vec (vector)
3:12 - Iterators
4:40 - The "for" loop
6:03 - VecDeque (ring buffer)
7:05 - HashMap (hashed key-value)
11:38 - BTreeMap (sorted key-value)
12:15 - Sets (keys only)
13:20 - BinaryHeap (priority queue)
14:28 - In Summary
Рекомендации по теме
Комментарии
Автор

thank you. Very concrete and practical. Especially with infos about cargo and vscode extensions.

cognominal
Автор

Probably the best learning rust series on YouTube. Thanks Rhymu, please keep going! :)

luisgambao
Автор

great content, best series that I have found... Also, I had a question is this series complete? Are there supposed to be more than 15 videos?

_shery.
Автор

good stuff I love the series kindly update with more content

blockchainbuzzafrica
welcome to shbcf.ru