Get your *FREE Rust cheat sheet* : letsgetrusty.com/cheatsheet
@lmnk7 ай бұрын
mf already lives in 2025, all thanks to Rust
@ErikBongers7 ай бұрын
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...
@khai96x6 ай бұрын
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.
@flpflpflp7 ай бұрын
really cool vid, thanks for taking the time to record it
@HalfMonty117 ай бұрын
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_Box7 ай бұрын
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
@qtpaulie7 ай бұрын
@@David_Box It's unethical because it steals from artists without consent
@pluto84042 ай бұрын
@@qtpaulie every human is influenced by the past as well. It took humans a while to learn how to draw perspective, and we all learned from those original artists. So yes, everyone is stealing.
@qtpaulieАй бұрын
@@pluto8404 completely different concept but go off
@valbrrie13 күн бұрын
agreed
@velikanskaglava20877 ай бұрын
what dominance? how many jobs are offered for rust developers?
@RenderingUser7 ай бұрын
theres a new job post like every 2 to 3 days not as much as other programming fields like webdev. but still plenty.
@kevinmcfarlane27527 ай бұрын
Yeah that's clickbait. It would be more accurate to say established rather than dominant.
@hebozhe7 ай бұрын
It was a bait and switch. Rustacean YTers always change from "dominant" to "most loved in one or two StackOverflow surveys".
@Takatou__Yogiri5 ай бұрын
not dominent. but we know lots of new gen tech companies started using rust for making compiler. the next.js , tailwind (4) compiler is also written on rust.
@ya4dang15 ай бұрын
Quantity ≠ Quality
@Rudxain7 ай бұрын
I don't really care about the AI stock footage. But I somewhat agree that it shouldn't be used excessively
@letsgetrusty7 ай бұрын
I did go a little overboard there lol
@sp3ctum7 ай бұрын
@@letsgetrusty Idk I liked it :)
@Rudxain7 ай бұрын
@@letsgetrusty BTW, I didn't intend to say you did! I meant a "general rule of thumb" that applies to everyone
@AmirHosseinHonardust7 ай бұрын
Thanks for content. Small criticism, the ai generated pictures are creepy qnd unnecessary.
@sharanchakradhar7 ай бұрын
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.
@kevinmcfarlane27527 ай бұрын
And for almost all advertised jobs, Rust by itself is not sufficient. You usually need domain and other tech experience to go with it.
@techinsider36117 ай бұрын
Did it fix that elevator?
@jjpp19936 ай бұрын
It fixed the world
@aldrickdev7 ай бұрын
couple years ago I worked on writing elevator firmware, were were still using C/C++, wonder if the company has adopted Rust...
@topin89977 ай бұрын
So, by laying off their developers, Mozilla actually speed up Rust adoption in big tech?
@yewo.m7 ай бұрын
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
@topin89977 ай бұрын
@@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
@topin89977 ай бұрын
@ok-tr1nw Or there was some weird network glitch. Anyway, checked now in incognito tab, spelling is correct
@elirane857 ай бұрын
Rust, it's hard to get it right, but it's even harder to get it wrong :)
@Turalcar4 ай бұрын
I'm so stealing this.
@Mr_natenut2 ай бұрын
Watching this video makes me think alot about moving to rust instead of c++ mostly for the memory safety aspect and the fact that it's good enough for operating systems
@ahnedz43117 ай бұрын
waow I love being fed AI slop
@arcstur7 ай бұрын
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!
@not_herobrine37527 ай бұрын
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
@logicaestrex22786 ай бұрын
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
@logicaestrex22786 ай бұрын
@pup4301 speak of the devil, here comes a gaslighter now
@not_herobrine37526 ай бұрын
@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.
@breadnt7 ай бұрын
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
@letsgetrusty7 ай бұрын
Thanks for the feedback!
@qtpaulie7 ай бұрын
@@letsgetrusty love how you just didnt respond! have fun stealing artist's hard work with generative ai i guess
@arson53047 ай бұрын
@@qtpaulie ????? what else did you want him to say LOL
@Tiritto_7 ай бұрын
@@qtpaulie You can steal stock images as well. What makes you assume that this AI model was using any unlicensed content?
@qtpaulie7 ай бұрын
@@Tiritto_ almost all AI generative models use unlicensed content
@hobis0b6 ай бұрын
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.
@logicaestrex22786 ай бұрын
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
@LowestofheDead5 күн бұрын
It was a huge missed opportunity not to use ^ for pointer (since it's actually pointing), and @ for reference (because it retrieves what is AT the pointer)
@abacaabaca81317 ай бұрын
I always love rust when it says it can stop memory leak from the very beginning. I learn most of of programming learning from KZbin 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.
@FlorianZier7 ай бұрын
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.
@senzmaki7 ай бұрын
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
@abacaabaca81317 ай бұрын
@@senzmaki 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 ?
@headlibrarian19966 ай бұрын
Memory leaks aren’t a problem in modern C++.
@Александр-ф9в4ю5 ай бұрын
@@headlibrarian1996 🤣
@kulikgabor76242 ай бұрын
I wonder what happens if the elevator break down due to hardware issue.
@cbbcbb68037 ай бұрын
Does Mozilla use rust? Maybe to rework Firefox?
@kasvith7 ай бұрын
Funny part is they developed Rust to make Firefox better, but it crashes more than Chrome everytime
@F_Around_and_find_out7 ай бұрын
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.
@sutsuj64377 ай бұрын
How did you get the AI stock footage animated so well?
@NuflynMagister7 ай бұрын
Дякую, Богдане!
@chx756 ай бұрын
💪💛💙
@rebelScience7 ай бұрын
Amazing video! Thank you.
@lukeskywalker21166 ай бұрын
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++.
@typicalhog7 ай бұрын
Very good video!
@letsgetrusty7 ай бұрын
Thank you!
@ruudlol123457 ай бұрын
Thanks for the interesting and informative video! I can't seem to get enough of Rust! 🦀
@paulmichalik81877 ай бұрын
What do you mean by "dominance"?
@gustavodelgadillo77587 ай бұрын
Very good video the content is great, the AI footage is good I liked it
@electrolyteorb7 ай бұрын
Is that moustache i see?
@RobertKing7 ай бұрын
Interesting to hear some history thanks !
@ca_pilot6 ай бұрын
Rust rose to dominance in rewrites of shell utilities. When it comes to large systems, it's a mere whimper.
@-marci7 ай бұрын
Great to see rust getting popular
@severgun7 ай бұрын
It is not. Hype is over.
@AOSP-is-still-Linux7 ай бұрын
@@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.
@danwellington35717 ай бұрын
@@severgunGo get THERAC-25'd
@hcolider28177 ай бұрын
@@AOSP-is-still-Linux 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.
@danwellington35717 ай бұрын
@@hcolider2817Finally someone brings up an actual issue
@traveldiary14556 ай бұрын
No one gets job , if you looks online search no one hiring rust developer
@noisetide7 ай бұрын
Завжди захоплений таким прогрессом на цьому каналі з самого початку так само як і Rust став найулюбленішим
@oshriperetz25387 ай бұрын
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.
@DrewWalton7 ай бұрын
How do you know what model was used?
@Tiritto_7 ай бұрын
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.
@oshriperetz25387 ай бұрын
@@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
@ramb0lxmb13 күн бұрын
Bro...pee pee?? Yeah I love peethon 😂
@valcubeto7 ай бұрын
I've never come so fast. Wait...
@electrolyteorb7 ай бұрын
Uh oh
@Michael-uo4jj2 ай бұрын
Rust is the future 💯
@Dogo.R7 ай бұрын
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.
@HeatherAminian7 ай бұрын
I have never run into elevator problem in my entire life.
@wuketuke66017 ай бұрын
Using ai generated stock footage is so silly, just use real stock footage
@irlshrek7 ай бұрын
who gives a shit..?
@wuketuke66017 ай бұрын
@@irlshrek braindead response
@RobertLugg7 ай бұрын
@@irlshrekwhat ai tools are used to generate stock footage?
@danwellington35717 ай бұрын
@@irlshrekPeople who care about consent
@danwellington35717 ай бұрын
@@toflow1177 It can be created consentually It isn't
@xOWSLA6 ай бұрын
Guy literally created a language because of skill issues
@imranroll17296 ай бұрын
love u
@valcubeto7 ай бұрын
I've never clicked so fast
@julyort67627 ай бұрын
I suspect you are using AI also on your face and shoulders
@letsgetrusty7 ай бұрын
New insecurity unlocked
@julyort67627 ай бұрын
@@letsgetrusty ahah that's just my feeling, anyway fun and interesting story💪
@ExylonBotOfficial7 ай бұрын
I also thought the face movements were AI lol
@mintx17207 ай бұрын
I'd write my elevator in javascript.
@Rubikorigami7 ай бұрын
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 !
@nearest-river7 ай бұрын
I started from java and moved to javascript,typescript to rust and now I've been coding in C for a while..xd
@deftudev7 ай бұрын
AI stock footage bad.
@qtpaulie7 ай бұрын
real
@romainmidon27307 ай бұрын
Am I the only one who thought this guy was an AI generated video ? Because he barely moves and all?
@user-ot54ht5 ай бұрын
jesus that AI generated footage is garbage
@dbred677 ай бұрын
Prove the title is not just click bait. Where is Rust dominating? e.g. C++ / C# dominate game development
@mrpocock7 ай бұрын
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.
@danwellington35717 ай бұрын
I don't see C++ in the Linux kernel
@zakgrivell57327 ай бұрын
Stackoverflow developer surveys
@arson53047 ай бұрын
rust dominates high performance web services, you can see companies like discord and cloudflare shipping new stuff in rust pretty regularly
@dbred677 ай бұрын
@@arson5304 If this was an area I wanted to learn and find employment I'd be looking into golang
@brockdaniel88457 ай бұрын
Just use modern C++98
@danwellington35717 ай бұрын
Nah C++71 is much better. None of the new fangled crap
@sherllymentalism47567 ай бұрын
Why would you?
@StellaEFZ7 ай бұрын
Just write assembly
@midnightfuture7 ай бұрын
A 25-year old spec revision? Anything older than C++17 is too unergonomic.
@not_herobrine37527 ай бұрын
do you mean orthodox c++, a standard from at least last decade or straight up bait? we may never know
@dxfate7 ай бұрын
I still don't understand how can a language's compiler be written in it self
@PacificBird7 ай бұрын
You write the next version with the old version.
@pmmeurcatpics7 ай бұрын
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
@TeaEffTeu7 ай бұрын
Not a fan of the AI clips.
@purnya27 ай бұрын
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
@purnya27 ай бұрын
...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
@dungeonrobot7 ай бұрын
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
@letsgetrusty7 ай бұрын
Hate to kill your suspense here lol. It’s my real face, not AI…yet ;)
@dungeonrobot7 ай бұрын
@@letsgetrusty that makes total sense. I think I’m just a bit too tired
@TheMwei7 ай бұрын
KZbin sucks, you worked too hard to sell courses
@chx756 ай бұрын
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.
@chx756 ай бұрын
Well. It is better than C++ of couse.
@crimsonmegumin6 ай бұрын
why is it horrible? at least for me, it makes the work easier for me :D
@chx756 ай бұрын
@@crimsonmegumin it takes a while to reach this level
@mustafaRoya7 ай бұрын
Ai images looks creepy lol
@dedebenui7 ай бұрын
I really don't like the AI image stuff
@voxeldoesart6 ай бұрын
Why should you care about AI taking programming jobs when this video is littered with AI generated photos?
@vil-mo6 ай бұрын
And AI generated text
@luxluth7 ай бұрын
ai generated videos make me feel sick. I can't watch the video
@boccobadz7 ай бұрын
I'm sorry but programming elevators is really easy. Bad take, like Rust in embedded lol
@stephm07 ай бұрын
Did you AI generate the script for this video? Why should anyone watch this?
@developerdeveloper677 ай бұрын
Except... it did not and never will.
@danwellington35717 ай бұрын
Cope and seethe
@arson53047 ай бұрын
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
@lordofthecucks65537 ай бұрын
@@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.
@niggacockball79957 ай бұрын
@@danwellington3571 dilate rustranny
@niggacockball79956 ай бұрын
@@danwellington3571 dilate
@kishanbsh7 ай бұрын
Still don't like rust
@flogginga_dead_horse40227 ай бұрын
why even stop by then?
@itsmenewbie037 ай бұрын
🦀🦀🦀🦀🦀
@biomorphic7 ай бұрын
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.
@arson53047 ай бұрын
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.
@sunofabeach94247 ай бұрын
@@arson5304 3 seconds to compile a flappy bird sized game is a death sentence for gamedev
@dirlrido25227 ай бұрын
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.
@FlorianZier7 ай бұрын
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.
@HonsHon6 ай бұрын
@sunofabeach9424 3 seconds for compilation time is bad? That is pretty good actually.
@sunofabeach94247 ай бұрын
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
@eclipse68597 ай бұрын
Please just use stock videos and images. The AI looks like shit
@pacifi5t7 ай бұрын
AI generated images are... 🤮
@geertdepuydt26837 ай бұрын
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. 😂
@awdsqe1237 ай бұрын
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?
@danwellington35717 ай бұрын
Linus seems to like it
@Gogglesofkrome7 ай бұрын
@@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
@geertdepuydt26837 ай бұрын
@@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.
@arson53047 ай бұрын
why doesn't it make sense for 99% of cases? what do you have to back this up
@RoyaltyInTraining.7 ай бұрын
Two minutes into the video and i'm already disgusted by those awful AI clips. Seriously, just get some stock footage instead.
@gustavojoaquin_arch7 ай бұрын
Based 🗿
@Milky____7 ай бұрын
You look so good in this video, I'm wondering if its AI LOL!