Rust Programming Tutorial Videos - build a cli grep utility!

Опубликовано: 02 Март 2026
на канале: Reanblock
206
8

In this video we cover how to run though some of the core foundational concepts in Rust to build a new Cli tool. Some of the concepts that are used in this tutorial are: functions, ownership, structs, enums and pattern matching, crates, collections, error handling, conditions & loops, generic types, traits and unit tests! There is a lot to cover so enjoy the ride!

00:00:37 Introduction
00:03:57 Accepting Command Line Arguments
00:08:58 Reading a File
00:10:45 Error handingly
00:36:00 Tests
00:42:35 Environment Variables
00:45:55 Std Out and Std Err

Useful links:

Below are some useful Rust books. The only book used in this video is The Rust Programming Language Book. The others are good reads and / or references for further learning and experimentation.

The Rust Programming Language Book: https://doc.rust-lang.org/book/title-...
The Rust Reference: https://doc.rust-lang.org/reference/i...
Rust by Example: https://doc.rust-lang.org/rust-by-exa...
Rust API Guidelines: https://rust-lang.github.io/api-guide...
The Unstable Book: https://doc.rust-lang.org/unstable-bo...
Learn Rust With Entirely Too Many Linked Lists: https://rust-unofficial.github.io/too...
High Assurance Rust: https://highassurance.rs/landing.html

If you like this video please like and subscribe. I'll be producing more videos as soon as I can!

Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;)

BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2
ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2

Many thanks everyone and I appreciate your support in any way!