oooooow! You can now make apple vision pro apps in rust
@KaneYorkАй бұрын
2:56 The lack of those lints is actually what was blocking exclusive ranges in match!
@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Ай бұрын
no one cares
@judefАй бұрын
and who asked you?
@doggydoggy578Ай бұрын
@@judef your mum
@RustIsWinningАй бұрын
@@doggydoggy578cr1nge
@amanbains5474Ай бұрын
Very nice video and most importantly on the spot analysis , thanks a lot Nathan !!
@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Ай бұрын
Why are LazyLock and LazyCell not in core, though? Guess I'll keep using static_cell
@MichaFitaАй бұрын
LazyCell is in core::cell, but LazyLock in std::sync, what makes sense as there's no locking in no_std.
@AbdulfatahMohammedSheikhMohammАй бұрын
Thank you so much
@samaelhelelАй бұрын
Love your outro....
@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Ай бұрын
Wonderful presentation, thank you!
@davidmc971Ай бұрын
Cool, great overview of the new Rust version!
@RafaelMilewskiАй бұрын
Awesome, LazyLock and LazyCell was a must have !
@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Ай бұрын
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Ай бұрын
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Ай бұрын
Very nice update! Thank you for making Rust videos for us!
@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Ай бұрын
I was confused about exactly the same thing as well when I read the release notes.
@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Ай бұрын
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Ай бұрын
Thank you Nathan! Keep it going.
@meka4996Ай бұрын
Thank you!
@MemplerАй бұрын
Small but fine changes in rust 1.80 Nothing too crazy except maybe the lazy static depreciation
@jyhherng2 ай бұрын
Thank you very much, Nathan. Hope you will do better in life so you can do these videos again.
@ShittuMonsuru2 ай бұрын
want to buy your rust course on udemy, can you please provide a discount code? will appreciate.
@moy20102 ай бұрын
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.
@jackkendall64203 ай бұрын
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.
@NathanStocks2 ай бұрын
Thank you for your kind words!
@decathorpe3 ай бұрын
Many people might have encountered RISC-V processors without knowing it: Recent NVidia GPUs have a RISC-V co-processor ("GSP") for some tasks.
@fiona98913 ай бұрын
recursion is very nice for certain parsing techniques, makes the code much easier to read and write
@jorgeosorio16133 ай бұрын
Great video
@NathanStocks3 ай бұрын
Thank you!
@JonDisnard3 ай бұрын
These are great. Good job.
@NathanStocks3 ай бұрын
Thank you!
@pyprem3 ай бұрын
Clear and concise, thanks a lot for this overview.
@NathanStocks3 ай бұрын
You’re welcome! Thank you for your kind words.
@irlshrek3 ай бұрын
i had a good laugh at number 8 haha
@NathanStocks3 ай бұрын
😄
@pfeilspitze3 ай бұрын
Hopefully 8 is smart enough to not warn on constants from other crates, where no, I don't know if it's empty.
@NathanStocks3 ай бұрын
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?
@pfeilspitze3 ай бұрын
@@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.
@NathanStocks3 ай бұрын
Huh, interesting.
@JamesHarrisonHaribo3 ай бұрын
I really did like the more in-depth walkthrough of all changes version-to-version, it was hugely informative.
@NathanStocks3 ай бұрын
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.
@shadamethyst12583 ай бұрын
Does the tuple collect() means that one can collect into nested tuples? That's quite cool
Just finished, Ultimate Rust Crash Course on udemy. Keep up the good work.
@NathanStocks3 ай бұрын
That’s wonderful to hear! Thank you for your kind words!
@lsp03 ай бұрын
@@NathanStocks hey you really ought to put links to that in your description
@t3chrs3 ай бұрын
First! So happy to find this video today.
@NathanStocks3 ай бұрын
Congrats on the first post! I’m also glad you found this video today! And apparently before everyone else! 😂
@moohric3 ай бұрын
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
@NathanStocks3 ай бұрын
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! 😂
@t3chrs4 ай бұрын
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.
@TekExplorer4 ай бұрын
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.
@NathanStocks4 ай бұрын
Alright, so that's another vote for focusing on courses.
@knnmran4 ай бұрын
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.
@NathanStocks4 ай бұрын
Thanks for watching!
@radimkolar37394 ай бұрын
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.
@NathanStocks4 ай бұрын
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_pashidis4 ай бұрын
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.
@NathanStocks4 ай бұрын
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_rc4 ай бұрын
Is that sponsorship thing us-only?
@NathanStocks4 ай бұрын
No! GitHub Sponsors is currently available in 35 regions. github.com/sponsors/
@pfeilspitze4 ай бұрын
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*.
@NathanStocks4 ай бұрын
Covering things exhaustively is definitely a ton of work. Thanks for your suggestion!
@laycookie-f6i4 ай бұрын
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.
@NathanStocks4 ай бұрын
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-f6i4 ай бұрын
@@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!
@andrewshorts11984 ай бұрын
@nathan can I get a discount on Udemy video?
@NathanStocks4 ай бұрын
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.
@andrewshorts11984 ай бұрын
@@NathanStocks Much appreciated, I bought it.
@GaryChike4 ай бұрын
Looking forward to your Rust Advanced courses, I've enjoyed both your beginner and intermediate courses.
@NathanStocks4 ай бұрын
Thank you so much! I'm glad you enjoyed my courses and want more! This is a vote _against_ making more news videos. 😂
@GaryChike4 ай бұрын
@@NathanStocks😂 I can’t keep up with ‘real’ news! 🗞️ 😂
@NathanStocks4 ай бұрын
@@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.
@floodplainnl4 ай бұрын
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.
@NathanStocks4 ай бұрын
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.
@ayoubelmhamdi79204 ай бұрын
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.
@NathanStocks4 ай бұрын
Thanks for your feedback.
@jimbone64604 ай бұрын
Please don't stop with your Rust news
@NathanStocks4 ай бұрын
Thank you for your kind words. We'll have to see what happens!
@Dygear4 ай бұрын
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."
@NathanStocks4 ай бұрын
Thank you so much! It must have been on Udemy, because my self-hosted courses still haven't gotten a customer.