Rust Releases! Rust 1.71.0

  Рет қаралды 12,671

Nathan Stocks

Nathan Stocks

Күн бұрын

Пікірлер: 52
@Dygear
@Dygear Жыл бұрын
Thank you for not just reading the notes and actually showing all of the details of each item. It really helps digest all of this.
@NathanStocks
@NathanStocks Жыл бұрын
You’re welcome! The idea is to provide some news that is useful and interesting, and not immediately obvious. Hopefully I’m succeeding at that!
@appelnonsurtaxe
@appelnonsurtaxe Жыл бұрын
This clarifies the 10% of the changelog I didn't understand, thanks for the video! I'm very curious about the gdb stuff. Idk much about custom gdb pretty-printers but I had this exact need 2 months ago when wanting to inspect a syntax tree from the "rowan" library from within GDB. The opaqueness and use of unsafe of this structure made it pretty much impossible to inspect. I may try to implement a pretty printer for them actually, as an exercise. They may be interested in a PR.
@NathanStocks
@NathanStocks Жыл бұрын
Nice! I hope it turns out well.
@aaarkid
@aaarkid Жыл бұрын
I have to say, you've become my favorite, hence only creator I watch for Rust updates. You just put those updates better than other creators out there. Keep up the good work, I'm pretty sure you can only go up from here.
@aaarkid
@aaarkid Жыл бұрын
Only feedback I want to give is that you sometimes "sing" what you say, every few words you prolong the last syllable, i.e. 6:14 "how to joiiin". Try to teach yourself not to do that in a video, there are many cases you do that and it's slightly annoying for the viewer. Cheers!
@NathanStocks
@NathanStocks Жыл бұрын
@@aaarkid Why is it annoying to add inflection to words?
@aaarkid
@aaarkid Жыл бұрын
@@NathanStocks I'd say most of the time is fine, but sometimes you pronounce the inflection pretty hard. The example timestamp above is a good example. It's not really annoying, just slightly when it's so pronounced. Hope that makes sense. As I said you're the most enjoyable creator for me in terms of Rust update so I think the engaging tone (on a somewhat boring topic) and the good display of the features is working pretty good. I understand the inflection is part of that engaging tone which is a great idea, but sometimes I wish you didn't go so hard on it. Or maybe I'm wrong and those pronounced syllables are the secret sauce, it's hard to decide here.
@NathanStocks
@NathanStocks Жыл бұрын
@@aaarkid Thanks for the additional details!
@jimhrelb2135
@jimhrelb2135 Жыл бұрын
4:54 excuse the nitpicking, while the term ‘flatten’ is probably understood after you’ve shown the code example, I believe it is misleading. I suggest ‘substituted at compile time’, or if you want a single word (though probably make everyone scratches their head but is useful if you want to keep notes short and concise) ‘beta-reduced’
@NathanStocks
@NathanStocks Жыл бұрын
"substituted at compile time" is a nice way to word it 👍🏻
@holly_hacker
@holly_hacker Жыл бұрын
Some feedback, when using KZbin's closed captions, they often cover some of the text you are trying to show on-screen such as at 9:25. If you leave some padding to the bottom of your video, this doesn't happen as often.
@NathanStocks
@NathanStocks Жыл бұрын
Good to know, thank you!
@porky1118
@porky1118 Жыл бұрын
7:55 So is it already possible to implement a trait like this yourself? Even if it's not, this basically allows implementing many things for arbitrary sized tuples if you can convert it into an array.
@porky1118
@porky1118 Жыл бұрын
Oh, I just realized it's only for N from 1 to 12. So no.
@NathanStocks
@NathanStocks Жыл бұрын
I think you could do the same sort of approach that the standard library does to implement things for tuples of *various* sizes. They have a macro that produces implementations for arity of 1 to 12, and others could probably do the same thing (and even support somewhat larger arities if they wanted to). However, as you seem to have already concluded in your self-reply, there is not (yet) a way to implement something broadly for tuples of all arities. I'm hoping const-generics is extended to cover that case in the future.
@jocketf3083
@jocketf3083 Жыл бұрын
Awesome, thank you!
@NathanStocks
@NathanStocks Жыл бұрын
You're welcome!
@mitepainera69
@mitepainera69 Жыл бұрын
Do you guys know similar channel but with javascript/react new things and documentation being read and implemented
@NathanStocks
@NathanStocks Жыл бұрын
Sorry, I don't! I disavowed front end development the fourth time everything I knew became obsolete. Perhaps some other kind front-end developers will chime in, though.
@alfiedotwtf
@alfiedotwtf Жыл бұрын
I don't know...although nice, I'd expect everything should be inherited from the workspace by default, but you have have the facility to None it out or override
@NathanStocks
@NathanStocks Жыл бұрын
I'm a fan of things like this being explicit so you can reason about it by simply looking at it. The less invisible rules to remember, the better. YMMV, of course.
@meka4996
@meka4996 Жыл бұрын
Thank you for the update
@NathanStocks
@NathanStocks Жыл бұрын
You’re welcome!
@Kuratius
@Kuratius Жыл бұрын
Call me when Rust is actually stable enough to recompile its own standard library with LTO without an unstable compiler.
@NathanStocks
@NathanStocks Жыл бұрын
I'll do better than that, I'll post another video covering it! 😄
@dimitrobest5293
@dimitrobest5293 Жыл бұрын
please make a review on vlang
@NathanStocks
@NathanStocks Жыл бұрын
TIL about the existence of V. Thanks! I have no current plans to make language review videos, but if I ever do, this looks like an interesting entry.
@irlshrek
@irlshrek Жыл бұрын
i think i understood like 10% of this haha
@NathanStocks
@NathanStocks Жыл бұрын
Do you have any specific questions I can answer for you?
@happygofishing
@happygofishing Жыл бұрын
love musl!
@NathanStocks
@NathanStocks Жыл бұрын
Tell me what you like about it!
@jocketf3083
@jocketf3083 Жыл бұрын
@@NathanStocks While I'm not the original poster, it's super nice to be able to build static binaries that can run anywhere. Single file (and thus tiny) container images are part of that.
@swikarsharma3118
@swikarsharma3118 Жыл бұрын
any version updates on rust foundation stupidity?
@appelnonsurtaxe
@appelnonsurtaxe Жыл бұрын
Dude if you're still talking about the trademark thing, move on. It was just a proposal with request for opinion, nothing concrete. Stop creating and fueling drama out of thin air, you're just being toxic and making the community look toxic. No hate against you, I just think that you're wasting efforts for no good reason.
@swikarsharma3118
@swikarsharma3118 Жыл бұрын
@@appelnonsurtaxe lol your effort was bigger than mine here lmao
@PanosPitsi
@PanosPitsi Жыл бұрын
@@appelnonsurtaxeyou didn’t say rust trademark you said the trademark fearing a lawsuit 💀
@PanosPitsi
@PanosPitsi Жыл бұрын
@@appelnonsurtaxeanyways rust is c++ but raider and with 0 use cases and Jobs.
@NathanStocks
@NathanStocks Жыл бұрын
I'm of the opinion the Rust Foundation and the Rust Project (which are separate organizations) are both generally made up decent humans attempting to do good things. I'm not particularly concerned that they are making missteps as they learn and grow, seeing as how they continue to self-improve the organizations. I'll call out any specific, relevant concerns I have as the topics come up (as I will in my RustConf video), but generally I don't find much to be concerned about.
@peculiar-coding-endeavours
@peculiar-coding-endeavours Жыл бұрын
Great summary of the new features. As a European, this "US style" of narrating stuff, the tone of it, is EXTREEEMELY annoying :-D
@NathanStocks
@NathanStocks Жыл бұрын
I’m glad you liked the summary!
@peculiar-coding-endeavours
@peculiar-coding-endeavours Жыл бұрын
@@NathanStocks Liking your rust courses on Udemy too btw. Good work.
@FakeMichau
@FakeMichau Жыл бұрын
I don't quite understand what you mean, as a European
@Anon.G
@Anon.G Жыл бұрын
​@@FakeMichau because it doesn't make sense
@NathanStocks
@NathanStocks Жыл бұрын
@@peculiar-coding-endeavours Thank you for your kind words!
@CGFUN829
@CGFUN829 Жыл бұрын
i thought you are talking about rust the game! the algorithm is wrong.
@peterradziewicz4685
@peterradziewicz4685 Жыл бұрын
Tis a sign for you to learn programming !
@CGFUN829
@CGFUN829 Жыл бұрын
@@peterradziewicz4685 believe it or not after this video i came a cross a github repo that uses rust thing cmd to be build. the algo was not wrong? the algo is scary!
@NathanStocks
@NathanStocks Жыл бұрын
That is an unfortunate naming collision. Rust (the language) will be used to create many, many games, though. 😄
@DMSBrian24
@DMSBrian24 Жыл бұрын
This video gave me impostor syndrome xD
@DMSBrian24
@DMSBrian24 Жыл бұрын
can someone point me in the right direction to learn about systems programming to be able to understand this magic talk?
@NathanStocks
@NathanStocks Жыл бұрын
@@DMSBrian24 Well, I teach online Rust courses, but without some context I'm not sure if you're ready to take them yet (they're targeted at professional software developers). Assuming you are an adult, I'd be happy to have a quick video chat with you some time and give you some free advice on books/courses/classes/schools depending on your experience level. Email me at nathan@agileperception.com if you're interested and we can set something up.
RustConf 2023 - What to expect, Rust sessions & Rust trainings
12:35
Nathan Stocks
Рет қаралды 1,8 М.
Rust 1.80.0: Top 10 Most Interesting Things & Blog Highlights
9:18
Nathan Stocks
Рет қаралды 11 М.
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 30 МЛН
Ничего не делаю всё видео 😴
00:33
Miracle
Рет қаралды 744 М.
Cute
00:16
Oyuncak Avı
Рет қаралды 12 МЛН
How I Built It: $40K/Month iPhone App
17:02
Starter Story
Рет қаралды 1,1 М.
Rust 1.78.0: Last Rust News Video...ever?
16:21
Nathan Stocks
Рет қаралды 9 М.
Rust 1.73.0: Everything Revealed in 16 Minutes
16:32
Nathan Stocks
Рет қаралды 7 М.
Operating System using Rust and aarch64 - The beginnings (1)
37:11
ArrynDoesTech
Рет қаралды 2,7 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 146 М.
Rust Releases! Rust 1.70.0
9:27
Nathan Stocks
Рет қаралды 7 М.
Rust 1.74.0: All 45 changes in 19 minutes!
19:49
Nathan Stocks
Рет қаралды 6 М.
Rust 1.72.0
15:27
Nathan Stocks
Рет қаралды 2,8 М.
What Makes Rust Different?
12:38
No Boilerplate
Рет қаралды 202 М.
Rust 1.79.0: Top 10 Most Interesting Things
7:29
Nathan Stocks
Рет қаралды 9 М.
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 30 МЛН