Make a port scanner in #rustlang with Tokio and learn async Rust 🦀 Learn Rust Creatively

preview_player
Показать описание

This tutorial takes you through to complete a fully working project with example code. Learn how async works and how to appease the borrow checker along the way.

📚 Resources:

Crates used in this video:

👋 Connect with Tim

🔧 Tools that I use (referral links):

StreamYard streaming software:

Descript video and audio editing:

👍 Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.
Рекомендации по теме
Комментарии
Автор

Yes this is what a tutorial should be like so beginners can understand what they are doing. Amazing work🙏

gex
Автор

Thanks for these videos. Helps me with my regular Rust fix. Looking forward for more.

starlordcodes
Автор

That's a great tutorial format @timClicks thanks!

robertiansweetman
Автор

Cool tutorial! And hello from the other side of the pond (Brisbane here)!

A question - this is spawning quite a few Tokio tasks, as it creates one per iteration of the loop, and typically there are thousands of ports (your default is 1024). Once CIDR is introduced, it becomes a nested loop, presumably spawning even more tasks. Is there any performance penalty for creating so many tasks, or are they quite lightweight?

sayanbhattacharyya
Автор

Hi Tim, nice vscode theme you have :) and a great topic

ajinkyax
Автор

HARD MODE
READ CODE
BURIED UNDER CAPTION

🤣

But great vid Tim 👌

JonathanSambrook