Тёмный
Trevor Sullivan
Trevor Sullivan
Trevor Sullivan
Подписаться
Learn software development tips on topics ranging from programming (PowerShell, Python, Go, Rust, C#, etc.) to cloud (AWS, Azure, Google Cloud), Linux, open source, and much more!

Any content produced on this RU-vid channel is produced exclusively by Trevor Sullivan, and is not affiliated with any other individual, company, business, government entity, or non-governmental organization (NGO).
Parse Rust CLI Args With Clap 🦀 Rust Tutorial
54:03
9 месяцев назад
Rust Scoped Threads 🦀 Rust Tutorial
23:36
9 месяцев назад
Rust Threading Basics 🦀 Rust Tutorial
28:26
9 месяцев назад
Rust Time Module and Chrono Crate Intro 🦀
58:39
9 месяцев назад
Popular Rust Iterator Methods 🦀
54:54
9 месяцев назад
Rust HashMap and HashSet Collection Types 🦀
36:29
9 месяцев назад
Implement Methods on Rust Structs 🦀
27:27
9 месяцев назад
Комментарии
@sulaimonakande8611
@sulaimonakande8611 День назад
Your explanations are top-notch. Thanks. what project can i start building at this level
@TrevorSullivan
@TrevorSullivan День назад
Thanks! I'm glad you're learning from these videos. A good start would be a CLI tool.
@sulaimonakande8611
@sulaimonakande8611 17 часов назад
Ok thanks
@salvador.h
@salvador.h 2 дня назад
Trevor, you are great speaker, comunicator, and teacher, thanks for your effort, and "lets go surfing go" for more content
@stirlingshade
@stirlingshade 5 дней назад
Well, I guess I sorta see the bird takin' flight from his first sketch when designin' these wings. Really cool piece of technology nonetheless!
@baserow
@baserow 5 дней назад
Really cool use case, thanks for this video!
@drv1997
@drv1997 6 дней назад
20:55 I needed configure the tunneling to my server on termius. The response is here.
@kafuu1
@kafuu1 7 дней назад
u are the hero
@user-qf1qb2mx4x
@user-qf1qb2mx4x 7 дней назад
absolutely amazing, as a beginner to rust. This helps quite a lot, youre going over the small details and everything. A very nice idea for your channel growth could be rust shorts, where you summarize these videos. keep up the good work 👍👍👍
@TrevorSullivan
@TrevorSullivan 7 дней назад
Thank you very much! I'm glad you're benefiting from these videos. God bless you. ❤️
@TrevorSullivan
@TrevorSullivan 7 дней назад
I've actually experimented with a few Rust shorts. I'm not a big fan of creating Shorts though! I enjoy making long form videos that teach new concepts. I appreciate the idea though. 😊
@user-qf1qb2mx4x
@user-qf1qb2mx4x 7 дней назад
great!
@frezze9314
@frezze9314 7 дней назад
Excellent material. Have about 8 months of Rust exposure. This helps solidify the concepts.
@shizeeque
@shizeeque 11 дней назад
coding using `root` account? The man has no fear.
@736939
@736939 12 дней назад
I have structure: #[derive(Serialize, Deserialize)] #[allow(dead_code)] pub struct KDTree <'a>{ root: KDTreeNode, state: HashMap<&'a str, usize> } and believe me, deserialization became a nightmare there, because it asks for 'de special lifetime that must be associated with 'a for state lifetime representation in order to work properly.
@zubairyahayav5585
@zubairyahayav5585 13 дней назад
Very helpful. Good job.
@user-ig5qy7kh1e
@user-ig5qy7kh1e 17 дней назад
I learned so much. Thank you
@idehenebenezer802
@idehenebenezer802 17 дней назад
👍
@RaeesBhatti
@RaeesBhatti 17 дней назад
This whole series is very high quality. Thank you creating and sharing this series!
@RadicalInteger
@RadicalInteger 17 дней назад
nice video!
@hanyanglee9018
@hanyanglee9018 17 дней назад
Opt = optimized ? Im not sure.
@RadicalInteger
@RadicalInteger 17 дней назад
this was a great tutorial
@fun-damentals6354
@fun-damentals6354 18 дней назад
i believe it doesnt give a warning for the 1..=36 because some part of the pattern can still be reached. only 0 and 5 are unreachable
@restauradorcaseiro
@restauradorcaseiro 19 дней назад
A playlist about the stabby macro = ❤❤
@WanjikuKimani-pe8eh
@WanjikuKimani-pe8eh 21 день назад
You have amazing rust content🙌
@elkabetzroy
@elkabetzroy 23 дня назад
Great video, concise explanation with informative examples, thank you. BTW, you should drop the "please press the like button..." suggestion. Be sure that if your content is valuable to viewers they would press that button with or without you asking them to 😉.
@adityakiran2956
@adityakiran2956 23 дня назад
Awesome video!!! really learnt a lot, gave up came to YT after failing to understand docs Can anyone tell me what theme and extension is being used for Rust?
@TrevorSullivan
@TrevorSullivan 23 дня назад
Thank you for your kind words! The theme is "outrun" by "samrapdev" and the extension is Rust Analyzer.
@mssafy2592
@mssafy2592 26 дней назад
man , thank you so much 🥺✨
@davidlanday6102
@davidlanday6102 27 дней назад
does rust make any guaruntees about channel / thread allocation? For example, can I ensure that when I spawn two threads that they are on the same cpu core?
@TrevorSullivan
@TrevorSullivan 26 дней назад
That's a good question. Is there any reason that you wouldn't trust the OS thread scheduler to handle this appropriately? Why are you wanting to manually manage thread affinity from your Rust application? Are you building an OS in Rust?
@TrevorSullivan
@TrevorSullivan 26 дней назад
I do see there's a crate called "core_affinity" that would be worth exploring.
@davidlanday6102
@davidlanday6102 19 дней назад
@@TrevorSullivan not making an OS, but core affinity could be useful in a heavy compute (HPC) type of application. I might be wrong, but on hpc systems (while they have a control plane to manage resources over a network connection) you might want to ensure that you are not oversubscribing your resources or that a process utilizes only a certain number of cores and threads etc…?
@davidlanday6102
@davidlanday6102 19 дней назад
@@TrevorSullivan oh nice! I will look at this. Thanks!
@kanithimaneesha1406
@kanithimaneesha1406 27 дней назад
What is the commend to build solution file in c++
@XYZ-gr2iu
@XYZ-gr2iu 28 дней назад
Hi Trevor, which theme are you using in the video? I like your purple theme.
@TrevorSullivan
@TrevorSullivan 28 дней назад
Hey there! It's the Outrun theme by "samrapdev" in the VSCode Marketplace.
@XYZ-gr2iu
@XYZ-gr2iu 27 дней назад
@@TrevorSullivan great, thanks!!
@AnkurDwivedi-wx9kh
@AnkurDwivedi-wx9kh 28 дней назад
@28.00 for who do not understand println macro itself takes immutable reference of value it is supposed to print. hence the error
@austinperrine23
@austinperrine23 29 дней назад
This is so good man! Love this video and your content. I personally appreciate that you have those articles of some very root sources present in you video.
@RichardWalterLanda
@RichardWalterLanda Месяц назад
top! thnaks yu mate for what yu are doing. I think yu deserve much more attention of rust community! wish yu a good luck
@TrevorSullivan
@TrevorSullivan Месяц назад
Thank you, Richard! I appreciate you being part of the community! I'm glad that you're learning from these videos. That's why I produce them. 🦀🦀
@jasonbraithwaite9204
@jasonbraithwaite9204 Месяц назад
Excellent, great clear explanation -> Thank You!
@Wodziwob
@Wodziwob Месяц назад
This is making so much click for me. Thank you! SUBSCRIBED.
@TrevorSullivan
@TrevorSullivan Месяц назад
I'm so happy to hear that! That's why I create these videos, to help people like you. 🦀🦀
@CQ123
@CQ123 Месяц назад
I really would like to see a video explaining the real benefit of using LXD instead pure-LXC. All those networking options are pretty simple to do on pure-LXC side, without pushing extra lines of code to the system. I easy use pure bash scripts to automate most of what LXD does... but.. the LXD project probably is much more - and very bad communicated to the community. My 2 cents.
@pranithreddy
@pranithreddy Месяц назад
How is your code getting auto compelete any free tool.
@TrevorSullivan
@TrevorSullivan Месяц назад
Yes check out my first video on Rust, where we talk about the Rust Analyzer extension for VSCode!
@shahidyousuf9464
@shahidyousuf9464 Месяц назад
Kindly provide a detailed video on lifetimes. Appreciate the effort you put in to make our learning effortless.
@jesusmtz29
@jesusmtz29 Месяц назад
Not going to lie this is daunting lol as i follow along i feel i know this stuff but as soon as i try to guess ahead what i should do i get a bunch of errors. what a mental gym rust is
@sevenelven
@sevenelven Месяц назад
Hi Trevor, now that you have a ui how would one publish the ui so that it's accessible on the internet as a dashboard for example as an internal app
@Im_Ninooo
@Im_Ninooo Месяц назад
=== Timestamps === 0:00:00 Intro 0:00:34 What is Lua 0:01:02 Where is Lua used 0:02:12 How Lua works 0:04:35 What's included in this course 0:04:55 Other places to learn Lua 0:07:08 How to install and run Lua 0:08:11 Lua shell (REPL) vs interpreter 0:10:04 Installing Lua on Ubuntu (apt) 0:10:45 Installing Lua on Windows (scoop) 0:12:06 Installing Lua on MacOS (homebrew) 0:13:16 Installing and setting up VSCode 0:15:16 Extensions 0:16:25 Creating a new Lua script 0:17:15 Using the Lua shell (REPL) 0:18:03 Variables 0:20:47 Multiple statements on the same line 0:21:46 Block definitions (do...end) 0:23:13 Back to VSCode 0:24:21 Code Runner extension 0:26:04 nil type 0:26:46 Booleans 0:27:36 Variable naming conventions 0:29:58 Strings 0:30:12 Numbers 0:33:25 String concatenation 0:36:41 Multi-line strings 0:40:19 Comments 0:42:07 Tables 1 0:44:02 type() function 0:45:15 Tables 2 (indexing, types) 0:47:13 Length operator 0:48:58 Tables 3 (key-value pairs) 0:51:06 Variable naming limitations 0:52:40 Math operations 0:54:00 Math module 0:55:59 abs() 0:57:09 ceil() 0:57:55 floor() 0:58:32 random() 0:59:17 randomseed() 1:01:07 min(), max() 1:02:52 More Strings 1:03:47 String module 1:04:07 sub() 1:07:22 find() 1:09:01 Functions 1:35:08 For loop 1:40:55 If statements 1:47:31 While loop 1:49:46 Repeat loop 1:51:43 User input 1:52:14 io.read() 1:57:05 Table module 1:58:50 sort() 2:02:21 concat() 2:04:07 remove() 2:06:33 OS module 1 2:08:11 remove() 2:09:18 execute() 2:10:07 getenv() 2:12:10 IO module (writing to file) 2:12:39 output() 2:14:00 write() 2:15:31 open() 2:18:05 OS module 2 2:18:15 time() 2:21:27 Modules
@KillerJo-nn4nl
@KillerJo-nn4nl 23 дня назад
Crazy.. yoo Its only 2 Months ago (the vid)
@jesusmtz29
@jesusmtz29 Месяц назад
Awesome but, how did you access the crab emoji so quickly lol
@TrevorSullivan
@TrevorSullivan Месяц назад
You can use the WIN + PERIOD keyboard shortcut to open up the emoji picker on Windows 11!
@jesusmtz29
@jesusmtz29 Месяц назад
​@@TrevorSullivannice one thanks. Really high quality stuff
@TrevorSullivan
@TrevorSullivan Месяц назад
@@jesusmtz29 Thank you very much, friend! I am glad you're benefitting from these free videos. 🙂
@salaar-zj2ks
@salaar-zj2ks Месяц назад
Did you made any video on liferimes?
@TrevorSullivan
@TrevorSullivan Месяц назад
Hi there! No I have not made any videos dedicated to lifetimes yet. Thanks for checking!
@salaar-zj2ks
@salaar-zj2ks Месяц назад
@@TrevorSullivan Can you please make one on Lifetimes and Futures topics
@TrevorSullivan
@TrevorSullivan Месяц назад
@@salaar-zj2ks I already have a video on async futures! Actually two videos. I will certainly consider making one on lifetimes. I know that some other creators have already covered this topic fairly well.
@salaar-zj2ks
@salaar-zj2ks Месяц назад
@@TrevorSullivan great thanks for your efforts
@shahidyousuf9464
@shahidyousuf9464 Месяц назад
Awesome tutorials about Docs in Rust, learned a lot. However, would add 2 cents; for dynamic dispatching of animals field, Vec<Box<dyn Animal>> holds good.
@praveenpp2929
@praveenpp2929 Месяц назад
Any plans on making a ratatui rust tutorial ?
@TrevorSullivan
@TrevorSullivan Месяц назад
I definitely want to! I have toyed around with it a little bit, but I'm not really good with it yet. It seems like an awesome framework!
@praveenpp2929
@praveenpp2929 Месяц назад
​@TrevorSullivan I have built a small ai navigator in rust I want visualize it so I am thinking to use ratatui but any recommendations ? It's like cave map i have to visualize
@TrevorSullivan
@TrevorSullivan Месяц назад
@@praveenpp2929 hmmm have you considered a 3D game engine like Bevy? That sounds like it could be a lot of work!
@AM-hc5vo
@AM-hc5vo Месяц назад
Great Stuff!!! Please keep on creating valuable content about Rust. Also, if you please create a video on efficient data structures in Rust.
@madisonrodgers6870
@madisonrodgers6870 Месяц назад
🤗 'Promo sm'
@Kite70986
@Kite70986 Месяц назад
Thanks for your content🥰 It was very helpful and FUN. I want to dive in Rust badly.
@TrevorSullivan
@TrevorSullivan Месяц назад
Thanks for your kind comment! Start writing it today! 🦀🦀
@MathewBoorman
@MathewBoorman Месяц назад
Demo of join part is not doing what you think. The second thread never runs concurrently, join forces it to run now. Test wirh lock/unlock inside loop to show thread working concurrently.
@TrevorSullivan
@TrevorSullivan Месяц назад
Thanks for calling that out.
@_azterisk
@_azterisk Месяц назад
Very clear- thanks
@OmbasaGeoffrey
@OmbasaGeoffrey Месяц назад
How dare you make rush so easy 😂😂
@user-ew6mz8kz8v
@user-ew6mz8kz8v Месяц назад
Огромное спасибо!
@TrevorSullivan
@TrevorSullivan Месяц назад
Пожалуйста! Спасибо, что смотрите мой канал!