No video

JavaScript Dev Learns Rust | Building a CLI tool with Rust and clap

  Рет қаралды 6,378

Coding Garden

Coding Garden

Күн бұрын

In this video I learn the basics of the Rust programming language LIVE while trying to build a CLI tool.
View the notes I took and code I wrote here: github.com/CodingGarden/tryda...
This is a highlight of a livestream. Watch the full stream here: • Trying Rust | Try Day ...
00:00 Rust Learning Resources
00:57 Learn X in Y Minutes
02:07 What is Rust?
04:56 Install / Setup Rust
05:32 Hello World
06:43 Creating a project with Cargo
07:38 What we will build today
08:49 Trying to write tests
09:41 Learning / Taking Notes
10:03 CLI Tool Description
10:21 Parsing CLI args with clap
14:18 Invoking system commands with Rust
20:31 Refactoring error messages
23:40 Remove directory with Rust
27:52 Printing colors with colored
29:23 Conclusions / Summary
31:11 Overall impressions of Rust
📩 Sign up for my mailing list: list.coding.garden/
💖 Donate: coding.garden/donate
😍 Pledge: coding.garden/pledge
🎉 Stickers: coding.garden/stickers
💻 Gear List: coding.garden/gear
🔎 Search for more Coding Garden videos here: coding.garden/videos
🗣 View the Coding Garden FAQ here: github.com/CodingGarden/faqs

Пікірлер: 10
@CodingGarden
@CodingGarden 6 ай бұрын
00:00 Rust Learning Resources 00:57 Learn X in Y Minutes 02:07 What is Rust? 04:56 Install / Setup Rust 05:32 Hello World 06:43 Creating a project with Cargo 07:38 What we will build today 08:49 Trying to write tests 09:41 Learning / Taking Notes 10:03 CLI Tool Description 10:21 Parsing CLI args with clap 14:18 Invoking system commands with Rust 20:31 Refactoring error messages 23:40 Remove directory with Rust 27:52 Printing colors with colored 29:23 Conclusions / Summary 31:11 Overall impressions of Rust
@thecodealchemist7095
@thecodealchemist7095 6 ай бұрын
😂
@qwertgfhxc
@qwertgfhxc 4 ай бұрын
That was fun to watch!
@davithchhung7577
@davithchhung7577 6 ай бұрын
You just make learning Rust look fun :)
@Dimkar3000
@Dimkar3000 6 ай бұрын
Your chat did you dirty. Starting with clap is probably not recommended 😂. You can do this with normal argument parsing. Clap is a more full-fledged solution for production CLI apps
@sagarchilivery6112
@sagarchilivery6112 6 ай бұрын
Great Video!! btw can you pls tell me which vscode extensions are you using?
@soltsdev
@soltsdev 6 ай бұрын
You can start the rust video series
@jrockenjoyer
@jrockenjoyer 6 ай бұрын
Nice video, great to see someone enjoy rust! But in the "overall impressions" the argumentation of "code wasnt too crazy" point is wrong imo: You're saying that the "low level code" is not as bad as people who use "higher level languages" assume, except what you are talking about has nothing to do with the "low-levelness" of rust (which is questionable: it has got a lot of high level concepts compared to lets say, c, and that just goes to show that the "level" of the language is relative), in fact the stuff you use as an example (pattern matching) is a rather high level construct. Your code doesnt have low level parts, you didnt need to worry about the hardware you're working with `at all`, the memory was managed for you, and the syntax was just unusual to you, but its not related to "low levelness" at all.
@CodingGarden
@CodingGarden 6 ай бұрын
Yeah that makes sense. I think I was using "low level" to refer to the fact that the resulting compiled code runs directly on the hardware as apposed to being interpreted, just in time compiled or running on top of a runtime like .NET or the JVM.
@benny-shen
@benny-shen 6 ай бұрын
so less comments, LOL
Parse CLI Arguments With Rust Standard Crate 🦀📦 Rust Tutorial
26:50
Git Is Awful | Prime Reacts
23:10
ThePrimeTime
Рет қаралды 200 М.
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 28 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,4 МЛН
Gym belt !! 😂😂  @kauermotta
00:10
Tibo InShape
Рет қаралды 17 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 112 МЛН
Jon Gjengset - Towards Impeccable Rust
55:59
Rust Nation UK
Рет қаралды 26 М.
3 Things I Did to Learn Rust as a JavaScript Developer
11:53
warpdotdev
Рет қаралды 11 М.
When Zig Outshines Rust | Prime Reacts
23:31
ThePrimeTime
Рет қаралды 137 М.
Parse Rust CLI Args With Clap 🦀 Rust Tutorial
54:03
Trevor Sullivan
Рет қаралды 10 М.
The Rust Standard Library is SO Confusing...Until Now!
11:45
Travis Media
Рет қаралды 26 М.
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 176 М.
why rust libraries may never exist.
7:26
Low Level Learning
Рет қаралды 236 М.
Rust's Most Important Containers 📦 10 Useful Patterns
17:11
Code to the Moon
Рет қаралды 118 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 125 М.
Torvalds Speaks: Rust's Impact on the Linux Kernel
3:50
Mastery Learning
Рет қаралды 580 М.
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 28 МЛН