Why Rust is NOT a Passing Fad...

  Рет қаралды 25,140

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.

Пікірлер: 234
@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 27 күн бұрын
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)
@juanantonionavarrojimenez2966
@juanantonionavarrojimenez2966 28 күн бұрын
One of the most important feature of Rust is that it does not come from Google.
@talwaar007
@talwaar007 13 күн бұрын
Lol. Hell yeah!
@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?
@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.
@raidensama1511
@raidensama1511 14 күн бұрын
Stick with it and don’t put yourself on any time deadline. Just do better than you did yesterday.
@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 Ай бұрын
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 Ай бұрын
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.
@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…
@talwaar007
@talwaar007 13 күн бұрын
Been coding Java ever since the first release way back in late 1995. Have decided to learn Rust. Wish me luck!
@curio78
@curio78 9 күн бұрын
Rust is an ugly language syntax. but if you need a portion that is in native for some reason, Rust is the only option currently. The only problem is total lack of IDE integration like you have with C. C always had an IDE, and debug support, even during dos days. But that syntax is just plain ugly and hard to read.
@kevincodes674
@kevincodes674 Ай бұрын
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
@antoniomartinez1799
@antoniomartinez1799 24 күн бұрын
The problem is that some people take rust like a religion and behave like fanatics.
@smoked-old-fashioned-hh7lo
@smoked-old-fashioned-hh7lo 5 күн бұрын
javascript is by far worse but rust does have some toxic people
@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.
@amirmir3244
@amirmir3244 22 күн бұрын
Love your work Travis.
@EhdrianEh
@EhdrianEh 7 күн бұрын
I'm trying to introduce rust libraries into our company's python APIs where speed matters, and introducing AWS lambdas in rust. I figure that these small codebases and quick wins will find adoption within the company and slowly build a skilled labor pool within the company.
@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..
@artxiom
@artxiom Ай бұрын
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.
@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 Ай бұрын
It's how I got I to Rust - rewriting a spark pipeline into one based on DataFusion which is Rust based.
@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.
@tiaanbasson9092
@tiaanbasson9092 Ай бұрын
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.
@jacobwilson8275
@jacobwilson8275 11 күн бұрын
Why not write code that won't crash at runtime?
@huuhhhhhhh
@huuhhhhhhh Ай бұрын
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#"?
@SasiKumar-no8mx
@SasiKumar-no8mx 28 күн бұрын
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).
@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.
@dotfelixb
@dotfelixb Ай бұрын
Zig zag Zig 🎉
@AdamFiregate
@AdamFiregate Ай бұрын
Zig is cool as well but it has a long roadmap till it reaches 1.0.
@tiaanbasson9092
@tiaanbasson9092 Ай бұрын
Agreed, I had a good experience with it. Only waiting on libraries to mature
@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 Ай бұрын
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.
@timwhite1783
@timwhite1783 Ай бұрын
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.
@faticovers7892
@faticovers7892 Ай бұрын
interesting video / thanks for sharing knowledge
@thunken
@thunken Ай бұрын
aesthetics are more important than speed?
@ashrafuzzamankhalid3465
@ashrafuzzamankhalid3465 27 күн бұрын
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?!!!
@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 Ай бұрын
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.
@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 Ай бұрын
??
@DM-pg4iv
@DM-pg4iv Ай бұрын
Ive been learning it for 2 months and yeah I like it. Ima stick with it
@carsonjamesiv2512
@carsonjamesiv2512 Ай бұрын
Interesting take on Rust.😃👍🎉
@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
@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.
@rvt9324
@rvt9324 Ай бұрын
I think the syntax is nice 😳
@Phantom-lr6cs
@Phantom-lr6cs Ай бұрын
yeah its so amazing ... amazingly crap
@macolul
@macolul Ай бұрын
How to keep up with the fast IT world
@aucusticguitar8069
@aucusticguitar8069 27 күн бұрын
I feel like learning Rust has improved my C++ code safety tremendously. My ptsd from borrow checker warfare paid off.
@bernardcrnkovic3769
@bernardcrnkovic3769 Ай бұрын
yes, installing packages always bothered me for being too slow... /s
@YannMetalhead
@YannMetalhead 29 күн бұрын
Good video!
@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.
@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.
@kelownatechkid
@kelownatechkid 18 күн бұрын
`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...
@javadahmadian7782
@javadahmadian7782 Ай бұрын
Sooooo right man , rust is future
@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.
@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.
@fojico1234
@fojico1234 Ай бұрын
Wait a sec, what cargo for python, whoever had a performance issue with pip!!?
@joshuasanders4302
@joshuasanders4302 Ай бұрын
"Why would companies write their stuff in rust, if they think it's gonna go away in 10 years" Pearl has left the chat
@daphenomenalz4100
@daphenomenalz4100 Ай бұрын
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.
@Critiquetech
@Critiquetech 3 күн бұрын
Love or hate? MS using a language developed by Google? forget.
@ArcWeltraumpert
@ArcWeltraumpert Ай бұрын
ruff is also written using 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
@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
@sharanchakradhar
@sharanchakradhar Ай бұрын
Yet, I cannot find a Junior level Rust job from months now. :(
@TravisMedia
@TravisMedia Ай бұрын
The Rust market isn't junior-friendly, currently.
@kqvanity
@kqvanity 19 күн бұрын
Why would you consider rust not good for web backend stuff?
@TravisMedia
@TravisMedia 18 күн бұрын
Oh it's good for web. Just not as mature as other decades-old web-tools. Therefore a new learning curve, new tools, etc. Would take more time to build if time is an issue, etc.
@kqvanity
@kqvanity 18 күн бұрын
@@TravisMedia I as trying to learn it for backend development, and even though I like rust more, everyone seems to favor go instead, so I'm a bin in a dilemma
@sophieedel6324
@sophieedel6324 7 күн бұрын
Rust makes no sense. Rust is very vulnerable to memory leaks. The checker overhead will often result in a bigger memory footprint and code considerably slower than C. Due to the complex syntax you waste a lot of time (btw, many international users can't even find those symbols on their keyboard, no one seems to realize this because no one field tests this language). A lot of time is wasted due to the slow compile time too. Time that would be better spent in C/C++ where IDE tools are better at catching memory issues than Rust can.
@michelnielsen2855
@michelnielsen2855 27 күн бұрын
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.
@michaellatta
@michaellatta Ай бұрын
It is more performant, and safer. Compiler error messages are great.
@johnmckown1267
@johnmckown1267 Ай бұрын
Hum, my tool box has a hammer. Don't need those other tools, like a screwdriver or a saw. 😅
@jacobwilson8275
@jacobwilson8275 11 күн бұрын
Rust is the toolbox tbh. It's high and low level.
@Critiquetech
@Critiquetech 3 күн бұрын
Sometimes they feel like, "I have pliers and I have some nails , why do I need a hammer ? "
@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
@alphonsemarcus3650
@alphonsemarcus3650 Ай бұрын
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
@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 Ай бұрын
Name 5 design mistakes in rust
@user-qt5hy3vn5p
@user-qt5hy3vn5p Ай бұрын
​@@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.
@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.
@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.
@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.
@jeffg4686
@jeffg4686 Ай бұрын
because the 100 of us that learned it don't want it to be a fad
@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
@alejandroioio6784
@alejandroioio6784 Ай бұрын
Yes it is
@ErrUndefinedVariable
@ErrUndefinedVariable Ай бұрын
Mojo is faster than Rust
@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.
@zhexymusic
@zhexymusic Ай бұрын
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 Ай бұрын
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 Ай бұрын
@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.
@richhenry8004
@richhenry8004 27 күн бұрын
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.
@HTJUSA
@HTJUSA Ай бұрын
Great breakdown, thanks Travis! Edit: 😮 Just caught your shoutout! 🫡💯
@TravisMedia
@TravisMedia Ай бұрын
🫡
@usercommon1
@usercommon1 Ай бұрын
> Rust syntax is kinda ugly meanwhile template
@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
@sandrosandro6430
@sandrosandro6430 Ай бұрын
Also Linux should be rewritten in Rust
@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 😊
@iury664
@iury664 Ай бұрын
it is not so ugly than Java
@stefanalecu9532
@stefanalecu9532 Ай бұрын
Wait till the Rust soydevs find out about Ada and Spark 😂
@one_step_sideways
@one_step_sideways Ай бұрын
Yes it is. It's cope
@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
@imlassuom
@imlassuom Ай бұрын
💩🦀. 🌹🦎
@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 Ай бұрын
So why are your fellow C devs hating on rust?
@delicious_seabass
@delicious_seabass Ай бұрын
@@nanonkay5669 They aren't my 'fellows' as we aren't a community, but sounds just like your typical neckbeareds with lisps.
@paradoxicalcat7173
@paradoxicalcat7173 Ай бұрын
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 Ай бұрын
Don't care enough to hang out and shitpost on Rust YT videos 🙄
@oserodal2702
@oserodal2702 Ай бұрын
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.
@irlshrek
@irlshrek Ай бұрын
I liked you until you started talking about crypto
@saabirmohamed636
@saabirmohamed636 Ай бұрын
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
@paradoxicalcat7173
@paradoxicalcat7173 Ай бұрын
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.
@curio78
@curio78 9 күн бұрын
No rust has a good idea, but the syntax is just plain ugly and unreadable. Only if they kept the urge to make that syntax so ugly it would have caught on much faster. And where is the ide for RUST??? if no one has any interest in building basic IDE for RUST ... it means no one is interested.
@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++.
@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.
@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 Ай бұрын
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.
@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?
@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.
@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.
@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
@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)
@developerdeveloper67
@developerdeveloper67 Ай бұрын
There is no reason to write anything in anything but C, unless you are a bad programmer.
@ChrisGoddardKiwi
@ChrisGoddardKiwi Ай бұрын
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.
[UPDATE] Mojo Is Faster Than Rust - Mojo Explains More
52:09
ThePrimeTime
Рет қаралды 230 М.
I spent six months rewriting everything in Rust
15:11
chris biscardi
Рет қаралды 395 М.
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 45 МЛН
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 19 МЛН
Black Magic 🪄 by Petkit Pura Max #cat #cats
00:38
Sonyakisa8 TT
Рет қаралды 15 МЛН
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
Why You’ll WASTE The Next 3 Years…
6:06
Travis Media
Рет қаралды 281 М.
Interview with Senior Rust Developer in 2023
9:46
Programmers are also human
Рет қаралды 627 М.
Do NOT do this when learning to code
6:44
The Tech Dad
Рет қаралды 11 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Interview with an Emacs Enthusiast in 2023 [Colorized]
8:50
Programmers are also human
Рет қаралды 1,1 МЛН
What Makes Rust Different?
12:38
No Boilerplate
Рет қаралды 195 М.
Why i think C++ is better than rust
32:48
ThePrimeTime
Рет қаралды 267 М.
zig is the future of programming. here's why.
9:34
Low Level Learning
Рет қаралды 183 М.
How to Learn Rust
10:36
No Boilerplate
Рет қаралды 511 М.
🤔Почему Samsung ПОМОГАЕТ Apple?
0:48
Technodeus
Рет қаралды 464 М.
Топ-3 суперкрутых ПК из CompShop
1:00
CompShop Shorts
Рет қаралды 288 М.