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?
Tokio tasks are very cheap to create. Most systems should be able to comfortably handle running millions concurrently, assuming each task is I/O bound.
It sounds like it's misconfigured. Check your settings, making sure that VS Code has the correct path to rust-analyzer. Also ensure that the project directory is in the workspace.
Yes this is what a tutorial should be like so beginners can understand what they are doing. Amazing work🙏
Thanks for these videos. Helps me with my regular Rust fix. Looking forward for more.
Nice to hear! I hope that the next video won't take me 8h or so to prepare.
Berkeley Mono is truly an elite font
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?
Tokio tasks are very cheap to create. Most systems should be able to comfortably handle running millions concurrently, assuming each task is I/O bound.
That's a great tutorial format @timClicks thanks!
HARD MODE
READ CODE
BURIED UNDER CAPTION
🤣
But great vid Tim 👌
Sorry I was tired by that point in the editing process and didn't check that the overlay made any sense
Hi Tim, nice vscode theme you have :) and a great topic
Thanks! I am slowly tweaking it over time and will publish it when I am finally satisfied 😅
@@timClicks also can you guess why vscode auto import not working on Ubuntu ? I have same extensions on windows and mac it works there.
It sounds like it's misconfigured. Check your settings, making sure that VS Code has the correct path to rust-analyzer. Also ensure that the project directory is in the workspace.
@@timClicks thanks again
Weird editing fail at 01:27 🤦♂
Hi tim 🖐
Hi! 👋 I hope that you are enjoying the channel and learning from the content
@@timClicks ❤ yes