Write Unit Tests in Rust 🦀 Rust Programming Tutorial for Developers

  Рет қаралды 4,944

Trevor Sullivan

Trevor Sullivan

Күн бұрын

Пікірлер: 30
@MegaAnufriev
@MegaAnufriev Жыл бұрын
It would be great to see a video on mocking in rust. Which mocking libraries are best for most common scenarios. Is mocking idiomatic in rust at all?
@firstname-lastname
@firstname-lastname 3 ай бұрын
Man, your videos about Rust are just the best. You are the best tutor on KZbin.
@TrevorSullivan
@TrevorSullivan 3 ай бұрын
@@firstname-lastname thanks for your kind comment! 😊 I'm glad you're learning Rust!
@therecyclebin8509
@therecyclebin8509 3 ай бұрын
Keep making it going please!!!, you are the only creator that I am able to learn rust from.
@frezze9314
@frezze9314 6 ай бұрын
Excellent material. Have about 8 months of Rust exposure. This helps solidify the concepts.
@Scotthutchinsonking
@Scotthutchinsonking 4 ай бұрын
Great stuff Trevor keep up the great work
@eligbuefelix7988
@eligbuefelix7988 Жыл бұрын
I love this channel, thanks a lot Trevor
@shahidyousuf9464
@shahidyousuf9464 7 ай бұрын
Kindly provide a detailed video on lifetimes. Appreciate the effort you put in to make our learning effortless.
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 3 ай бұрын
simple and to the point, thank you :)
@theintjengineer
@theintjengineer Жыл бұрын
You're killing with these videos👌🏽 Keep them coming and let's hope the algorithm blesses you🙌🏽 Thank you so much.
@TrevorSullivan
@TrevorSullivan Жыл бұрын
Thank you so much for your support! ♥️
@theintjengineer
@theintjengineer Жыл бұрын
@@TrevorSullivan, why don't you create a D*ïs*ćord Server? [not sure KZbin allows these names here haha] Let's build a community, Mate🙌🏽 Your content is top-notch and you're knowledgeable in several areas. I can't see this channel not booming 💣💥👌🏽 I, personally, loved that Rust and AWS Mixup you introduced. I'm sure many people will want to see more on that. If you need help or something [not on Rust or AWS though, since I'm learning that from you😂], just lemme know and I'll send you an email/add you somewhere, whatever. I'm really rooting for you. Cheers.
@TrevorSullivan
@TrevorSullivan Жыл бұрын
@@theintjengineer you rock, thank you for the idea and being willing to support the community! Since I haven't had much time to focus on KZbin for the last month, I'm not sure adding more overhead is a great idea right now. Depending on how things go long-term, that could definitely be part of the picture though! Chat can sometimes be a bit much to keep on top of, but a discussion forum could be helpful. Do you like Discourse? What topics are you most comfortable with (if not AWS and Rust)?
@theintjengineer
@theintjengineer Жыл бұрын
- I guess CMake Discourse is the only Discourse I have ever used haha. Though I didn't actually dislike it. I found it ok. So, that wouldn't be a problem. - Electrical Engineering, C++ and, a couple of months ago, I started getting into Cybersecurity, so, I know a bit about that as well. But again, the day only has 24h, right?!! Haha There's way more I'd like to learn, but I'll focus on a Cloud Technology for now and some DevOps stuff, like Docker. That's stuff I don't yet know and which I'd like to have fundamental knowledge of. Anyways. I'll keep following the channel and let's see how this all goes. Cheers.
@TrevorSullivan
@TrevorSullivan Жыл бұрын
@@theintjengineer Those are some awesome skills. I wish I had more background in hardware, honestly. You could start your own KZbin channel. :) Docker is a great tool to learn. I wouldn't worry too much about Kubernetes, as it's often overkill for whatever devs are trying to accomplish. Check out some git servers though, like OneDev, Gitea, Forgejo, and similar tool. Check out Terraform for deploying cloud resources en masse. Check out PowerShell for gluing services together easily. There's a ton to learn out there! I hear you about only having 24h each day. 😆🦀
@yasin5058
@yasin5058 Жыл бұрын
Great video. I‘d love to watch a video about integration tests,
@wagnernoise
@wagnernoise Жыл бұрын
Thanks for the video, really great explanation!
@TrevorSullivan
@TrevorSullivan Жыл бұрын
🚨📦 Help support this channel - shop through my Amazon storefront! ⬇⬇⬇ www.amazon.com/shop/trevorsullivan ⬆⬆⬆
@prajganesh
@prajganesh 10 ай бұрын
Now that you wrote a few AWS videos with Rust, what's you take on it? I'm still debating if I should play with Rust or Golang. I do mostly for fun to learn different things. But still not able to decide between Rust and Golang.
@TrevorSullivan
@TrevorSullivan 10 ай бұрын
Hey @prajganesh, great question. I have to say that I really like Rust, after working with it for ~9 months now. I would strongly recommend it to anyone who's interested in software development. The efficiency of CPU and memory resources is incredible. Also, specifically around AWS, check out the cold start performance of Rust compared to Golang on this website: maxday.github.io/lambda-perf/ Rust is almost 3x faster than Go at cold starts! If you need responsive applications that "feel" fast to your users, Rust is the way to go.
@prajganesh
@prajganesh 10 ай бұрын
It's funny as I was watching interview :) For me it's more to create some proof of concept. I don't intend to create any production code. But youtube is full of Python and Golang, so Rust is a niche space
@TrevorSullivan
@TrevorSullivan 10 ай бұрын
@@prajganesh Rust is definitely more niche, I agree, but there's lots of momentum behind it. 🦀🙂 Microsoft, Amazon, and Google are all investing in it.
@user-ui8my9zs7o
@user-ui8my9zs7o Жыл бұрын
Where do you put test files at?
@datawolk
@datawolk Жыл бұрын
Nice one. Could you make a video about a multi file/module project? Proper imports etc
@TrevorSullivan
@TrevorSullivan Жыл бұрын
That is an excellent topic! I already have a video on modules, but there is a definite need to go into more depth on nested crates, workspaces, and import/use statements. I agree wholeheartedly!!
@TrevorSullivan
@TrevorSullivan Жыл бұрын
@datawolk Just published a new video about multi-crate Rust projects! Check out the playlist!
@datawolk
@datawolk Жыл бұрын
Thanks a lot! Never heard of workspaces before.
@saurabtharu7252
@saurabtharu7252 Жыл бұрын
Hey Trevor, please make a video on error reporting library named "miette" btw really appreciate your contents👌. They have always been so much helpful for me 😇
@EddieKingara
@EddieKingara 8 ай бұрын
My Brudda!! May the good lord bless you in every way possible!!
@TheInspctrcat
@TheInspctrcat Жыл бұрын
I guess more idiomatic way is format macro
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Thoughts About Unit Testing | Prime Reacts
11:21
ThePrimeTime
Рет қаралды 240 М.
You Should Really Know These Traits in Rust
18:36
Oliver Jumpertz
Рет қаралды 17 М.
Testcontainers have forever changed the way I write tests
12:11
Dreams of Code
Рет қаралды 124 М.
Jon Gjengset - Towards Impeccable Rust
55:59
Rust Nation UK
Рет қаралды 33 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 152 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 589 М.
Testing in Rust
15:15
Let's Get Rusty
Рет қаралды 54 М.
Rust Threading Basics 🦀 Rust Tutorial
28:26
Trevor Sullivan
Рет қаралды 9 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН