Тёмный

Rust 1.73.0: Everything Revealed in 16 Minutes 

Nathan Stocks
Подписаться 3,7 тыс.
Просмотров 7 тыс.
50% 1

Опубликовано:

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@pwnwriter
@pwnwriter 11 месяцев назад
Great video Nathan as always. Keep up 😃👍
@NathanStocks
@NathanStocks 11 месяцев назад
Thanks!
@dopeboy8164
@dopeboy8164 11 месяцев назад
async in traits when ;_;
@NathanStocks
@NathanStocks 11 месяцев назад
That's a great question. If I come across a definitive answer, I'll post a reply here. Or maybe someone else will beat me to it! 😄
@FinLogan
@FinLogan 11 месяцев назад
Rust blog from May says 1.74
@cysia3683
@cysia3683 11 месяцев назад
As I understand it if everything goes well it should land in Rust 1.75 (along with impl-trait-in-traits syntax) - this version comes out on 2023-12-28. Note that it will have some limitations for the time being, but it is good enough for people working in embedded environments or using tokio in executor-per-thread configuration which is not a default. People working with generic code (libraries) that should support both Send and non-Send features will hit this limitation more often. See more on the stabilization PR #115822
@yx4292
@yx4292 11 месяцев назад
@@FinLogan not happening, the stabilization PR is still not merged and nightly is already at 1.75
@FinLogan
@FinLogan 11 месяцев назад
@@yx4292 ah good to know thank you
@TheInspctrcat
@TheInspctrcat 11 месяцев назад
Best detailed review!
@NathanStocks
@NathanStocks 11 месяцев назад
Thank you so much! You might be inspiring me to do a review montage in the next video!🙀😆
@5aturnine
@5aturnine 11 месяцев назад
Why does the colored output for cargo mentioned at 11:15 not work for me both in Linux Ubuntu and Windows terminals (for which I also enabled colored output in said terminals)? Am I missing something? running cargo with '--color always' also doesn't do anything for me
@NazarMalyy
@NazarMalyy 11 месяцев назад
I've tried on MacOS Sonoma (iTerm2, Terminal, and Alacrity) - the same 💩. Not work for me either.
@NathanStocks
@NathanStocks 11 месяцев назад
Well, I guess that's on me. I think I got the color portion of the reporting wrong. The PR for the big help output overhaul was listed in the 1.73, and neither the release notes for 1.73 or 1.74 explicitly mentioned color. I put this all together before 1.73 was released, so I was using the Beta version of Rust, which I thought would become 1.73. Apparently, at the time I was using the beta, it was what was going to become 1.74. So between my testing of a version of cargo too far ahead and the release notes not explicitly saying when the color portion was introduced, I messed up. Sorry about that, folks! If you want to check it out right now, you can do: rustup install beta cargo +beta help cargo +beta run --help
@JohnPywtorak
@JohnPywtorak 10 месяцев назад
fwiw there is no color output for cargo help, does not work, yet. I think it is comming
@NathanStocks
@NathanStocks 10 месяцев назад
Yep, I got mixed up on that one. See my reply to @5aturnine for more details.
@meka4996
@meka4996 11 месяцев назад
Thanks!
@NathanStocks
@NathanStocks 11 месяцев назад
No problem!
@CyborusYT
@CyborusYT 11 месяцев назад
this update had my 2-year-old pr in it!
@NathanStocks
@NathanStocks 11 месяцев назад
Nice! Which one?
@CyborusYT
@CyborusYT 11 месяцев назад
@@NathanStocks Adding support for allocators in Rc and Arc
@dakunskye
@dakunskye 11 месяцев назад
I don't feel that we needed to spend time building warnings for `////`...
@mikkelens
@mikkelens 11 месяцев назад
why not? if it helps make code better, is opt-in, and is something that someone wanted to build…
@NathanStocks
@NathanStocks 11 месяцев назад
I think it’s actually kind of cool that someone cared enough to contribute that. When so much of a project is driven by volunteer contributions, you get all sorts of cool stuff. Remember that the alternative in projects without full-time paid employees behind it is typically just *less* contributions, not different contributions. It would be cool if I could indicate on the videos which features were pure open source vs paid for but free choice vs paid for and wanted by a company. I’ll keep my eyes open for a way to do that, but so far my understanding is that the vast majority of contributions are due to someone simply volunteering to work on something they were interested in, even when a company happens to be paying them for their time.
@appelnonsurtaxe
@appelnonsurtaxe 11 месяцев назад
It's a nice feature to have. It improves code quality. The person who contributed it might not have the required skills to work on the compiler at all, it's not like time is being "wasted".
@mks-h
@mks-h 11 месяцев назад
We? I don't remember neither you nor myself spending any time on it.
@dakunskye
@dakunskye 11 месяцев назад
I figured the time would have been better spent fixing things like iter vs into_iter vs iter_mut(or that any of these are needed). Or that we have a borrow checker and type inferencing, but we choose not to have inferences typed parameters, return types or mut/ref variables. At what point did the language stop doing extra things for us? It makes it difficult to see a clear intent for the languages future...
@bitflogger
@bitflogger 11 месяцев назад
Sorry, accidentally hit the dislike button.
@NathanStocks
@NathanStocks 11 месяцев назад
Good for you for owning up to your own actions. 😆 Stick around and like and subscribe, okay? 😄
@aftalavera
@aftalavera 11 месяцев назад
Who needs Rust?
@pwnwriter
@pwnwriter 11 месяцев назад
Who doesn't?
@NathanStocks
@NathanStocks 11 месяцев назад
@@pwnwriter Nice answer! 😆
@NathanStocks
@NathanStocks 11 месяцев назад
This is actually an honest question I get from a lot of people new to Rust. I answer it _extensively_ in my Ultimate Rust Crash Course: agileperception.com/ultimate_rust_crash_course The short answer is: Anyone who needs high performance, high efficiency (think low battery usage in mobile or embedded), high safety (think space shuttle), a good experience interoperating with C, a good experience collaborating with others on a large codebase, or a high quality of life while coding.
Далее
Rust 1.74.0: All 45 changes in 19 minutes!
19:49
Просмотров 6 тыс.
Rust 1.77.0: 70 highlights in 30 minutes
30:46
Просмотров 9 тыс.
ДЖЕФ  ЕЩЕ ПОМОГАЕТ!
09:37
Просмотров 480 тыс.
Ванесса 🆚 Крискас  | WICSUR #shorts
00:42
I spent six months rewriting everything in Rust
15:11
Просмотров 427 тыс.
Use Arc Instead of Vec
15:21
Просмотров 145 тыс.
Rust 1.75.0: 54 highlights in 20 minutes
20:00
Просмотров 16 тыс.
Rust 1.78.0: Last Rust News Video...ever?
16:21
Просмотров 9 тыс.
Rust Powered Polymorphism ⚡️ With Traits
9:55
Просмотров 98 тыс.
Rust for TypeScript devs : Borrow Checker
8:49
Просмотров 222 тыс.
Rust 1.76.0: 73 highlights in 24 minutes
23:41
Просмотров 11 тыс.
Let's make an htop-like in your browser (with Rust)
51:25
The ultimate Rust IDE is here
6:53
Просмотров 132 тыс.