Live-coding a linked hash map in Rust
Channel: Jon Gjengset
Date: 2018-06-02

Following another Twitter poll (https://twitter.com/Jonhoo/status/1000102031925956610), we're building a simple hash map in Rust. We're writing it end-to-end in one sitting, with the hope of ending up with a decent understanding of how hash map works, and how you'd make the interface idiomatic Rust. I have tried to make sure I introduce new concepts we come across, so it should be possible to follow whether you're a newcomer to the language or not.

This video is intended for users who are already somewhat familiar with Rust, but who want to see something larger and more involved be built. You can see earlier related videos in this playlist: https://www.youtube.com/playlist?list=PLqbS7AVVErFgY2faCIYjJZv_RluGkTlKt.

If you enjoyed this, go follow me on Twitter, or on Patreon at https://www.patreon.com/jonhoo to see announcements for new videos! There will be several more videos that either cover new topics (see Twitter) or that complete ones we've started in the past (like async-ssh: https://www.youtube.com/watch?v=RBQwZthJjoM&list=PLqbS7AVVErFgY2faCIYjJZv_RluGkTlKt&index=4&t=0s)

The code we ended up with is available here: https://github.com/jonhoo/rust-basic-hashmap