Rust 1.72.1
1:29
Жыл бұрын
Rust 1.72.0
15:27
Жыл бұрын
Rust Releases! Rust 1.71.1
2:33
Жыл бұрын
Rust Releases! Rust 1.71.0
10:48
Жыл бұрын
Rust Releases! Rust 1.70.0
9:27
Жыл бұрын
Rust Releases! Rust 1.69.0
6:36
Жыл бұрын
Rust Releases! Rust 1.68.2
1:33
Жыл бұрын
Rust Releases! Rust 1.68.1
2:55
Жыл бұрын
Rust Releases! Rust 1.68.0
7:23
Жыл бұрын
Rust Releases! 1.67.0 & 1.67.1
7:20
Пікірлер
@denizsincar29
@denizsincar29 14 күн бұрын
1.81 released. Wake up))))
@denizsincar29
@denizsincar29 Ай бұрын
oooooow! You can now make apple vision pro apps in rust
@KaneYork
@KaneYork Ай бұрын
2:56 The lack of those lints is actually what was blocking exclusive ranges in match!
@happytrash
@happytrash Ай бұрын
I can’t believe you used Some(42) when a Sum-41 joke was just right there waiting for you smdh Thanks for the great update overview!
@doggydoggy578
@doggydoggy578 Ай бұрын
no one cares
@judef
@judef Ай бұрын
and who asked you?
@doggydoggy578
@doggydoggy578 Ай бұрын
@@judef your mum
@RustIsWinning
@RustIsWinning Ай бұрын
​@@doggydoggy578cr1nge
@amanbains5474
@amanbains5474 Ай бұрын
Very nice video and most importantly on the spot analysis , thanks a lot Nathan !!
@kirbykilledgod
@kirbykilledgod Ай бұрын
I’ve started learning rust and to push my learning I was building an encrypted messaging app from scratch, at some point I wanted to get the bytes of a connected ip addr from the tcp connection and I thought I was insane for not being able to find out how to do it, good to see I wasn’t the only one though stupid it wasn’t a thing earlier
@RiwenX
@RiwenX Ай бұрын
Why are LazyLock and LazyCell not in core, though? Guess I'll keep using static_cell
@MichaFita
@MichaFita Ай бұрын
LazyCell is in core::cell, but LazyLock in std::sync, what makes sense as there's no locking in no_std.
@AbdulfatahMohammedSheikhMohamm
@AbdulfatahMohammedSheikhMohamm Ай бұрын
Thank you so much
@samaelhelel
@samaelhelel Ай бұрын
Love your outro....
@MasterHigure
@MasterHigure Ай бұрын
The capital letter sigma is used for summation because that's the first letter of the Greek spelling of the word "sum". The capital letter pi is used in exactly the same way for products for exactly the same reason. Heck, Leibniz morphed the capital sigma into an elongated S when he invented integrals to signify how closely related sums and integrals are.
@qbasic16
@qbasic16 Ай бұрын
Wonderful presentation, thank you!
@davidmc971
@davidmc971 Ай бұрын
Cool, great overview of the new Rust version!
@RafaelMilewski
@RafaelMilewski Ай бұрын
Awesome, LazyLock and LazyCell was a must have !
@0xZeeS
@0xZeeS Ай бұрын
didnt really need the take_if - when the same functionality can be achieved in other ways. Adding too much unnecessary stuff to the language..
@thingsiplay
@thingsiplay Ай бұрын
I don't get the need for an addition like take_if either. Usually the Rust devs have very good reasoning for inclusions like this. So I wonder what the actual reasoning was. It looks unnecessary to me too.
@yondaime500
@yondaime500 Ай бұрын
It's for people who don't like seeing the "else" keyword in their code. The implementation is literally just this: if self.as_mut().map_or(false, predicate) { self.take() } else { None } But to be fair, writing just take_if is more readable if that's what you are doing. I bet clippy is going to add a manual_take_if lint to annoy people as well :)
@RootsterAnon
@RootsterAnon Ай бұрын
Very nice update! Thank you for making Rust videos for us!
@petrusion2827
@petrusion2827 Ай бұрын
LazyLock kind of breaks my mind. Is there a special case in the compiler for it, or is there some neat trick to make it lazy even though it looks like it is just getting assigned right away? It seems to me you'd need a lambda to implement it in a lazy manner. EDIT: nevermind, Instant::now is actually a lambda, Instant::now() would be an actual call do the now function. I've been writing a lot of C# lately so I've kind of gotten used to properties not having ( )
@josephsmith5110
@josephsmith5110 Ай бұрын
I was confused about exactly the same thing as well when I read the release notes.
@clarkm
@clarkm Ай бұрын
I think OP mis-spoke when he said the expression to the right of the equals sign is lazily evaluated. It’s not, the expression to the right is evaluated at runtime just like anything else. The key as you noted is that you’re passing a function that will be lazily called and produce your value.
@CodyNeiman
@CodyNeiman Ай бұрын
For satisfying any curosities I highly, highly recommend a 2020 blog post by the creator of the series of PRs, matklad. It's called "Spinlocks Considered Harmful" and I feel is super beneficial to anyone learning advanced rust concepts.
@t3chrs
@t3chrs Ай бұрын
Thank you Nathan! Keep it going.
@meka4996
@meka4996 Ай бұрын
Thank you!
@Mempler
@Mempler Ай бұрын
Small but fine changes in rust 1.80 Nothing too crazy except maybe the lazy static depreciation
@jyhherng
@jyhherng 2 ай бұрын
Thank you very much, Nathan. Hope you will do better in life so you can do these videos again.
@ShittuMonsuru
@ShittuMonsuru 2 ай бұрын
want to buy your rust course on udemy, can you please provide a discount code? will appreciate.
@moy2010
@moy2010 2 ай бұрын
It's really sad to hear that, Nathan. I'm in a similar situation, since I decided to venture into the startup world with a new SaaS project that I'm just now launching. My project has a news aggregator that hopefully will help content creators like you to get more visibility.
@jackkendall6420
@jackkendall6420 3 ай бұрын
Hey Nathan, thanks for still making this video with all the sponsor stuff in mind. I would completely understand if you declined to continue this series (too many people who burn out dedicating their lives to something like this for nothing in return), but it is highly enjoyable content.
@NathanStocks
@NathanStocks 2 ай бұрын
Thank you for your kind words!
@decathorpe
@decathorpe 3 ай бұрын
Many people might have encountered RISC-V processors without knowing it: Recent NVidia GPUs have a RISC-V co-processor ("GSP") for some tasks.
@fiona9891
@fiona9891 3 ай бұрын
recursion is very nice for certain parsing techniques, makes the code much easier to read and write
@jorgeosorio1613
@jorgeosorio1613 3 ай бұрын
Great video
@NathanStocks
@NathanStocks 3 ай бұрын
Thank you!
@JonDisnard
@JonDisnard 3 ай бұрын
These are great. Good job.
@NathanStocks
@NathanStocks 3 ай бұрын
Thank you!
@pyprem
@pyprem 3 ай бұрын
Clear and concise, thanks a lot for this overview.
@NathanStocks
@NathanStocks 3 ай бұрын
You’re welcome! Thank you for your kind words.
@irlshrek
@irlshrek 3 ай бұрын
i had a good laugh at number 8 haha
@NathanStocks
@NathanStocks 3 ай бұрын
😄
@pfeilspitze
@pfeilspitze 3 ай бұрын
Hopefully 8 is smart enough to not warn on constants from other crates, where no, I don't know if it's empty.
@NathanStocks
@NathanStocks 3 ай бұрын
I have so many questions about your comment! 😂 First, why did the library author export an empty constant? I have never seen that! Second, why do you need to check if the library’s constant is empty? Third, you imply that you would rather call is_empty at runtime than peek at the value of the constant after a lint tells you about it-why?
@pfeilspitze
@pfeilspitze 3 ай бұрын
@@NathanStocks Because if it's a constant in another crate it can change, so checking once doesn't work. Maybe it's a constant from a build-time environment variable, or something. It's like how `char::UNICODE_VERSION < (16, 0, 0)` is true right now, but probably soon won't be, and clippy would be very wrong to tell me not to check it and just remove the else.
@NathanStocks
@NathanStocks 3 ай бұрын
Huh, interesting.
@JamesHarrisonHaribo
@JamesHarrisonHaribo 3 ай бұрын
I really did like the more in-depth walkthrough of all changes version-to-version, it was hugely informative.
@NathanStocks
@NathanStocks 3 ай бұрын
So did I! As I get more sponsors, I will increase the length of my videos. With enough sponsors I would love to start making more frequent videos about other Rust news and topics as well.
@shadamethyst1258
@shadamethyst1258 3 ай бұрын
Does the tuple collect() means that one can collect into nested tuples? That's quite cool
@NathanStocks
@NathanStocks 3 ай бұрын
I tried it...and YES! fn main() { let input = vec![1, 2, 3, 4, 5]; let ((doubled, tripled), squared): ((Vec<_>, Vec<_>), Vec<_>) = input.iter().map(|x| ((x * 2, x * 3), x * x)).collect(); assert_eq!(doubled, [2, 4, 6, 8, 10]); assert_eq!(tripled, [3, 6, 9, 12, 15]); assert_eq!(squared, [1, 4, 9, 16, 25]); }
@seriousmasterful
@seriousmasterful 3 ай бұрын
Just finished, Ultimate Rust Crash Course on udemy. Keep up the good work.
@NathanStocks
@NathanStocks 3 ай бұрын
That’s wonderful to hear! Thank you for your kind words!
@lsp0
@lsp0 3 ай бұрын
@@NathanStocks hey you really ought to put links to that in your description
@t3chrs
@t3chrs 3 ай бұрын
First! So happy to find this video today.
@NathanStocks
@NathanStocks 3 ай бұрын
Congrats on the first post! I’m also glad you found this video today! And apparently before everyone else! 😂
@moohric
@moohric 3 ай бұрын
Hey Nathan, I got both of your courses on udemy just because of these videos, so please please please drop the new ultimate course! :D
@NathanStocks
@NathanStocks 3 ай бұрын
I’m still planning on finishing the crash course update before doing the new course. You may need to wait a bit. I could get these things done so much faster if it were my day job! 😂
@t3chrs
@t3chrs 4 ай бұрын
These videos are awesome! I get so much out of these compared to the official release blog. Bought both your courses, and sponsored you on Github. Hope you can keep doing these.
@TekExplorer
@TekExplorer 4 ай бұрын
This is my first time watching one of your videos, and i think that, while having a course is fine, you need to have videos here on youtube as teasers. Ones that teach, but dont go in depth. Short, maybe. Basically, i have no reason to even know you have a course unless i happen to stumble upon your detailed update videos and am otherwise bored. Doing this will bring more people to your channel in general, and help the community as a whole. This will mean more video monitization, more sponsorships, and more viewership in general.
@NathanStocks
@NathanStocks 4 ай бұрын
Alright, so that's another vote for focusing on courses.
@knnmran
@knnmran 4 ай бұрын
first video i watched of yours was your live Bevy coding in a room full of people and frankly i enjoyed it. since then i have been watching only these Rust update videos. i was not even aware of Udemy courses. you should talk about them during these videos or any content you put out.
@NathanStocks
@NathanStocks 4 ай бұрын
Thanks for watching!
@radimkolar3739
@radimkolar3739 4 ай бұрын
I agree with your decision to cancel this Rust news format. Make it 3 minutes long. Look at your video statistics - how many people watch entire 16 minutes? I am afraid you are making high effort video for a very small group of people.
@NathanStocks
@NathanStocks 4 ай бұрын
The ~30 minute videos get 15-25% watching until the end. The shorter videos tend to get about 20-33% watching to the end. The shortest videos get about 50% watching until the end. The longer videos get more total people watching, interestingly enough.
@michallis_pashidis
@michallis_pashidis 4 ай бұрын
Dear Nathan, we love the work you do, and I have some 'small' rust dev teams who learn a lot of the content you make. We just became a sponsor (Trust1Team), and would like to see you achieving your goal! I'm pushing your courses to new devs, as that speeds up the onboarding process for new consultants in our software engineering team.
@NathanStocks
@NathanStocks 4 ай бұрын
You're amazing! My first organization sponsor. It wouldn't take many sponsors like you to hit my goal. ❤ Tell me why my Rust News videos are valuable to you!
@soma_rc
@soma_rc 4 ай бұрын
Is that sponsorship thing us-only?
@NathanStocks
@NathanStocks 4 ай бұрын
No! GitHub Sponsors is currently available in 35 regions. github.com/sponsors/
@pfeilspitze
@pfeilspitze 4 ай бұрын
I think these need to focus more on what *you* can provide value about more specifically. I read the release blog posts, so while these videos are nice they're also not essential as-is, to be frank. Maybe if you did more "here's one cool thing" videos? Like for this release, maybe you could do a "here's how the ub checks help you write correct code, and BTW if you're interested in that then here's my course about `unsafe` that you should buy!" kind of thing. Being exhaustive feels like it must be so much work, but I don't know how much value most viewers get from you covering *everything*.
@NathanStocks
@NathanStocks 4 ай бұрын
Covering things exhaustively is definitely a ton of work. Thanks for your suggestion!
@laycookie-f6i
@laycookie-f6i 4 ай бұрын
First time viewer, loved the video. I really hope you will find a sponsor, and if it isn’t going to be too much of a hustle please update us in the community tab if you will manage to find one wish all the best to you! By the way your content is tailored towards very advanced audience in the rust ecosystem as you are pretty much covering the bleeding edge of rust development, so it isn’t too surprising that no one is buying your course from the advertisements on those videos. One potential idea you can try is to make a low level video that will explain some simple features of rust, for one bad example is how does .len() on arrays work and why is it O(1) complexity. Making analogies with C in those cases will also benefit the community as you will be exposing the working of rust to people who are familiar with c but not rust, which can hypothetically get you costumers for your rust course.
@NathanStocks
@NathanStocks 4 ай бұрын
Thank you! I'm glad you loved the video. So in other words, make intro course videos to get people to buy courses? That's definitely one of the options that falls under "stopping doing news and working on courses". Not a bad idea, but not going to help me keep doing the news. 😆
@laycookie-f6i
@laycookie-f6i 4 ай бұрын
@@NathanStocks haha fair enough, but ya I don’t think bleeding edge news will bring in new people to buy your course sadly. I was thinking of doing this along with the news but ya I can understand if you aren’t enthusiastic about doing that, wish best of luck to you really hope you will get a sponsor!
@andrewshorts1198
@andrewshorts1198 4 ай бұрын
@nathan can I get a discount on Udemy video?
@NathanStocks
@NathanStocks 4 ай бұрын
Sure. Here's about 87% off of my Ultimate Rust Crash Course on Udemy. www.udemy.com/course/ultimate-rust-crash-course/?couponCode=ABD7539FAD05201FDBE8 The exact discount depends on the Udemy country / price region you are in. It expires 5 days from now. Anyone can use it.
@andrewshorts1198
@andrewshorts1198 4 ай бұрын
@@NathanStocks Much appreciated, I bought it.
@GaryChike
@GaryChike 4 ай бұрын
Looking forward to your Rust Advanced courses, I've enjoyed both your beginner and intermediate courses.
@NathanStocks
@NathanStocks 4 ай бұрын
Thank you so much! I'm glad you enjoyed my courses and want more! This is a vote _against_ making more news videos. 😂
@GaryChike
@GaryChike 4 ай бұрын
@@NathanStocks😂 I can’t keep up with ‘real’ news! 🗞️ 😂
@NathanStocks
@NathanStocks 4 ай бұрын
@@GaryChike Oh, neither can I. I gave up on keeping up with "real" news 10 or 15 years ago. Rust News is far more wholesome and rewarding.
@floodplainnl
@floodplainnl 4 ай бұрын
Yes, I understand it is tough. Choose life, spend time with your child, take a break, and if at some point you come back, we'll still be here. Either way, take my (small) sponsorship.
@NathanStocks
@NathanStocks 4 ай бұрын
People like you make a difference in the world. Thank you for your kind words and your sponsorship! All sponsorships mean a lot to me, regardless of size.
@ayoubelmhamdi7920
@ayoubelmhamdi7920 4 ай бұрын
The improvement of security is not news that I want to hear about programming, it's boring, there are many kinds of excited released which I expected to hear. that's my perspective that is of course wrong at all.
@NathanStocks
@NathanStocks 4 ай бұрын
Thanks for your feedback.
@jimbone6460
@jimbone6460 4 ай бұрын
Please don't stop with your Rust news
@NathanStocks
@NathanStocks 4 ай бұрын
Thank you for your kind words. We'll have to see what happens!
@Dygear
@Dygear 4 ай бұрын
For what it's wroth, I actually did purchase your course videos. It was very helpful still while I was an "ok" rust dev to an "actually pretty good."
@NathanStocks
@NathanStocks 4 ай бұрын
Thank you so much! It must have been on Udemy, because my self-hosted courses still haven't gotten a customer.