Why Rust is NOT a Passing Fad...

  Переглядів 22,237

Travis Media

Travis Media

День тому

Is Rust just another passing fad language? Will the hype be short-lived and everyone retreats back to C languages here in a few years?
I don't think so. Even though the slogan "re-write it in Rust" has become a joke and the basis of many memes, I want to argue that all things, everywhere, ARE being rewritten in Rust.
We'll talk about it in this video.
Join the Imposter Devs community - imposterdevs.com
Timestamps
00:00 Intro
00:56 Examples of Rust adoption
04:34 Rust devs are MORE productive
07:33 Rust isn't the answer to everything
What do you think? Leave a comment and let's discuss.
Updated Udemy deals - travis.media/udemy
** Career Path Coding Tracks **
Web Developer - geni.us/jBigBd
Software Engineer - geni.us/AbMxjrX
Machine Learning - geni.us/GporLlT
Python Developer - geni.us/tv2FJBU
DevOps Engineer - geni.us/MgHtJ
** My Coding Blueprints **
Learn to Code Web Developer Blueprint - geni.us/HoswN2
AWS/Python Blueprint - geni.us/yGlFaRe - FREE
Both FREE in the Travis Media Community - imposterdevs.com
My microphone - amzn.to/3sAwyrH
** I write regularly **
travis.media
** FREE EBOOKS **
📘 travis.media/ebooks
LET'S CONNECT!
📰 LinkedIn ➔ / travisdotmedia
🐦 Twitter ➔ / travisdotmedia
🙋🏼‍♂️ Website ➔ travis.media
#rustprogramming #rustlang #rust
** Some of the links in this description may be affiliate links that I may get a little cut of. Thank you.

КОМЕНТАРІ: 209
@Heater-v1.0.0
@Heater-v1.0.0 Місяць тому
Having worked with C and and C++ for decades and other complied languages on occasion I really don't understand how anyone can describe Rust as ugly. As I took my first steps with Rust I was happily surprised it fixed a lot of ugliness of C and C++.
@llothar68
@llothar68 Місяць тому
Because you don't need to use the ugly side of C++ too much if you just write application level code. The insanity of C++ comes when you want to write the fastest possible general purpose library.
@HonsHon
@HonsHon Місяць тому
C is still nice imo. It really does have its place. C++ on the otherhand (or, at least modern C++) is scary.
@HonsHon
@HonsHon Місяць тому
​@@llothar68 This is probably true.
@atheistbushman
@atheistbushman Місяць тому
I have always found the C syntax ugly and the order of function signatures the wrong way round. And I always hated the extra () parenthesis with if statements C++, int divide(int a, int b) { if (b == 0) { throw std::runtime_error("division by zero"); } return a / b; } Rust: fn divide(a: i32, b: i32) -> Result { if b == 0 { return Err(String::from("division by zero")); } Ok(a / b) }
@michelnielsen2855
@michelnielsen2855 8 днів тому
personally I find Rust ugly, but C and C++ especially, are even more ugly to me. So much syntax! urgh. (anyone who have worked seriously with any Lisp flavour will understand my viewpoint, others will just be confused)
@j-p-d-e-v
@j-p-d-e-v Місяць тому
Even though Im having a hard time in Rust. As I learn more, Im loving it more.
@meyou118
@meyou118 Місяць тому
i luv rust and ive been programming for 40+ years
@fabienpenso
@fabienpenso Місяць тому
30y long pro coder here. And love it as well.
@manoharmeka999
@manoharmeka999 Місяць тому
In what use cases?
@fabienpenso
@fabienpenso Місяць тому
@@jazzycoder I got job offers every week, without asking, at higher pay I've never had in my career. But you do you.
@samarnagar9699
@samarnagar9699 Місяць тому
Can you get me an internship I'm good NGL
@jazzycoder
@jazzycoder Місяць тому
@@fabienpenso Of course you, can i sell you a bridge?
@doomguy6296
@doomguy6296 Місяць тому
Rust for web is a bit general term. Rust for backend is great for best througput, minimalist containers , security and even simplicity. How come security and simplictly? Because Rust forces you not to skip the edge cases and keep your code consistent (you may have other language who also allow that. Rust is one of them), and simplicty, because it's damn easy and minimalist to set up. No bloat software and heavy dependencies to carry around. Just compile with cargo. Don't bother with dependencies
@r2com641
@r2com641 Місяць тому
Let’s face facts: 1) if I am writing low level program which interfaces memory and registers or which is metal level embedded layer, I can’t use regular borrow checker anymore - correct? I have to use “unsafe” block inside which most of those rust checks are not done anymore 2) we need language which would be f-ing SIMPLE, we don’t want bloated c++ where specification together with std lib is 1800 A4 papers. But rust is now getting bloated and is almost as hard as c++ (harder) 3) we don’t want macros! At least macros in rust are not as bad and disastrous as in c c++ but they are overtly complex and not needed That is why I think Zig is a better way to go. What Rust achieved is a big hype, and that government directives don’t determine how successful language will be in future. They did same thing promoting Ada many years ago and where is now Ada? Not being used much Thankfully we got Zig and Odin to choose from and we are not forced to use language with identity problems
@TravisMedia
@TravisMedia Місяць тому
Great to hear your reasoning and perspective.
@stendeter623
@stendeter623 Місяць тому
I feel like zig has a great future, but they need to put some more work in
@r2com641
@r2com641 Місяць тому
@@stendeter623 and what do you think they are doing? Not working hard enough or what? I see designer himself on chats responding to tech questions and working as late as by 1:30am every day including weekends.
@oserodal2702
@oserodal2702 28 днів тому
That's just untrue, the borrow checker still exists even in unsafe contexts (You can't pass around references willy-nilly for example). However, you can trivially sneak past the borrow checker with dereferencing a pointer, `UnsafeCell`, `std::mem::transmute` (please don't do this one, specifically), etc.,
@MrTrollland
@MrTrollland 27 днів тому
I’m tired of people pretending that unsafe throws out all safety guarantees out the window. That’s not true. There’s 5 specific things unsafe lets you do: call unsafe methods, implement unsafe traits, use mutable static variables, access union members and dereference raw pointers. That’s it. Borrow checker still works, you still need to exhaustively match an enum, there’s still bounds checking on data structures, etc.
@alexandervantrijffel9435
@alexandervantrijffel9435 Місяць тому
You wouldn't choose Rust to build websites? I'm building multiple web apps with micro frontends where most of the micro frontends are served by Rust. It's a delight to enjoy the benefits from Rust like functional programming, correctness guarantees and the limited need for debugging also for web apps..
@liquidmobius
@liquidmobius Місяць тому
As one of those people who used to hate Rust (for no particular reason I might add), I'm now a convert. C/C++ are still great for teaching, but no longer belong in critical production software, and you could certainly argue in any production software in general. The diehard C/C++ crowd will wake up one day and realize that the industry has passed them by. Only then will they say, I was wrong, Rust isn't just a fad.
@TehKarmalizer
@TehKarmalizer Місяць тому
Not sure if serious or trolling…
@tiaanbasson9092
@tiaanbasson9092 25 днів тому
I'm comfortable with C++. I don't personally have an issue with Rust. There is just a high chance i won't adopt it. There is a higher chance of me switching to Zig in the future when the third party libraries mature.
@kevincodes674
@kevincodes674 27 днів тому
Yes, I like Rust very much. Using it currently to build a website for a university project. I completely understand what you mean when you say there are easier tools for the job lol. I could build the backend much faster with Django, but where's the fun in that
@nickeldan
@nickeldan Місяць тому
I'm a devoted C developer and for a while my reply to Rust was "Just be a better programmer and don't write unsafe code". However, I've come to realize how naive that sentiment is. I'm not ditching C as 1) it's quite ubituitous and 2) Rust's runtime bloat bothers me but I feel that it's time I added Rust to my skillset.
@jazzycoder
@jazzycoder Місяць тому
You'll be back my friend, you might have left C but C hasn't finished with you yet. You'll soon workout that anytime you want to actually do anything in Rust you'll have to use unsafe mode (so you might as well just go back to C) but with terrible compile times. Also you are now relying on a zillion dependencies being installed with cargo, good luck with that if you're actually working on hardware or even system programming where we need security auditing....
@nickeldan
@nickeldan Місяць тому
I said, "I'm not ditching C".
@jazzycoder
@jazzycoder Місяць тому
@@nickeldan Good man!
@mrpocock
@mrpocock Місяць тому
I've done some bare metal rust with no runtime. It was a nice experience. To be honest, compared to python, java, js and friends, the size of the runtime is not big.
@nickeldan
@nickeldan Місяць тому
@@mrpocock Ah, I didn't know that was a thing.
@huuhhhhhhh
@huuhhhhhhh 18 днів тому
I love Rust but I'm not convinced when using it for things where heavy use of async is required and/or web. I've always have this nagging feeling I should be doing parallelism but I haven't learned that yet 🤔 Maybe be need a "Rust#"?
@kieransweeden
@kieransweeden Місяць тому
Great video! The only minor thing I’d add is that I’ve seen a growing (albeit minor) adoption of Rust in the backend development space. Of course that’s anecdotal so take it with a pinch of salt. Additionally on a recent episode of the Rustacean Station podcast, an IntelliJ representative working on RustRover expressed that the sector of Rust development they’ve (IntelliJ) seen more growth and expansion in is in backend applications, which is pretty neat! Again this is all minor in the grander context of web development, just something worth noting.
@bruceritchie7613
@bruceritchie7613 29 днів тому
It's how I got I to Rust - rewriting a spark pipeline into one based on DataFusion which is Rust based.
@kelownatechkid
@kelownatechkid 6 годин тому
`uv` literally changed my programming life lol. Some extremely wacky package situations would take pip an hour to resolve but uv does it in under 2 seconds...
@alphonsemarcus3650
@alphonsemarcus3650 17 днів тому
the only reasons why I use Rust is the modern standard library, build system, package manager and the safety guarantees are nice... but doing anything a bit complicated in Rust is total insanity, Rust is too alien and weird and pretty much a modern C++. Zig looks more promising, a simple language like C, but modern and with a bit more safety. Rust is for the insane, you need to change how you program entirely to appease the compiler... ownership, lifetimes?? puff give me a breaak
@dotfelixb
@dotfelixb Місяць тому
Zig zag Zig 🎉
@AdamFiregate
@AdamFiregate 29 днів тому
Zig is cool as well but it has a long roadmap till it reaches 1.0.
@tiaanbasson9092
@tiaanbasson9092 25 днів тому
Agreed, I had a good experience with it. Only waiting on libraries to mature
@zxyi9090
@zxyi9090 Місяць тому
I planning learning rust after getting well versed in functional programming paradigm. What do you think about my plan? Thanks
@Eugensson
@Eugensson Місяць тому
I am learning Rust after F#. The borrow checker is a bitch, other than that, it is okay.
@VigneshD25
@VigneshD25 Місяць тому
Rust feels hard for someone coming from HDL& C/C++ Background. Especially the concept of borrowing and scope which makes people try and drop it quickly before it becomes second nature.
@artxiom
@artxiom 15 днів тому
Borrowing is pretty similar to const references/move-semantics/RAII - pretty standard concepts in C++. The main difference is that the borrowing checker enforces certain invariants, rules that you can't break without using unsafe.
@aucusticguitar8069
@aucusticguitar8069 8 днів тому
I feel like learning Rust has improved my C++ code safety tremendously. My ptsd from borrow checker warfare paid off.
@hm_kaiser
@hm_kaiser Місяць тому
Loving rust since 2018. I've coded various things including embedded and emulators, system libs and rest apis. Best ecosystem and community.
@thunken
@thunken Місяць тому
aesthetics are more important than speed?
@AdilKhan-vf2es
@AdilKhan-vf2es Місяць тому
You give good advice but each week you tell us to learn something new. This takes weeks of effort. How are you doing this while maintaining a job?
@TravisMedia
@TravisMedia Місяць тому
Did I say to learn Rust in this video?
@manny27392
@manny27392 Місяць тому
You do not need to know everything in order to have a job in IT. This video is more of an expression of his passion for IT rather than a full course for future jobseekers.
@amirmir3244
@amirmir3244 4 дні тому
Love your work Travis.
@macolul
@macolul Місяць тому
How to keep up with the fast IT world
@VincentGroenewold
@VincentGroenewold Місяць тому
I'm assuming that one of the reasons Rust development isn't a huge impact in productivity, is because the programmers are different from those used to Go and other languages. They are likely just more versed in complex, detailed languages and usually these are picked because those developers like the complexity and the language, while other languages are just easier and this created developers that are less versed in general.
@kaihusravnajmiddinov5413
@kaihusravnajmiddinov5413 26 днів тому
??
@xquilt
@xquilt 23 години тому
Why would you consider rust not good for web backend stuff?
@DM-pg4iv
@DM-pg4iv Місяць тому
Ive been learning it for 2 months and yeah I like it. Ima stick with it
@artxiom
@artxiom 15 днів тому
Rust is insanely good - but you need lot's of years of programming experience to appreciate what it's actually doing. I mean it was influenced by a wild mix of languages, like OCaml, C++ and Haskell. It's not easy to explain the "why" to people that just want to write easy/fast code, but once you get it you not only will write better code in Rust but in pretty much every other language.
@rvt9324
@rvt9324 Місяць тому
I think the syntax is nice 😳
@Phantom-lr6cs
@Phantom-lr6cs Місяць тому
yeah its so amazing ... amazingly crap
@ashrafuzzamankhalid3465
@ashrafuzzamankhalid3465 9 днів тому
Hi there. You really explained why rust is not going anywhere. Also, a lot of major companies are pushing it forward. Do you think, it can happen to Mojo as well? Or, mojo is or will surpass rust and be the industry standard.(I am not saying Rust is the industry standard right now) So, if a programmer with basic knowledge in programming choosing between these two languages. What option should they choose? What do you think?!!!
@juanantonionavarrojimenez2966
@juanantonionavarrojimenez2966 10 днів тому
One of the most important feature of Rust is that it does not come from Google.
@bernardcrnkovic3769
@bernardcrnkovic3769 29 днів тому
yes, installing packages always bothered me for being too slow... /s
@antoniomartinez1799
@antoniomartinez1799 6 днів тому
The problem is that some people take rust like a religion and behave like fanatics.
@timwhite1783
@timwhite1783 21 день тому
For the record I love Rust and use it in a lot of my side projects. That being said it feels like I just had shit shoveled into my ears. So many of those metrics sound incredibly stupid. How do you even measure a 2x improvement in productivity? When you say you re-wrote the Go application in Rust and it was faster were benchmarks done? If so what specifically was benchmarked and what method was used? These things are relevant. Also when you say the team took just as much time to write it was it the same team? It's so much easier to write a program to solve a problem you've already solved. If I hired a team to write the same program twice in Java I would expect the second attempt to be faster to write and of higher quality than the first, because the team has learned from their prior mistakes.
@fojico1234
@fojico1234 Місяць тому
Wait a sec, what cargo for python, whoever had a performance issue with pip!!?
@lucasteo5015
@lucasteo5015 Місяць тому
I'm a junior kotlin backend dev, I'm really fascinated by kotlin immutability, thus I concluded that I will like rust and I am going learning it, in fact I'm actually half way through their rust book, the language is actually not that bad. yes, there exist some hard to grasp concepts but I think good programmer can overcome that.
@maximus1172
@maximus1172 Місяць тому
I love rust and was learning it but paused it for the moment and now I am learning Kotlin for job reasons. Will resume with when I am in a more stable position
@johnmckown1267
@johnmckown1267 Місяць тому
Hum, my tool box has a hammer. Don't need those other tools, like a screwdriver or a saw. 😅
@hebozhe
@hebozhe Місяць тому
Oh, cool! That thing you only ever have to do once every project is faster with a third-party install. Well, that seals the deal for me.
@faticovers7892
@faticovers7892 12 днів тому
interesting video / thanks for sharing knowledge
@deathlife2414
@deathlife2414 Місяць тому
I am based developer. I like based language golang. Waiting for zig to hit 1.0
@r2com641
@r2com641 Місяць тому
Hopefully
@bionic_batman
@bionic_batman Місяць тому
> zig to hit 1.0 Most likely not going to happen anytime soon but my bet it will be already production-ready for most of the use cases once they implement incremental compilation and also ditch LLVM
@bruceritchie7613
@bruceritchie7613 29 днів тому
It's amazing to me the number of comments on videos like this one or comments on posts about rust that scream opinions that hardly seemed based in reality. Rust isn't perfect for sure but from my experience it's an improvement over what came before it. I feel that Rust will actually shine in the backend services space going forward as it's a good alternative to GC based languages.
@ArcWeltraumpert
@ArcWeltraumpert 22 дні тому
ruff is also written using rust.
@BeachFrontSolutions
@BeachFrontSolutions Місяць тому
The only problem I’ve had with building in Rust since I started in 2020 is convincing my team to write Rust This was resolved though once I rebuilt a large portion of our internal tool chain in Rust and increased its stability exponentially haha
@r2com641
@r2com641 Місяць тому
Cool story bro
@BeachFrontSolutions
@BeachFrontSolutions Місяць тому
@@r2com641 thanks glad you liked it
@BeachFrontSolutions
@BeachFrontSolutions Місяць тому
@@jazzycoder all code committed today is tomorrows tech debt, every line of code I write I hope will be deprecated in the future. Entire team is writing rust now though so I’ll take my “stunt productivity” to push us forward as a team and organization any day
@BeachFrontSolutions
@BeachFrontSolutions Місяць тому
@@jazzycoder I feel as though your comments are less about the actual experience I’ve shared here and are more of a projection of a poor experience you’ve had with either a company you’ve worked at or perhaps with team mates that are excited about about Rust. However to address your baseless claims against the reality of my teams experience - firstly no one was forced to write rust; in fact as our company trusts our engineers so much there are almost no restrictions placed so strictly on us that there would have been some sort of “YOU MUST WRITE RUST” proclamation - Secondly the literal point of my rebuild of a particularly cumbersome part of our internal tool chain was to show, exactly that rust is production ready within our product stack today and that the benefits can be realized with minimal additional effort. To speak to your claim of “10x” decrease in output and delivery; I think that is pretty hyperbolic, but most of my team during their ramp and spike periods with rust did experience a 2x at most decrease to their throughput but that was for maybe 3-4 weeks, which was completely planned for and reasonable. To say this makes our business suffer is pretty false for us also - in the last 8 months since our adoption of Rust as a full team we have released about 1.5x the normal amount of new features and most importantly we’ve seen roughly a 75% reducing is support issues raised post release. This was pretty much a roaring success for us, and again I’m sorry that your experience has not been the same but truly I feel that your criticism has less to do with Rust as a language and more to do with the environment in which you work.
@user-tb4ig7qh9b
@user-tb4ig7qh9b Місяць тому
There is a one point discord uses OTP and writting nif on beam and if the nif error it will crash the beam so that is the most important reason on why using rust in the first placd
@doriandd4648
@doriandd4648 Місяць тому
Wait. Google picked Rust over Go for a project?
@ilikegeorgiabutiveonlybeen6705
@ilikegeorgiabutiveonlybeen6705 Місяць тому
they do all kinds of shit language is literally an instrument to do the shit like when you nail the nails you wont choose a big ass hammer. or when you beat a metal rod into the dirt you will take a bigger hammer now
@TehKarmalizer
@TehKarmalizer Місяць тому
For some projects. A company that large doesn’t use one language for everything.
@bionic_batman
@bionic_batman Місяць тому
from what I understand Google actually doesn't use Go that much. They build most of their stuff in C++
@daniellundqvist2926
@daniellundqvist2926 Місяць тому
Of course, there are many cases where a GC is a show stopper.
@sharanchakradhar
@sharanchakradhar 28 днів тому
Yet, I cannot find a Junior level Rust job from months now. :(
@TravisMedia
@TravisMedia 27 днів тому
The Rust market isn't junior-friendly, currently.
@javadahmadian7782
@javadahmadian7782 Місяць тому
Sooooo right man , rust is future
@joshuasanders4302
@joshuasanders4302 24 дні тому
"Why would companies write their stuff in rust, if they think it's gonna go away in 10 years" Pearl has left the chat
@carsonjamesiv2512
@carsonjamesiv2512 Місяць тому
Interesting take on Rust.😃👍🎉
@dandychux
@dandychux Місяць тому
i’ve only been programming professionally for almost 3 years with JS/TS, Python, and C#. i just started learning Rust recently and i’m really loving it. i get why people say it’s hard but i’ve enjoyed better understanding lower level concepts and i feel like it’s improved my skills with every other language i write now too
@michaellatta
@michaellatta 22 дні тому
It is more performant, and safer. Compiler error messages are great.
@michelnielsen2855
@michelnielsen2855 8 днів тому
I dont understand why people are whining about rewrites.. Just imagine how many heart-bleeds et al that are hiding out there that might be discovered by a rewrite, and if we can rewrite using a tool where the computer can pair program with us then even better. To me, a serious type system and type checker is like pair programming with the computer.
@daphenomenalz4100
@daphenomenalz4100 28 днів тому
Rust is great for building something you want to exist for long and be performant even after years. Go can be used for the same in most cases as it's also really performant just like rust but faster and easier to write. But people probably just love rust more xD, so companies are switching to it.
@YannMetalhead
@YannMetalhead 10 днів тому
Good video!
@srivatsa1193
@srivatsa1193 Місяць тому
Mojo and Rust can coexist. I want to do all things AI in python -> Mojo and the rest of all my development work in rust. Recently, Microsoft Research released AICI which is an AI tool that sits between the model and the controller in the web framework. I really want to see Rust and AI come together.
@llothar68
@llothar68 Місяць тому
Unless you ever have to deploy your AI in an app to run locally. All this environments are nice but it's such a pain in the arse to make a deployment outside your controlled server world.
@SasiKumar-no8mx
@SasiKumar-no8mx 10 днів тому
Regardless of whether it is safe or unsafe, Rust's type system is far better than that of any mainstream language you can name (be it C, C++, Java, or Python).
@scottk3292
@scottk3292 Місяць тому
I'm a Python developer, and I've only lightly dabbled in C# and a litte Java. Now I'm really wanting to write my own real-time audio applications. To that end, I was about to dive in to learn C++ when a SW engineer friend recommended Rust. There is a VST (virtual instrument) library for Rust, so I wouldn't have to be =too= much of a trailblazer. Honestly, hearing about C++ memory leaks some 20 years ago really scared me away from the language. I can so easily imagine having finally built my dream synthesizer in C++, only to struggle with it running out of memory after 20 seconds of use. I know that for real-time synthesis I'll have to learn to write to audio buffers in the stack, but at least Rust makes me feel a bit safer when venturing into this.
@peter9477
@peter9477 Місяць тому
There's absolutely no need to put your buffers on the stack. Unless you really want to.
@scottk3292
@scottk3292 Місяць тому
@@peter9477 Interesting... I would've thought that the algorithms would be more limited (slower) if the data was in the heap, but maybe not. Like I said - a whole new world for me. Thanks for the advice, BTW.
@peter9477
@peter9477 Місяць тому
@@scottk3292 You could statically allocate a bunch, or heap allocate in advance. As long as you don't need to keep allocating and deallocating on the fly there will be no significant difference in cost wherever they are. It would be unusual to need to do continuous high performance audio processing (as opposed to recording) yet also require dynamic allocation as the sampling occurred. Precalculate required buffer count in advance.
@scottk3292
@scottk3292 Місяць тому
@@peter9477 Fantastic... I'm already learning. Thanks for your help, Peter. This makes good sense.
@elirane85
@elirane85 Місяць тому
I think the main thing that makes Rust awesome is that it might be harder to get your code to compile then c/c++, but once it does, it's much harder to shoot yourself in the foot
@jocketf3083
@jocketf3083 Місяць тому
I find Rust a pleasure to use for web development. Axum is a pretty nice framework. The way parameters, state, and errors are handled leads to a very boilerplate free experience. It's also nice be able to build the whole thing into a single static binary.
@alejandroioio6784
@alejandroioio6784 Місяць тому
Yes it is
@richhenry8004
@richhenry8004 8 днів тому
It's basically the inverse of the argument against Python. Python is a slow, sloppy mess but people get stuff done with it and quickly. And you can't make a valid argument against that language if you are going to dismiss that productivity and accessibility out of hand. Or rather you can, but people are going to use it anyways, so what good were your criticisms in the first place? In the same vein, Rust is a fast, safe systems language. But you don't get to ignore the ugliness of that lifetime syntax and the productivity costs that come with it. And what good does your cheerleading do if people don't reach for Rust when they write a new application? Rust gets used when the benefits outweigh the pain. And for many, many applications it will never reach that threshold.
@olafschluter706
@olafschluter706 Місяць тому
My experience with Rust after putting some month into learning it: the learning curve is more challenging, but manageable. You may spend more time writing code, but you will almost never be in the need to debug the code, once it got accepted by the compiler, which results in a faster development overall. Rust inspires you to do more FP-like coding. Eventually thinking like the borrow checker becomes natural. Iterators in Rust are extremely powerful and fast. Performance of Rust equals that of C and C++. Multithreading isn't scary anymore. And the trait concept is working surprisingly well. Adding features to foreign types is super-easy in Rust. On the job I am working with legacy C code implementing an ipsec vpn stack in my current project. I do not have the budget and time to rewrite any part of that stack in Rust, but I would love to, and I noticed that learning Rust improved my understanding of multi-threading, which helped on occasions debugging the C code.
@dranon0o
@dranon0o Місяць тому
Cope It's because there were no real alternative Zig is coming Go and Zig works perfectly together Rust did so many bad design mistakes and will sadly take the thousand cut way I don't want to be part of the people that will have to go back to Rust code in 40 years from now Rust is simply not good enough, it is interesting and providing good concepts but not good enough C++ was a mistake C was too weak and too simple At least, Rust started a good conversation in the industry But Zig is going to end the conversation
@MrTrollland
@MrTrollland 27 днів тому
Name 5 design mistakes in rust
@user-qt5hy3vn5p
@user-qt5hy3vn5p 25 днів тому
​@@MrTrollland 1. Rust is not Go 2. Rust is not Zig 3. Rust is not primitive as Go 4. Rust is not primitive as Zig 5. Rust is harder than Zig and Go. And learning Rust is very hard task for my gomonkey's brain.
@zhexymusic
@zhexymusic 24 дні тому
Okay, let me ask the following: if we already have C and it's fast, why would we need something like Rust? Why not to write necessary libraries to be productive? And the last thing, good LSP with C can act as compiler in Rust and shout at programmer for making some sophisticated mistakes, why not? 🙂
@artxiom
@artxiom 15 днів тому
Because C/C++ is responsible for the majority of exploits and vulnerabilities maybe? Also C lacks a lot of features, and modern C++ can be as cryptic (if not more so) than Rust.
@zhexymusic
@zhexymusic 15 днів тому
@artxiom do we need features, if they are predominant way to spawn vulnerabilities? And yet, vulnerabilities mostly are not dependent on the language but rather runtime and environment. So, my question still is - is it the problem of language or, rather, people who design software? Your feedback is appreciated.
@usercommon1
@usercommon1 27 днів тому
> Rust syntax is kinda ugly meanwhile template
@jamesschmames6416
@jamesschmames6416 Місяць тому
I can't believe you didn't mention the biggest covert... Linux! If you can win over Linus Torvalds and Linux kernel developers who still use C, you must be doing something right.
@Phantom-lr6cs
@Phantom-lr6cs Місяць тому
linux works without crap rust perfectly . so don't put something crap langauge like ruST XD
@jeffg4686
@jeffg4686 Місяць тому
because the 100 of us that learned it don't want it to be a fad
@ErrUndefinedVariable
@ErrUndefinedVariable 24 дні тому
Mojo is faster than Rust
@delicious_seabass
@delicious_seabass Місяць тому
Most C devs have nothing to say about Rust because we simply don't care about it. Words cannot express how little we care. 😎
@nanonkay5669
@nanonkay5669 29 днів тому
So why are your fellow C devs hating on rust?
@delicious_seabass
@delicious_seabass 29 днів тому
@@nanonkay5669 They aren't my 'fellows' as we aren't a community, but sounds just like your typical neckbeareds with lisps.
@paradoxicalcat7173
@paradoxicalcat7173 28 днів тому
Because of what Rust represents: idiots who can't write software who need crutches to stop them doing dumb sh*t. Learn how to write software!!!
@AnythingGodamnit
@AnythingGodamnit 28 днів тому
Don't care enough to hang out and shitpost on Rust YT videos 🙄
@oserodal2702
@oserodal2702 28 днів тому
Fair, but my interpretation of the "C people that actively hate Rust" is that they are actually C++ devs in disguise, cause actual C people mostly live under rocks anyways, still using C99.
@johnmckown1267
@johnmckown1267 Місяць тому
I am a 71 year old programming junky. I just retired after 44 years in IT. I totally agree that Rust is very good, from what I've seen. But it depends on what you're doing. I have done uncountable "one off" projects to quickly produce a time critical report. I used a scripting language, like a Bash script or awk or Perl to get the results to the user. If it turns out that they need the report regularly, then I took the time to reimplement in a more efficient language like C.
@sandrosandro6430
@sandrosandro6430 23 дні тому
Also Linux should be rewritten in Rust
@HTJUSA
@HTJUSA Місяць тому
Great breakdown, thanks Travis! Edit: 😮 Just caught your shoutout! 🫡💯
@TravisMedia
@TravisMedia Місяць тому
🫡
@irlshrek
@irlshrek Місяць тому
I LOVE rust
@thunken
@thunken Місяць тому
why not make Rust beautiful and then all the python people will come across because aesthetics are important
@kkollsga
@kkollsga Місяць тому
Rust is really awesome for developing Python libraries. I’m building a small library for extracting data from spreadsheets and for multiple core cpu’s it’s up to 10-15 times faster than Pandas.
@peterradziewicz4685
@peterradziewicz4685 Місяць тому
Check out Polars library, it's a pandas-esque data frame lib written in rust
@iury664
@iury664 28 днів тому
it is not so ugly than Java
@stefanalecu9532
@stefanalecu9532 25 днів тому
Wait till the Rust soydevs find out about Ada and Spark 😂
@DirkArnez
@DirkArnez Місяць тому
When M$ use Rust in their Windows kernel but Windows 11 suck even more
@peter9477
@peter9477 Місяць тому
Correlation does not imply causation.
@r2com641
@r2com641 Місяць тому
@@peter9477it does according to the explanations from rust fanboys regarding of why we must use it
@DirkArnez
@DirkArnez Місяць тому
@@peter9477 i mean bad Windows product design and vision should harm M$ more than bugs / flaw in Windows kernel hahahaha
@peter9477
@peter9477 Місяць тому
@@DirkArnez Ah, I understand now.
@stzi7691
@stzi7691 Місяць тому
Well, as long as they do not get rid of DOS there is no hope, regardless of the language used 😊
@one_step_sideways
@one_step_sideways Місяць тому
Yes it is. It's cope
@irlshrek
@irlshrek Місяць тому
I liked you until you started talking about crypto
@imlassuom
@imlassuom 24 дні тому
💩🦀. 🌹🦎
@mrpocock
@mrpocock Місяць тому
I can't see rust going anywhere. It is still improving as a language and platform. Even badly written rust is 90% as fast as c. And it is tons safer to code with than c. I can write correct rust. I can't write correct c.
@saabirmohamed636
@saabirmohamed636 25 днів тому
I love rust , in my opinion it should be compulsory learning for devs. (it solidifies programming concepts, and you realise how unsafe your code can be.) to me its not ugly ... its elegant. the one liners are amazing as time goes you end up patching and fixing your code ..and the solutions end using rust concepts anyways, but in rust you just end up forced to write good code 1st. its a bit difficult ...but should be at least learnt. definitely not a passing fad
@tomwilliam7299
@tomwilliam7299 Місяць тому
If Microsoft support rust, then Why VS does not support rust 🤔🤔🤔🤔
@peter9477
@peter9477 Місяць тому
Doesn't it though?
@tomwilliam7299
@tomwilliam7299 Місяць тому
@@peter9477 yes why
@pnk4996
@pnk4996 Місяць тому
What r u talking about bro
@tomwilliam7299
@tomwilliam7299 Місяць тому
@@pnk4996 If Microsoft support rust, then Why VS does not support rust
@tomwilliam7299
@tomwilliam7299 Місяць тому
@@jazzycoder Yes you are right that C and C++ will still alive for long time but in my opinion Rust is not a very good language but still better than C++ at least because C++ become a mess and every update for it become more mess one man from C++ standard admit that C++20 has a lot of bad things and they did not experiment it. More over Rust has better environment than C, C++, for example adding a library in C or C++ is a hell while in Rust is so easy, the error message in Rust compiler is much better, the package manager is much better, ... etc. the environment of a language may be more important than the language itself. Actually, I hope big company move to Rust because C++ cannot be fixed at all. for me, even C is better than C++.
@paradoxicalcat7173
@paradoxicalcat7173 28 днів тому
Rust may not be a passing fad, but it doesn't change the fact there are too many idiots writing software who shouldn't be.
@aipujols
@aipujols Місяць тому
According to MIT technology review: "Rust has become one of the hottest new languages on the planet-maybe the hottest. There are 2.8 million coders writing in Rust, and companies from Microsoft to Amazon regard it as key to their future." It's really game-changing.
@r2com641
@r2com641 Місяць тому
OMG. WoooooW really?
@sil778
@sil778 Місяць тому
Dead in a few years? Rust its already dead. Rust is 20 years old and hardly find any applications made in rust.
@Phantom-lr6cs
@Phantom-lr6cs Місяць тому
this people think cuz microsoft and google put some millions in it rust will become loved by everyone WHILE IT HAS CRAP SYNTAX LOLZ .at least c++ gives you everything you want (you can use its own complex syntax or just use functions/classes and structs without its own complex syntax without operator overloadings and etc etc nobody forces anyone to do anything) even its own problems can be fixed easily it's just they care about old code otherwise they could fix c++ in a days and i'd love to see what will happen to this crap RUST then which cannot even live without c/c++ cuz its based on either gcc or LLVM XD
@user-qt5hy3vn5p
@user-qt5hy3vn5p Місяць тому
Of course it is hardly to find, if you're closed in your tiny C++ hole 😂
@joseoncrack
@joseoncrack 25 днів тому
It's true that, considering its whole history, it's almost 20 years old, although the first official version is considered to have been released in 2015, so about 9 years ago. If anything, despite heavy "marketing" and a lot of hype everywhere, it's seeing very slow adoption in practice. I don't know what its future holds, as I don't have a crystal ball. My personal opinion at this point is that it's a dead end. And I think people should not touch it for anything serious until it at least getsan official written specification, which it still doesh't have (although I know they're working on it.) On corolloary issue is that if you use Rust, you're 100% tied to the Rust foundation. Most other "mainstream" languages have standards (or at least open specifications) and multiple toolchains from multiple organizations/projects. One similar situation was found with Java for a pretty long time, and I think it wasn't good either. Incidentally, Java is declining and soon to be dead IMO.
@alcar32sharif
@alcar32sharif Місяць тому
Rust has great ideas. But the implementation of this ideas is sometimes mediocre.
@pnk4996
@pnk4996 Місяць тому
Name one
@stzi7691
@stzi7691 Місяць тому
Like in any language 😮‍💨. I think Rust just sucks less so far.
@Vorenus875
@Vorenus875 Місяць тому
From the guy that just said programming jobs as a whole was a passing fad 😂 I dare you stop making contrarian videos about tech and actually put out in informative videos. You can’t stop bashing people with degrees and grifting or your channel will die.
@TravisMedia
@TravisMedia Місяць тому
🙄 if you got that conclusion from a past video I can’t help you then.
@user-gh4lv2ub2j
@user-gh4lv2ub2j Місяць тому
Here just let me recompile my program and i can't link libs in **30 min later*** "Hello World" but with libs! Yeah i'll pass. I am not afraid of memory management because I can actually code.
@henrymaddocks984
@henrymaddocks984 Місяць тому
Ask your mom to buy you a faster computer
@peter9477
@peter9477 Місяць тому
Tell us you've never actually used Rust, even for hello world. It's not that slow compiling, especially after the first time. For hello world maybe a few seconds.
@r2com641
@r2com641 Місяць тому
Bingo. if programmer is idiot he gonna write bad program in any language. Dumb rust community makes it look like memory problem is the only problem we have today that needs to be solved in programming
@r2com641
@r2com641 Місяць тому
@@henrymaddocks984I can’t believe that your comment was liked by author of video, that explains his IQ level (and yours)
@greendsnow
@greendsnow Місяць тому
it is. no body wants to learn it. it's hard and slow to develop. high fail rate. if you're a beginner, intermediate level dev, you don't do rust. rust is for elites and guess what it's opposite of python.
@Flakelolz
@Flakelolz Місяць тому
I was able to learn how to program when I decided to learn Rust and the Bevy game engine. Actually needing to think about how things work more in-depth helped me tremendously. Previously I was learning with C++, JavaScript, python and C# but never really understood what I was doing. Now I can grasp most languages and their unique features whenever I decide to give them a try since I have a frame of reference with Rust and its features. Since Rust is so easy to setup and run I was able to focus and the incredibly helpful compiler errors in my code and understand what was happening under the hood. The official, free Rust Book is super nice for learning as well.
@Heater-v1.0.0
@Heater-v1.0.0 Місяць тому
I don't recognise any of claims as true. Rust is hard in the same way C and C++ are. But those relatively new to programming mange with C and C++ so why not Rust? Also, despite your claims of complexity I have written tones of Rust that is hardly more difficult to understand than Javascript or Python.
@pnk4996
@pnk4996 Місяць тому
I’m a beginner js dev and I had no problem learning it, sounds like a skill issue
@pnk4996
@pnk4996 Місяць тому
@@jazzycoder oh shit you’ve been watching me code? Bros in the fbi
@pnk4996
@pnk4996 Місяць тому
@@jazzycoder buddy liked his own comment lol
@developerdeveloper67
@developerdeveloper67 18 днів тому
There is no reason to write anything in anything but C, unless you are a bad programmer.
@ChrisGoddardKiwi
@ChrisGoddardKiwi 15 днів тому
Ok bro 😂
@user-gh4lv2ub2j
@user-gh4lv2ub2j Місяць тому
Rust can't be safe and fast. This secret has ruined a few web frameworks. Rust can't run libs unless you put it in unsafe mode; are you a script kiddie? I guess if you've never built a c program and linked in libraries, this seems arcane.
@llothar68
@llothar68 Місяць тому
@@jazzycoder It's a pain in the arse to write a wrapper for a rust library that uses the worldwide accepted C ABI. And then you want to ship this library with your app, setting up the rust environment and compiler again. Figuring out doing rust cross compile to Android and ARM architectures. And then your CTO comes in and ask about what dependencies you pull in. The easyness of cargo and the almost npm like library reuse madness is a failure not a benefit.
Rust for the impatient
10:43
No Boilerplate
Переглядів 637 тис.
NEW GPT-4o: My Mind is Blown.
6:28
Joshua Chang
Переглядів 81 тис.
Новий концерт Єдиного Кварталу від 12 травня 2024. Повний випуск
1:26:42
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Переглядів 2 млн
Stray Kids "Lose My Breath (Feat. Charlie Puth)" M/V
02:53
JYP Entertainment
Переглядів 19 млн
[UPDATE] Mojo Is Faster Than Rust - Mojo Explains More
52:09
ThePrimeTime
Переглядів 224 тис.
How to Learn Rust
10:36
No Boilerplate
Переглядів 501 тис.
Why Great Developers DON'T Create Content (and a lesson to learn)
6:56
Rust 1.77.0: 70 highlights in 30 minutes
30:46
Nathan Stocks
Переглядів 8 тис.
Do NOT do this when learning to code
6:44
The Tech Dad
Переглядів 7 тис.
Why do developers hate Rust?
8:20
Let's Get Rusty
Переглядів 87 тис.
Why You’ll WASTE The Next 3 Years…
6:06
Travis Media
Переглядів 197 тис.
Why i think C++ is better than rust
32:48
ThePrimeTime
Переглядів 259 тис.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Travis Media
Переглядів 486 тис.
What Makes Rust Different?
12:38
No Boilerplate
Переглядів 194 тис.
Какой телефон лучше всего снимает? 🤯
0:42
Airpods’un Gizli Özelliği mi var?
0:14
Safak Novruz
Переглядів 2,5 млн
Компьютерная мышь за 50 рублей
0:28
dizzi
Переглядів 2,2 млн