Why Rust is NOT a Passing Fad...

Sdílet
Vložit
  • čas přidán 8. 06. 2024
  • 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.
  • Věda a technologie

Komentáře • 240

  • @juanantonionavarrojimenez2966
    @juanantonionavarrojimenez2966 Před měsícem +19

    One of the most important feature of Rust is that it does not come from Google.

  • @Heater-v1.0.0
    @Heater-v1.0.0 Před 2 měsíci +86

    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 Před 2 měsíci +7

      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 Před 2 měsíci +4

      C is still nice imo. It really does have its place. C++ on the otherhand (or, at least modern C++) is scary.

    • @HonsHon
      @HonsHon Před 2 měsíci

      ​@@llothar68 This is probably true.

    • @atheistbushman
      @atheistbushman Před měsícem +6

      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 Před měsícem

      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)

  • @doomguy6296
    @doomguy6296 Před 2 měsíci +12

    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

  • @meyou118
    @meyou118 Před 2 měsíci +78

    i luv rust and ive been programming for 40+ years

    • @fabienpenso
      @fabienpenso Před 2 měsíci +11

      30y long pro coder here. And love it as well.

    • @manoharmeka999
      @manoharmeka999 Před 2 měsíci

      In what use cases?

    • @fabienpenso
      @fabienpenso Před 2 měsíci +2

      @@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 Před 2 měsíci

      Can you get me an internship I'm good NGL

    • @jazzycoder
      @jazzycoder Před 2 měsíci

      @@fabienpenso Of course you, can i sell you a bridge?

  • @j-p-d-e-v
    @j-p-d-e-v Před 2 měsíci +21

    Even though Im having a hard time in Rust. As I learn more, Im loving it more.

    • @raidensama1511
      @raidensama1511 Před 21 dnem +1

      Stick with it and don’t put yourself on any time deadline. Just do better than you did yesterday.

  • @SasiKumar-no8mx
    @SasiKumar-no8mx Před měsícem +3

    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).

  • @alexandervantrijffel9435
    @alexandervantrijffel9435 Před měsícem +5

    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..

  • @nickeldan
    @nickeldan Před 2 měsíci +8

    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 Před 2 měsíci +2

      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 Před 2 měsíci +11

      I said, "I'm not ditching C".

    • @jazzycoder
      @jazzycoder Před 2 měsíci +1

      @@nickeldan Good man!

    • @mrpocock
      @mrpocock Před měsícem +3

      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 Před měsícem +1

      @@mrpocock Ah, I didn't know that was a thing.

  • @talwaar007
    @talwaar007 Před 21 dnem +3

    Been coding Java ever since the first release way back in late 1995. Have decided to learn Rust. Wish me luck!

    • @curio78
      @curio78 Před 16 dny

      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.

  • @liquidmobius
    @liquidmobius Před 2 měsíci +29

    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.

  • @antoniomartinez1799
    @antoniomartinez1799 Před měsícem +4

    The problem is that some people take rust like a religion and behave like fanatics.

  • @r2com641
    @r2com641 Před 2 měsíci +32

    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  Před 2 měsíci +4

      Great to hear your reasoning and perspective.

    • @stendeter623
      @stendeter623 Před měsícem +3

      I feel like zig has a great future, but they need to put some more work in

    • @r2com641
      @r2com641 Před měsícem

      @@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 Před měsícem +6

      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 Před měsícem +9

      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.

  • @huuhhhhhhh
    @huuhhhhhhh Před měsícem +2

    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#"?

  • @kevincodes674
    @kevincodes674 Před měsícem +3

    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

  • @zxyi9090
    @zxyi9090 Před 2 měsíci +3

    I planning learning rust after getting well versed in functional programming paradigm. What do you think about my plan? Thanks

    • @Eugensson
      @Eugensson Před měsícem +4

      I am learning Rust after F#. The borrow checker is a bitch, other than that, it is okay.

  • @timwhite1783
    @timwhite1783 Před měsícem +2

    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.

  • @VigneshD25
    @VigneshD25 Před měsícem +1

    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 Před měsícem +1

      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.

  • @kieransweeden
    @kieransweeden Před 2 měsíci +6

    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 Před měsícem +1

      It's how I got I to Rust - rewriting a spark pipeline into one based on DataFusion which is Rust based.

  • @artxiom
    @artxiom Před měsícem +2

    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.

  • @amirmir3244
    @amirmir3244 Před měsícem

    Love your work Travis.

  • @EhdrianEh
    @EhdrianEh Před 15 dny

    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.

  • @tiaanbasson9092
    @tiaanbasson9092 Před měsícem +3

    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.

  • @hm_kaiser
    @hm_kaiser Před 2 měsíci +3

    Loving rust since 2018. I've coded various things including embedded and emulators, system libs and rest apis. Best ecosystem and community.

  • @VincentGroenewold
    @VincentGroenewold Před 2 měsíci +5

    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.

  • @ashrafuzzamankhalid3465
    @ashrafuzzamankhalid3465 Před měsícem

    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?!!!

  • @sophieedel6324
    @sophieedel6324 Před 14 dny +2

    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.

    • @logicaestrex2278
      @logicaestrex2278 Před 4 dny

      I didnt realize that wow. I like go and nim but I never knew rust had so many problems

  • @DM-pg4iv
    @DM-pg4iv Před měsícem

    Ive been learning it for 2 months and yeah I like it. Ima stick with it

  • @thunken
    @thunken Před měsícem

    aesthetics are more important than speed?

  • @bernardcrnkovic3769
    @bernardcrnkovic3769 Před měsícem

    yes, installing packages always bothered me for being too slow... /s

  • @macolul
    @macolul Před měsícem

    How to keep up with the fast IT world

  • @ArcWeltraumpert
    @ArcWeltraumpert Před měsícem +1

    ruff is also written using rust.

  • @faticovers7892
    @faticovers7892 Před měsícem +1

    interesting video / thanks for sharing knowledge

  • @aucusticguitar8069
    @aucusticguitar8069 Před měsícem

    I feel like learning Rust has improved my C++ code safety tremendously. My ptsd from borrow checker warfare paid off.

  • @doriandd4648
    @doriandd4648 Před 2 měsíci +11

    Wait. Google picked Rust over Go for a project?

    • @ilikegeorgiabutiveonlybeen6705
      @ilikegeorgiabutiveonlybeen6705 Před 2 měsíci

      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 Před měsícem +6

      For some projects. A company that large doesn’t use one language for everything.

    • @bionic_batman
      @bionic_batman Před měsícem

      from what I understand Google actually doesn't use Go that much. They build most of their stuff in C++

    • @daniel29263
      @daniel29263 Před měsícem

      Of course, there are many cases where a GC is a show stopper.

  • @hebozhe
    @hebozhe Před měsícem

    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.

  • @lucasteo5015
    @lucasteo5015 Před 2 měsíci +4

    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 Před 2 měsíci

      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 Před 2 měsíci +3

    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  Před 2 měsíci +5

      Did I say to learn Rust in this video?

    • @manny27392
      @manny27392 Před 2 měsíci

      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 Před 2 měsíci +1

    I think the syntax is nice 😳

    • @Phantom-lr6cs
      @Phantom-lr6cs Před měsícem +1

      yeah its so amazing ... amazingly crap

  • @fojico1234
    @fojico1234 Před měsícem

    Wait a sec, what cargo for python, whoever had a performance issue with pip!!?

  • @kelownatechkid
    @kelownatechkid Před 25 dny

    `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...

  • @jocketf3083
    @jocketf3083 Před měsícem +3

    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.

  • @BeachFrontSolutions
    @BeachFrontSolutions Před 2 měsíci +9

    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 Před 2 měsíci +1

      Cool story bro

    • @BeachFrontSolutions
      @BeachFrontSolutions Před 2 měsíci

      @@r2com641 thanks glad you liked it

    • @BeachFrontSolutions
      @BeachFrontSolutions Před 2 měsíci

      @@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 Před 2 měsíci

      @@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.

  • @bruceritchie7613
    @bruceritchie7613 Před měsícem

    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.

  • @sharanchakradhar
    @sharanchakradhar Před měsícem

    Yet, I cannot find a Junior level Rust job from months now. :(

    • @TravisMedia
      @TravisMedia  Před měsícem +1

      The Rust market isn't junior-friendly, currently.

  • @YannMetalhead
    @YannMetalhead Před měsícem

    Good video!

  • @deathlife2414
    @deathlife2414 Před 2 měsíci +7

    I am based developer. I like based language golang. Waiting for zig to hit 1.0

    • @r2com641
      @r2com641 Před 2 měsíci

      Hopefully

    • @bionic_batman
      @bionic_batman Před měsícem +1

      > 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

  • @joshuasanders4302
    @joshuasanders4302 Před měsícem

    "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 Před měsícem

    Interesting take on Rust.😃👍🎉

  • @dotfelixb
    @dotfelixb Před měsícem +9

    Zig zag Zig 🎉

    • @AdamFiregate
      @AdamFiregate Před měsícem +1

      Zig is cool as well but it has a long roadmap till it reaches 1.0.

    • @tiaanbasson9092
      @tiaanbasson9092 Před měsícem

      Agreed, I had a good experience with it. Only waiting on libraries to mature

  • @user-tb4ig7qh9b
    @user-tb4ig7qh9b Před 2 měsíci +1

    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

  • @dandychux
    @dandychux Před 2 měsíci +1

    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

  • @usercommon1
    @usercommon1 Před měsícem +1

    > Rust syntax is kinda ugly
    meanwhile
    template

  • @johnmckown1267
    @johnmckown1267 Před měsícem

    Hum, my tool box has a hammer. Don't need those other tools, like a screwdriver or a saw. 😅

    • @jacobwilson8275
      @jacobwilson8275 Před 18 dny

      Rust is the toolbox tbh. It's high and low level.

    • @Critiquetech
      @Critiquetech Před 11 dny

      Sometimes they feel like, "I have pliers and I have some nails , why do I need a hammer ? "

  • @elirane85
    @elirane85 Před 2 měsíci +3

    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

  • @michaellatta
    @michaellatta Před měsícem

    It is more performant, and safer. Compiler error messages are great.

  • @javadahmadian7782
    @javadahmadian7782 Před 2 měsíci +1

    Sooooo right man , rust is future

  • @daphenomenalz4100
    @daphenomenalz4100 Před měsícem +1

    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 Před 11 dny

      Love or hate? MS using a language developed by Google? forget.

  • @jamesschmames6416
    @jamesschmames6416 Před 2 měsíci +2

    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 Před měsícem +2

      linux works without crap rust perfectly . so don't put something crap langauge like ruST XD

  • @kqvanity
    @kqvanity Před 26 dny

    Why would you consider rust not good for web backend stuff?

    • @TravisMedia
      @TravisMedia  Před 25 dny

      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 Před 25 dny

      @@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

  • @scottk3292
    @scottk3292 Před 2 měsíci +1

    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 Před 2 měsíci +2

      There's absolutely no need to put your buffers on the stack. Unless you really want to.

    • @scottk3292
      @scottk3292 Před 2 měsíci

      @@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 Před 2 měsíci +3

      @@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 Před 2 měsíci

      @@peter9477 Fantastic... I'm already learning. Thanks for your help, Peter. This makes good sense.

  • @srivatsa1193
    @srivatsa1193 Před 2 měsíci +3

    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 Před 2 měsíci +1

      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.

  • @jeffg4686
    @jeffg4686 Před 2 měsíci

    because the 100 of us that learned it don't want it to be a fad

  • @alphonsemarcus3650
    @alphonsemarcus3650 Před měsícem +3

    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

  • @ErrUndefinedVariable
    @ErrUndefinedVariable Před měsícem

    Mojo is faster than Rust

  • @michelnielsen2855
    @michelnielsen2855 Před měsícem

    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.

  • @alejandroioio6784
    @alejandroioio6784 Před měsícem

    Yes it is

  • @zhexymusic
    @zhexymusic Před měsícem

    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 Před měsícem

      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 Před měsícem

      @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.

  • @johnmckown1267
    @johnmckown1267 Před měsícem +2

    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.

  • @kkollsga
    @kkollsga Před měsícem +1

    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 Před měsícem

      Check out Polars library, it's a pandas-esque data frame lib written in rust

  • @olafschluter706
    @olafschluter706 Před měsícem +4

    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.

  • @richhenry8004
    @richhenry8004 Před měsícem

    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.

  • @irlshrek
    @irlshrek Před měsícem

    I LOVE rust

  • @thunken
    @thunken Před měsícem

    why not make Rust beautiful and then all the python people will come across because aesthetics are important

  • @sandrosandro6430
    @sandrosandro6430 Před měsícem

    Also Linux should be rewritten in Rust

  • @Ownage4lif31
    @Ownage4lif31 Před 2 dny

    Touched rust for a few hours, never again. Disgusting language, disgusting....

  • @DirkArnez
    @DirkArnez Před 2 měsíci +1

    When M$ use Rust in their Windows kernel but Windows 11 suck even more

    • @peter9477
      @peter9477 Před 2 měsíci +1

      Correlation does not imply causation.

    • @r2com641
      @r2com641 Před 2 měsíci

      @@peter9477it does according to the explanations from rust fanboys regarding of why we must use it

    • @DirkArnez
      @DirkArnez Před 2 měsíci +1

      @@peter9477 i mean bad Windows product design and vision should harm M$ more than bugs / flaw in Windows kernel hahahaha

    • @peter9477
      @peter9477 Před 2 měsíci +1

      @@DirkArnez Ah, I understand now.

    • @stzi7691
      @stzi7691 Před měsícem +1

      Well, as long as they do not get rid of DOS there is no hope, regardless of the language used 😊

  • @iury664
    @iury664 Před měsícem

    it is not so ugly than Java

  • @delicious_seabass
    @delicious_seabass Před měsícem +33

    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 Před měsícem +14

      So why are your fellow C devs hating on rust?

    • @delicious_seabass
      @delicious_seabass Před měsícem

      @@nanonkay5669 They aren't my 'fellows' as we aren't a community, but sounds just like your typical neckbeareds with lisps.

    • @paradoxicalcat7173
      @paradoxicalcat7173 Před měsícem

      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 Před měsícem +11

      Don't care enough to hang out and shitpost on Rust YT videos 🙄

    • @oserodal2702
      @oserodal2702 Před měsícem +7

      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.

  • @stefanalecu9532
    @stefanalecu9532 Před měsícem

    Wait till the Rust soydevs find out about Ada and Spark 😂

  • @one_step_sideways
    @one_step_sideways Před měsícem

    Yes it is. It's cope

  • @imlassuom
    @imlassuom Před měsícem

    💩🦀. 🌹🦎

  • @dranon0o
    @dranon0o Před měsícem +7

    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 Před měsícem +3

      Name 5 design mistakes in rust

    • @user-qt5hy3vn5p
      @user-qt5hy3vn5p Před měsícem

      ​@@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.

  • @BANGUGHRANG
    @BANGUGHRANG Před 2 měsíci

    Great breakdown, thanks Travis!
    Edit: 😮 Just caught your shoutout! 🫡💯

  • @saabirmohamed636
    @saabirmohamed636 Před měsícem

    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

  • @mrpocock
    @mrpocock Před měsícem

    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.

  • @paradoxicalcat7173
    @paradoxicalcat7173 Před měsícem +1

    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 Před 16 dny +1

    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.

    • @mythbuster6126
      @mythbuster6126 Před 4 dny

      RustRover is in active development. rust-analyzer for VS Code or neovim does the job just fine. When ir comes to syntax the program written in Rust is way less verbose than in Java / C#.

    • @curio78
      @curio78 Před 4 dny

      @mythbuster6126 I just stumbled on d-lang. And I have to say, I am sold on it. It will be my language of choice for native compilable application.
      It's got everything I wished in a language for to native compilation. Java covers the server needs.
      1. It's syntax is almost similar to java.
      2. It's got the same single inheritance of Java and c#. Solving the issue of c++.
      3. It's got Garbage collector just like GO. For memory safety.
      4. It's got option for direct memory handling if you want to do that like c/c++
      5. It's language feature complete like c++ and c#. I am not counting Java as complete until they implement universal generics and value type, which should come as part of project Valhalla next year.
      I am really surprise why no one mentions this language. And even more I donot understand why GO even exists when D lang is already present.

  • @tomwilliam7299
    @tomwilliam7299 Před 2 měsíci

    If Microsoft support rust, then Why VS does not support rust 🤔🤔🤔🤔

    • @peter9477
      @peter9477 Před 2 měsíci +3

      Doesn't it though?

    • @tomwilliam7299
      @tomwilliam7299 Před 2 měsíci

      @@peter9477 yes why

    • @pnk4996
      @pnk4996 Před 2 měsíci +1

      What r u talking about bro

    • @tomwilliam7299
      @tomwilliam7299 Před 2 měsíci

      @@pnk4996 If Microsoft support rust, then Why VS does not support rust

    • @tomwilliam7299
      @tomwilliam7299 Před 2 měsíci

      @@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++.

  • @irlshrek
    @irlshrek Před měsícem

    I liked you until you started talking about crypto

  • @aipujols
    @aipujols Před 2 měsíci +1

    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 Před 2 měsíci

      OMG. WoooooW really?

  • @alcar32sharif
    @alcar32sharif Před 2 měsíci +3

    Rust has great ideas. But the implementation of this ideas is sometimes mediocre.

    • @pnk4996
      @pnk4996 Před 2 měsíci +1

      Name one

    • @stzi7691
      @stzi7691 Před měsícem

      Like in any language 😮‍💨. I think Rust just sucks less so far.

  • @greendsnow
    @greendsnow Před 2 měsíci +3

    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 Před 2 měsíci +3

      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 Před 2 měsíci +3

      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 Před 2 měsíci +1

      I’m a beginner js dev and I had no problem learning it, sounds like a skill issue

    • @pnk4996
      @pnk4996 Před 2 měsíci

      @@jazzycoder oh shit you’ve been watching me code? Bros in the fbi

    • @pnk4996
      @pnk4996 Před 2 měsíci

      @@jazzycoder buddy liked his own comment lol

  • @sil778
    @sil778 Před 2 měsíci +4

    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 Před měsícem

      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 Před měsícem

      Of course it is hardly to find, if you're closed in your tiny C++ hole 😂

    • @joseoncrack
      @joseoncrack Před měsícem +2

      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.

    • @eypandabear7483
      @eypandabear7483 Před 6 dny

      Python only reached mainstream adoption in the 2010s, despite being older than Java. I remember it being the “trendy new choice” in scientific computing when I did my PhD. It still is in some areas where people are used to Matlab.

  • @user-gh4lv2ub2j
    @user-gh4lv2ub2j Před 2 měsíci +1

    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 Před 2 měsíci +5

      Ask your mom to buy you a faster computer

    • @peter9477
      @peter9477 Před 2 měsíci +1

      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 Před 2 měsíci

      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 Před 2 měsíci

      @@henrymaddocks984I can’t believe that your comment was liked by author of video, that explains his IQ level (and yours)

  • @Vorenus875
    @Vorenus875 Před 2 měsíci +2

    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  Před 2 měsíci +2

      🙄 if you got that conclusion from a past video I can’t help you then.

  • @developerdeveloper67
    @developerdeveloper67 Před měsícem

    There is no reason to write anything in anything but C, unless you are a bad programmer.

  • @user-gh4lv2ub2j
    @user-gh4lv2ub2j Před 2 měsíci +5

    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 Před 2 měsíci +3

      @@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.