Rust Releases! Rust 1.71.0

preview_player
Показать описание
Rust 1.71.0 was released! Check out the new stuff!

Links:

0:00 Live Intro
0:08 Contributors
0:12 GitHub Merge Queue
0:26 1. C-unwind ABI stabilized
1:15 2. Debugger Visualization Attributes
2:06 3. Windows raw-dylib linking
2:57 4. Upgrade to musl 1.2.3
3:19 5. --print deployment-target
3:47 6. Four clippy lints uplifted into Rust
4:20 7. Const-initialized thread locals
4:46 8. Literal format strings are flattened
5:31 10. cargo new and cargo init inherit workspace fields
5:55 11. Cargo team charter
6:17 12. Stabilized APIs
8:17 13. Const Stabilized APIs
8:35 14. ~strikethrough~
8:46 15. Seven new clippy lints
8:50 Lint 1: manual_next_back
8:59 Lint 2: ref_patterns
9:11 Lint 3: default_constructed_unit_structs
9:30 Lint 4: manual_while_let_some
9:45 Lint 5: needless_bool_assign
9:57 Lint 6: items_after_test_module
10:14 Lint 7: non_minimal_cfg
10:29 What to Expect at RustConf 2023 video coming up next!
10:44 Outro
Рекомендации по теме
Комментарии
Автор

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.

Dygear
Автор

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.

appelnonsurtaxe
Автор

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’

jimhrelb
Автор

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
Автор

Some feedback, when using Youtube'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.

holly_hacker
Автор

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.

porky
Автор

Do you guys know similar channel but with javascript/react new things and documentation being read and implemented

mitepainera
Автор

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

alfiedotwtf
Автор

Call me when Rust is actually stable enough to recompile its own standard library with LTO without an unstable compiler.

Kuratius
Автор

i think i understood like 10% of this haha

irlshrek
Автор

Great summary of the new features. As a European, this "US style" of narrating stuff, the tone of it, is EXTREEEMELY annoying :-D

peculiar-coding-endeavours
Автор

i thought you are talking about rust the game! the algorithm is wrong.

CGFUN
Автор

This video gave me impostor syndrome xD

DMSBrian
Автор

any version updates on rust foundation stupidity?

swikarsharma