Тёмный

How Rust rose to dominance (by accident) 

Let's Get Rusty
Подписаться 118 тыс.
Просмотров 33 тыс.
50% 1

In this video, we'll learn about Rust's fascinating origin story and its rocky history going from an obscure side project to the most loved programming language in the world.
Free Rust cheat sheet: letsgetrusty.com/cheatsheet
Chapters
0:00 Intro
0:39 Background
1:18 Humble beginnings
2:09 Graydon Era
3:05 Emerging Leaders & Directions
5:27 New birth
6:32 Most loved programming language
8:25 The aftermath to present

Наука

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

 

16 июн 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 222   
@letsgetrusty
@letsgetrusty 25 дней назад
Get your *FREE Rust cheat sheet* : letsgetrusty.com/cheatsheet
@lmnk
@lmnk 23 дня назад
mf already lives in 2025, all thanks to Rust
@Code_Cabin
@Code_Cabin 25 дней назад
I started writing my first Rust program back in 2018 but unfortunately could not be resilient. In 2024 now after finishing my first fully functional (although not performant) simple Linear Regression library, I proudly can call myself a Rustacean.
@letsgetrusty
@letsgetrusty 25 дней назад
Keep going!
@ErikBongers
@ErikBongers 25 дней назад
I know this video is a broad overview, but I'd love to know how the borrow checker came to life. Was it based on academic papers, prior attempts, or a brand new idea...
@Code_Cabin
@Code_Cabin 25 дней назад
It's a brand new idea. However, I would also like to know the story behind.
@velikanskaglava2087
@velikanskaglava2087 24 дня назад
what dominance? how many jobs are offered for rust developers?
@RenderingUser
@RenderingUser 23 дня назад
theres a new job post like every 2 to 3 days not as much as other programming fields like webdev. but still plenty.
@kevinmcfarlane2752
@kevinmcfarlane2752 21 день назад
Yeah that's clickbait. It would be more accurate to say established rather than dominant.
@hebozhe
@hebozhe 21 день назад
It was a bait and switch. Rustacean YTers always change from "dominant" to "most loved in one or two StackOverflow surveys".
@Rudxain
@Rudxain 25 дней назад
I don't really care about the AI stock footage. But I somewhat agree that it shouldn't be used excessively
@letsgetrusty
@letsgetrusty 25 дней назад
I did go a little overboard there lol
@sp3ctum
@sp3ctum 25 дней назад
@@letsgetrusty Idk I liked it :)
@Rudxain
@Rudxain 24 дня назад
@@letsgetrusty BTW, I didn't intend to say you did! I meant a "general rule of thumb" that applies to everyone
@flpflpflp
@flpflpflp 21 день назад
really cool vid, thanks for taking the time to record it
@rebelScience
@rebelScience 25 дней назад
Amazing video! Thank you.
@ruudlol12345
@ruudlol12345 25 дней назад
Thanks for the interesting and informative video! I can't seem to get enough of Rust! 🦀
@RobertKing
@RobertKing 25 дней назад
Interesting to hear some history thanks !
@ahnedz4311
@ahnedz4311 23 дня назад
waow I love being fed AI slop
@AmirHosseinHonardust
@AmirHosseinHonardust 25 дней назад
Thanks for content. Small criticism, the ai generated pictures are creepy qnd unnecessary.
@arcstur
@arcstur 25 дней назад
Awesome video, I always wanted to learn about Rust history!! Also, could you share some resources so we can learn more? Maybe some sources you used to make the video. Thanks!
@topin8997
@topin8997 25 дней назад
So, by laying off their developers, Mozilla actually speed up Rust adoption in big tech?
@yewo.m
@yewo.m 23 дня назад
Not trying to be a grammar Nazi here, but writing "lying off" instead of "laying off" got me really confused. When I initially read it, it seemed like you were talking about Mozilla not telling the truth about something, and that got me thinking for a while, trying to figure out what you were referring to
@topin8997
@topin8997 23 дня назад
@@yewo.m Thanks, fixed. I'm neither native speaker nor writer, so I'm heavily relying on grammar correction. Sometimes it backfires 😅 So any correction is appreciated
@ok-tr1nw
@ok-tr1nw 21 день назад
​@@topin8997 looks like youtube reverted your edit
@topin8997
@topin8997 21 день назад
@@ok-tr1nw Or there was some weird network glitch. Anyway, checked now in incognito tab, spelling is correct
@sharanchakradhar
@sharanchakradhar 23 дня назад
Yet, Many companies ask for 5+ years of exp.. First of all, the jobs are very less and companies adoption is minimal for some reason. Been trying to find a job in rust with 0 years exp is very hard especially in Australia.
@kevinmcfarlane2752
@kevinmcfarlane2752 21 день назад
And for almost all advertised jobs, Rust by itself is not sufficient. You usually need domain and other tech experience to go with it.
@typicalhog
@typicalhog 25 дней назад
Very good video!
@letsgetrusty
@letsgetrusty 25 дней назад
Thank you!
@khai96x
@khai96x 20 дней назад
Honestly, I don't think Rust could have grown as big as it is now if it have stayed true to its original vision that is a garbage collected high-level programming language. The main value proposition of Rust that attracts all kinds of developer is its ability to provide high-level programming features, memory safety, and low-level performance at the same time. You don't ever see people rewrite their C++ program in Go, but the option is tempting in Rust.
@lukeskywalker2116
@lukeskywalker2116 18 дней назад
It’s only memory safe if you don’t have to interact with external libraries or code and the compiler has zero bugs. When was the last time you wrote code with no external references of any kind and no dependency on libraries? We were solving these issues in the 80’s with Ada, but its marketing wasn’t sexy enough. However,it’s a significant improvement over C++.
@NuflynMagister
@NuflynMagister 25 дней назад
Дякую, Богдане!
@chx75
@chx75 19 дней назад
💪💛💙
@aldrickdev
@aldrickdev 24 дня назад
couple years ago I worked on writing elevator firmware, were were still using C/C++, wonder if the company has adopted Rust...
@techinsider3611
@techinsider3611 21 день назад
Did it fix that elevator?
@jjpp1993
@jjpp1993 4 дня назад
It fixed the world
@elirane85
@elirane85 24 дня назад
Rust, it's hard to get it right, but it's even harder to get it wrong :)
@gustavodelgadillo7758
@gustavodelgadillo7758 23 дня назад
Very good video the content is great, the AI footage is good I liked it
@HeatherAminian
@HeatherAminian 21 день назад
I have never run into elevator problem in my entire life.
@electrolyteorb
@electrolyteorb 25 дней назад
Is that moustache i see?
@abacaabaca8131
@abacaabaca8131 22 дня назад
I always love rust when it says it can stop memory leak from the very beginning. I learn most of of programming learning from RU-vid and having heard that from an experience programmer saying "This program may have a memory leak". So, I become afraid of C++ and start learning rust. Although it is not perfect, I begin to start loving rust. Lately, I re-visited my rust project again, and to my surprise, when compiling as release mode rather than debug the binary size is shrinked down by up to 99%. In my case the debug binary size is 800,000 kb which I don't like. For release binary, only 8,000kb.
@FlorianZier
@FlorianZier 22 дня назад
Put this in your Cargo.toml to optimize for speed and still remove as much as possible: (opt-level: "z" to optimize for size) ``` [profile.release] #debug = true strip = "debuginfo" codegen-units = 1 opt-level = 3 lto = "fat" panic = "abort" ``` Take this as starting point, but also check the documentation to see what these settings stand for.
@senzmaki4890
@senzmaki4890 21 день назад
can you send the name of the owner/repo cause youtube doesn't allow links that lead users outside youtube I'd like to tinker with your project a bit
@abacaabaca8131
@abacaabaca8131 21 день назад
@@senzmaki4890 the C++ project or rust? For the rust project, it is on my laptop. The project is about creating web server using Axum framework in rust. Do I need to share the code in github? What configuration should I put in the cargo.toml file ?
@not_herobrine3752
@not_herobrine3752 24 дня назад
It has its place in making writing mission critical software easier, but the hype train does have a tendency to push the language into suboptimal environments and then claim it's the best tool for said job, when clearly less painful tools exist for the job As an example, writing gameplay in Rust is tedious compared to C/C#/C++ because video games involve modifying and iterating over lots of mutable state, and modelling this in Rust is much less ergonomic than other languages that will let you mutate state like clay
@pup4301
@pup4301 22 дня назад
I can do all polymorophic and inhertiance based patterns that c# and c++ has in rust. You just have to program it yourself.
@logicaestrex2278
@logicaestrex2278 10 дней назад
yep, or they gaslight you into thinking rust is "just as easy" or "can do the same things the same way, just better" and then if you naturally struggle with the obnoxious language, then you have a skill issue and are afraid of change lol
@logicaestrex2278
@logicaestrex2278 10 дней назад
@@pup4301 speak of the devil, here comes a gaslighter now
@not_herobrine3752
@not_herobrine3752 10 дней назад
​@@pup4301 This isn't relevant for me, I don't use polymorphism or inheritance to model game state, but rather use a custom data oriented approach in a language (C) which makes it less tedious to do so.
@pup4301
@pup4301 7 дней назад
@@not_herobrine3752 It took me three months to get the language down and a few more to make anything productive. It took so little time because of the rust book that is freely available . Now it is the same for c and c++ but there library system and the way of using files is the issue for me. I am always looking for easy of use and less configuration over head/complexity. Rust reminds me of c++, c# or java but with a simple configuration system. It does not require you to configure a pointer like in c , setup your files, compile them to classes then use them in another file like java, or download an external system to add libraries and compile your code nor does it require you to learn a whole other programming language like with cmake (does not include meson , ninja, make). Most of the stuff listed comes with the package with rust.
@HalfMonty11
@HalfMonty11 25 дней назад
I personally would rather look at your face or even a black screen than fake B roll unsettling AI gen video. Please, don't. I watch your channel for your thoughts and opinions. If you start to leaning into generative AI, us as the audience cannot know to what extent it is being used (such as possibly for your script) which is going to make me think, you don't have anything good or original to say that hasn't already been said. Because as we all know, generative AI does not actually create new things, it just rehashes and regurgitates training data. Maybe I'm in the minority here, but feedback is feedback and I only give it when I actually care about a channel.
@David_Box
@David_Box 25 дней назад
Concerns about training data or how it looks make sense, but it can definitely generate more than its training data (stuff that even if is very average, is still completely new), what do you mean
@pauliesnug
@pauliesnug 25 дней назад
@@David_Box It's unethical because it steals from artists without consent
@sutsuj6437
@sutsuj6437 25 дней назад
How did you get the AI stock footage animated so well?
@ca_pilot
@ca_pilot 9 дней назад
Rust rose to dominance in rewrites of shell utilities. When it comes to large systems, it's a mere whimper.
@breadnt
@breadnt 25 дней назад
I'd honestly much prefer still images over (bad) AI generated clips if real stock footage is too expensive. Those clips are rather off-putting
@letsgetrusty
@letsgetrusty 25 дней назад
Thanks for the feedback!
@pauliesnug
@pauliesnug 25 дней назад
@@letsgetrusty love how you just didnt respond! have fun stealing artist's hard work with generative ai i guess
@arson5304
@arson5304 25 дней назад
@@pauliesnug ????? what else did you want him to say LOL
@Tiritto_
@Tiritto_ 25 дней назад
@@pauliesnug You can steal stock images as well. What makes you assume that this AI model was using any unlicensed content?
@pauliesnug
@pauliesnug 25 дней назад
@@Tiritto_ almost all AI generative models use unlicensed content
@cbbcbb6803
@cbbcbb6803 23 дня назад
Does Mozilla use rust? Maybe to rework Firefox?
@hobis0b
@hobis0b 12 дней назад
But these days, I'm thinking about Rust's shortcomings. It's good that it's different from the existing C++ and that it's different. It is also good to use abbreviations such as fn, mut, vec, and Rc. However, if you decide to break away from the grammar of the C-based language, Reference operators (&) and pointer operators (*) are also used as new symbols or keywords. I think it would have been good if they had changed it. Personally, I think the easiest language to code in is Ruby rather than Python. Ruby does not make keyboard typing difficult by pressing the shift key. Since using a lot of symbols does not contribute to readability these days, it is regrettable that it would have been better if a newer approach had been taken in a system language that is about to change significantly.
@logicaestrex2278
@logicaestrex2278 10 дней назад
i personally hate the abbreviations in rust but i agree on your other points. not a big fan of rust, and one of the reasons why is because the same symbols mean different things, and i really didnt like the lack of freedom and (imo) ugly syntax. im curious though, what are some examples of a more ruby like syntax in rust? that sounds nice
@paulmichalik8187
@paulmichalik8187 22 дня назад
What do you mean by "dominance"?
@-marci
@-marci 25 дней назад
Great to see rust getting popular
@severgun
@severgun 25 дней назад
It is not. Hype is over.
@idkwhatcouldbeavalable
@idkwhatcouldbeavalable 25 дней назад
​@@severgun It is not just hype, Rust just fixes an existing problem in low level languages, that being the compiler not warning you that you've not used the RAII pattern correctly in one place.
@danwellington3571
@danwellington3571 25 дней назад
@@severgunGo get THERAC-25'd
@hcolider2817
@hcolider2817 25 дней назад
@@idkwhatcouldbeavalable It is entirely hype. Ever since the corporation associated with Rust made it clear they had interest in going the way of oracle with last year's litigious trade mark fiasco, I'd be surprised if any company that takes programming seriously would want to use the language and risk time and legal expenses, even if the ordeal theoretically held no ground. Even though they backtracked then, they've set the trend and odds are realistic that they will try it again elsewhere. If Rust plans on making actual lasting headway, they need to dump the corporations and the activists. Something tells me that short of a fork, neither will happen.
@danwellington3571
@danwellington3571 25 дней назад
@@hcolider2817Finally someone brings up an actual issue
@Milky____
@Milky____ 23 дня назад
You look so good in this video, I'm wondering if its AI LOL!
@letsgetrusty
@letsgetrusty 23 дня назад
Thanks! Just me and my natural beauty ;)
@kasvith
@kasvith 20 дней назад
Funny part is they developed Rust to make Firefox better, but it crashes more than Chrome everytime
@noisetide
@noisetide 25 дней назад
Завжди захоплений таким прогрессом на цьому каналі з самого початку так само як і Rust став найулюбленішим
@pup4301
@pup4301 22 дня назад
Loved the AI.
@imranroll1729
@imranroll1729 17 дней назад
love u
@mintx1720
@mintx1720 21 день назад
I'd write my elevator in javascript.
@Dogo.R
@Dogo.R 21 день назад
Im mostly waiting for the data and studies that type systems increase bug reduction per hour spent. As far as I know the little studies ive stumbled into show no difference. Nevermind this "better everywhere" mindset.
@julyort6762
@julyort6762 25 дней назад
I suspect you are using AI also on your face and shoulders
@letsgetrusty
@letsgetrusty 25 дней назад
New insecurity unlocked
@julyort6762
@julyort6762 24 дня назад
@@letsgetrusty ahah that's just my feeling, anyway fun and interesting story💪
@ExylonBotOfficial
@ExylonBotOfficial 24 дня назад
I also thought the face movements were AI lol
@traveldiary1455
@traveldiary1455 18 дней назад
No one gets job , if you looks online search no one hiring rust developer
@valcubeto
@valcubeto 25 дней назад
I've never come so fast. Wait...
@electrolyteorb
@electrolyteorb 25 дней назад
Uh oh
@valcubeto
@valcubeto 25 дней назад
I've never clicked so fast
@F_Around_and_find_out
@F_Around_and_find_out 23 дня назад
There are many things I love about Rust: The way I can add crates/dependancies, ownership, borrowing, the scope that keeps and drops codes to ensure safety (expiration date literally). I'm taking a break away from Rust to learn C because I believe taking a leap from Python to Rust is a big leap, there are bound to be unknowns that I just skip away and therefore I might never fully understand Rust. Will definitely return to Rust one day.
@kakashi_69_xd
@kakashi_69_xd 25 дней назад
I started from java and moved to javascript,typescript to rust and now I've been coding in C for a while..xd
@oshriperetz2538
@oshriperetz2538 25 дней назад
Please don't use AI generated content. The models are trained with data taken with no consent of the creator or owner, just use stock photos, I'd rather it be photos than AI video.
@DrewWalton
@DrewWalton 25 дней назад
How do you know what model was used?
@Tiritto_
@Tiritto_ 25 дней назад
Stock photos can be just as much stolen without the consent of their creators, as materials used in AI training. We don't know which model was used, so it's unfair to assume it used unlicensed content.
@oshriperetz2538
@oshriperetz2538 24 дня назад
@@Tiritto_ it's actually very fair to assume, see, in a competitive environment, in order to develop a model just up to par with the rest of the competition, you need to apply their practices as well. Competition gets data from slack's non consenting users? Better find another social media to get data from, how about reddit? This isn't a conspiracy, just business interests, whoever tries to be moral is filtered out as their product isn't as useful as other more trained models are, which is also fair to assume as having cheaper data means you get more data per dollar. And about stock footage being stolen, sure, he can just use some other boring visuals, the actual content and bogdan's opinions are what I'm here for, not fancy shmancy footage. Rant over lol
@brockdaniel8845
@brockdaniel8845 25 дней назад
Just use modern C++98
@danwellington3571
@danwellington3571 25 дней назад
Nah C++71 is much better. None of the new fangled crap
@sherllymentalism4756
@sherllymentalism4756 25 дней назад
Why would you?
@StellaEFZ
@StellaEFZ 25 дней назад
Just write assembly
@midnightfuture
@midnightfuture 24 дня назад
A 25-year old spec revision? Anything older than C++17 is too unergonomic.
@not_herobrine3752
@not_herobrine3752 24 дня назад
do you mean orthodox c++, a standard from at least last decade or straight up bait? we may never know
@deftudev
@deftudev 25 дней назад
AI stock footage bad.
@pauliesnug
@pauliesnug 25 дней назад
real
@romainmidon2730
@romainmidon2730 24 дня назад
Am I the only one who thought this guy was an AI generated video ? Because he barely moves and all?
@dxfate
@dxfate 25 дней назад
I still don't understand how can a language's compiler be written in it self
@PacificBird
@PacificBird 25 дней назад
You write the next version with the old version.
@pmmeurcatpics
@pmmeurcatpics 25 дней назад
I wondered the same. Then I saw that Wikipedia has an article called "Bootstrapping (Compilers)" or something like that, which explains the context quite nicely. I'd also recommend the general "Bootstrapping" article, since the pattern is not exclusive to compilers
@boccobadz
@boccobadz 24 дня назад
I'm sorry but programming elevators is really easy. Bad take, like Rust in embedded lol
@mustafaRoya
@mustafaRoya 24 дня назад
Ai images looks creepy lol
@davidbroadhurst8107
@davidbroadhurst8107 25 дней назад
Prove the title is not just click bait. Where is Rust dominating? e.g. C++ / C# dominate game development
@mrpocock
@mrpocock 25 дней назад
It dominates in both the python and js ecosystems now. Microsoft is migrating to Rust. I don't know, I'm sure there are things where it isn't yet dominant, but that's becoming a shorter list month on month.
@danwellington3571
@danwellington3571 25 дней назад
I don't see C++ in the Linux kernel
@zakgrivell5732
@zakgrivell5732 25 дней назад
Stackoverflow developer surveys
@arson5304
@arson5304 25 дней назад
rust dominates high performance web services, you can see companies like discord and cloudflare shipping new stuff in rust pretty regularly
@davidbroadhurst8107
@davidbroadhurst8107 25 дней назад
@@arson5304 If this was an area I wanted to learn and find employment I'd be looking into golang
@dedebenui
@dedebenui 24 дня назад
I really don't like the AI image stuff
13 дней назад
Guy literally created a language because of skill issues
@TheMwei
@TheMwei 24 дня назад
RU-vid sucks, you worked too hard to sell courses
@dungeonrobot
@dungeonrobot 24 дня назад
Is the video of your face AI generated? You’re constantly on the same pose and you generally have the same facial expression. There’s also a fake pan and zoom on the footage that looks weird. Plus your hand only appears in the same spot every time. The lighting changes are the only things that make me doubt it. I think all the comments about the AI stock footage is just making me over analyze
@letsgetrusty
@letsgetrusty 24 дня назад
Hate to kill your suspense here lol. It’s my real face, not AI…yet ;)
@dungeonrobot
@dungeonrobot 24 дня назад
@@letsgetrusty that makes total sense. I think I’m just a bit too tired
@TeaEffTeu
@TeaEffTeu 25 дней назад
Not a fan of the AI clips.
@voxeldoesart
@voxeldoesart 20 дней назад
Why should you care about AI taking programming jobs when this video is littered with AI generated photos?
@wuketuke6601
@wuketuke6601 25 дней назад
Using ai generated stock footage is so silly, just use real stock footage
@irlshrek
@irlshrek 25 дней назад
who gives a shit..?
@wuketuke6601
@wuketuke6601 25 дней назад
​@@irlshrek braindead response
@RobertLugg
@RobertLugg 25 дней назад
@@irlshrekwhat ai tools are used to generate stock footage?
@danwellington3571
@danwellington3571 25 дней назад
@@irlshrekPeople who care about consent
@toflow1177
@toflow1177 25 дней назад
​@danwellington3571 Why do you assume AI generated imagery can only be created without consent from the owners of what it's trained on?
@itsmenewbie03
@itsmenewbie03 25 дней назад
🦀🦀🦀🦀🦀
@purnya2
@purnya2 24 дня назад
I'm sorry but the use of AI footage is vomit inducing, good work on the writing, but it's really a bad sight to behold
@purnya2
@purnya2 24 дня назад
...should I compliment you on the writing? I wonder if AI was used there as well, which is fine, but in that case my compliment wouldn't really matter
@Rubikorigami
@Rubikorigami 25 дней назад
Please don't do AI generated B-roll.. it looks bad and is completely unethical. Show us your face ! Use actual stock footage ! That stuff had nothing wrong with it to begin with !
@developerdeveloper67
@developerdeveloper67 25 дней назад
Except... it did not and never will.
@danwellington3571
@danwellington3571 25 дней назад
Cope and seethe
@arson5304
@arson5304 25 дней назад
why not, giant companies are already switching over: google, microsoft, amazon, cloudflare, discord. if you browse their blogs, you can see that they're releasing things in rust pretty regularly
@lordofthecucks6553
@lordofthecucks6553 25 дней назад
@@danwellington3571 The only seething and coping that I ever see are the corporate fanboy shills who arbitrarily and incessantly go off about how much better rust is than every other language. This kind of behavior doesn't win any victories.
@niggacockball7995
@niggacockball7995 23 дня назад
@@danwellington3571 dilate rustranny
@niggacockball7995
@niggacockball7995 5 дней назад
@@danwellington3571 dilate
@luxluth
@luxluth 24 дня назад
ai generated videos make me feel sick. I can't watch the video
@stephm0
@stephm0 23 дня назад
Did you AI generate the script for this video? Why should anyone watch this?
@sunofabeach9424
@sunofabeach9424 25 дней назад
While I haven't no problem with AI ethics, this one is bad. Fix it and keep it, the faster people get used to it the better
@chx75
@chx75 19 дней назад
This language is horrible. I feel sorry for those who have to work daily with it. Language is a tool and must make the work easier. Fortunately we now have LLMs to do the hard work. Only good thing about rust is the error messages, but other languages should do similar to rust in near future.
@chx75
@chx75 19 дней назад
Well. It is better than C++ of couse.
@crimsonmegumin
@crimsonmegumin 13 дней назад
why is it horrible? at least for me, it makes the work easier for me :D
@chx75
@chx75 13 дней назад
@@crimsonmegumin it takes a while to reach this level
@kishanbsh
@kishanbsh 25 дней назад
Still don't like rust
@flogginga_dead_horse4022
@flogginga_dead_horse4022 25 дней назад
why even stop by then?
@biomorphic
@biomorphic 25 дней назад
Rust is not going anywhere. It is not good for gaming development, where C++ is king, and it will continue to be. It is not good for distributed system, where BEAM (Erlang and Elixir) is a much better choice. As for kernel development, yeah, maybe, but Zig has a better support for C, and so it is probably more suitable to develop drivers or kernel modules in general. I am not saying that Rust is bad, but I don't see Rust "dominate" anywhere. It has its own limitations, and it is not much better than modern C++. The borrow checker is cool, but it also forces you to write a program in the way the compiler wants, not in the way you would like, right or wrong your way it is.
@arson5304
@arson5304 25 дней назад
why is it not good for game development lol, take a look at the bevy project and the whole ecosystem behind it. both cloudflare and discord beg to differ on distributed systems, they have many blog posts about load balancers and services with so many pros with the only sacrifice being time. your third point is only held together by the fact that all current kernels are written in c; inevitably technology will advance and c will become obsolete in this space. i'll die on the hill of rust being better than modern c++ any day; it comes with all of the abstraction capabilities and more, without the decades of baggage from terrible and redundant design decisions (std::expected & exception handling, c++20 concepts & template metaprogramming, operator overloading, 5 different constructor types, inconsistent behavior among the different compilers, i could go on and on) rust understands that sometimes you need to bend the compiler to your will given its conservative nature, which is what unsafe rust is for. you tell the compiler that you know what you're doing and it will let you do things like dereference raw pointers, mutate static variables, and all that mess.
@sunofabeach9424
@sunofabeach9424 24 дня назад
@@arson5304 3 seconds to compile a flappy bird sized game is a death sentence for gamedev
@dirlrido2522
@dirlrido2522 23 дня назад
It's suitable for kernel and driver programming because of the memory safety hence why we're seeing more and more drivers being written in Rust + Rust in both Linux and NT. It's also becoming huge in high performance web services. The borrow checker also doesn't force you to write a certain way, it just forces you to write code that isn't dangerous. There is a world of difference there.
@FlorianZier
@FlorianZier 22 дня назад
It also has it's strengths in drivers, embedded and many safety related projects. And don't forget WASM, sometimes it's way easier to build something for Win/Linux/Mac/Web at the same time, because of wasm-bindgen and cargo. If someone can see the references as "exclusive mutable borrows" (one at a time) and "shared immutable borrows" it becomes so much easier to deal with the language rules. The trick is not to fight the borrow checker and make use of traits and available features. Dealing with lifetimes can be the hard part though, so it's better to avoid it unless absolutely needed. But that's more a problem of some libraries and if you really need absolute speed, otherwise not worth most of the time as long as you can avoid it.
@HonsHon
@HonsHon 18 дней назад
​@sunofabeach9424 3 seconds for compilation time is bad? That is pretty good actually.
@FerroMeow
@FerroMeow 25 дней назад
you used damn AI for this video... Shame on you. Shame on you... No to AI
@Tiritto_
@Tiritto_ 25 дней назад
For me, it's even more of a reason to support him.
@eclipse6859
@eclipse6859 22 дня назад
Please just use stock videos and images. The AI looks like shit
@geertdepuydt2683
@geertdepuydt2683 25 дней назад
Rust will be abandoned within 10 years. The language makes no sense for 99.9% of cases. And the problem it solves, it does in the most contrived way possible. 😂
@awdsqe123
@awdsqe123 25 дней назад
Well, let's see in 10 years then. I'm sure you'll just quietly sit by and watch it sink and let people have their fun, right? You're not just a troll, right?
@danwellington3571
@danwellington3571 25 дней назад
Linus seems to like it
@Gogglesofkrome
@Gogglesofkrome 25 дней назад
@@danwellington3571 I think the language was barred from the linux repository due to the whole issue with them threatening legal action to anyone who doesn't follow their trite trademark standards, but I don't know if the kernal maintainers followed through with that or not. I hear that there are constant problems with the CoC and terms being written by the power tripping managers running the ship over in Rust, so odds aren't in their favor that people will give preference for Rust in the future with that particularly in mind
@geertdepuydt2683
@geertdepuydt2683 25 дней назад
@@danwellington3571 for non-low level stuff the combination with memory-safety is important it is a match. But the borrow checker will get superseded within 10 years because it's an unnecessary clunky solution. That's a fact.
@arson5304
@arson5304 25 дней назад
why doesn't it make sense for 99% of cases? what do you have to back this up
@RoyaltyInTraining.
@RoyaltyInTraining. 22 дня назад
Two minutes into the video and i'm already disgusted by those awful AI clips. Seriously, just get some stock footage instead.
@pacifi5t
@pacifi5t 22 дня назад
AI generated images are... 🤮
@gustavojoaquin_arch
@gustavojoaquin_arch 25 дней назад
Based 🗿
Далее
All Rust string types explained
22:13
Просмотров 148 тыс.
8 deadly mistakes beginner Rust developers make
14:14
Просмотров 156 тыс.
ДЖОНИ КИНУЛ ОСКАРА НА БАБКИ 🤑
01:00
🤢 To try piggy toothpick beauty gadget
00:30
Просмотров 9 млн
Interview with Senior Rust Developer in 2023
9:46
Просмотров 637 тыс.
How to fight Rust's borrow checker... and win.
8:29
Просмотров 37 тыс.
All Rust features explained
21:30
Просмотров 283 тыс.
Intro to async/.await in Rust
13:57
Просмотров 82 тыс.
The Rust Survival Guide
12:34
Просмотров 128 тыс.
Rust makes cents
13:24
Просмотров 112 тыс.
Why JavaScript Devs are Switching to Rust in 2024
10:35
Rust keeps making JavaScript faster
5:16
Просмотров 91 тыс.
Bardak ile Projektör Nasıl Yapılır?
0:19
Просмотров 6 млн