File:Crust of Rust- Sorting Algorithms.webm
Summary
Description |
English: In this Crust of Rust episode, we implement some common sorting algorithms in Rust. This episode doesn't aim to explain any _single_ concept, but rather showcase what writing "normal" Rust code is like, and explaining various "odd bits" we come across along the way. The thinking here is that sorting algorithms are both familiar and easy to compare across languages, so this might serve as a good bridge into Rust if you are familiar with other languages.
I've uploaded the algorithms we implemented in the stream to https://github.com/jonhoo/orst. Feel free to contribute your own as well! 0:00:00 Introduction 0:02:42 Ord and sort in std 0:10:04 Sorting algorithms 0:12:02 Bubble sort 0:27:42 Insertion sort 0:52:18 Selection sort 1:07:27 Quicksort 1:46:22 Benchmarking 2:06:20 Quicksort underflow 2:13:46 Back to benchmarking 2:18:56 Evaluating the results You can watch the live version with comments at https://www.youtube.com/watch?v=K7v4EysI0kg |
Date | |
Source | YouTube: Crust of Rust: Sorting Algorithms – View/save archived versions on archive.org and archive.todayCategory:Media from YouTube |
Author | Jon Gjengset |
Licensing

This video, screenshot or audio excerpt was originally uploaded on YouTube under a CC BY license.
Their website states: "YouTube allows users to mark their videos with a Creative Commons CC BY license."
To the uploader: You must provide a link (URL) to the original file and the authorship information if available.
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
Attribution:
Jon Gjengset
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
![]() |
This file, which was originally posted to an external website, has not yet been reviewed by an administrator or reviewer to confirm that the above license is valid. See Category:License review needed for further instructions. |