A Review of the Anti Rust article by a Rust Engineer

Поділитися
Вставка
  • Опубліковано 7 лип 2024
  • An article appeared recently online entitled:
    "I spent 18 months rebuilding my algorithmic trading platform in Rust. I'm filled with regret" By Austin Sparks.
    This article was picked up by ThePrimeagen, and he did a balanced review, I would highly recommend that you watch that if you haven't already.
    However since that article was published, there has been a lot more context available and in this session we dig around a little more with to review this anti Rust article armed with this new information!
  • Наука та технологія

КОМЕНТАРІ • 16

  • @basilefff
    @basilefff 18 днів тому +19

    Wait, that guy used Strings for error handling? Yeah, probably should have spent some of those 18 month actually learning Rust.

  • @bobby_mathews
    @bobby_mathews 18 днів тому +6

    I do not think he should be learning rust on the go!!

    • @ballinlikebill8334
      @ballinlikebill8334 18 днів тому +2

      i disagree. you should but not for production code, just for personal learning projects

    • @SWard-oe8oj
      @SWard-oe8oj 17 днів тому +3

      ​@@ballinlikebill8334doing it for production code is what "learning on the go" means. Else it's just "learning"

  • @TimothyWhiteheadzm
    @TimothyWhiteheadzm 16 днів тому

    Advanced Rust is hard, especially if you are not trying to learn the advanced parts of the language but instead trying to make use of libraries or frameworks that do use the more advanced features. That said, if you took the same attitude with C++ you would probably end up with some very very bad code, but with Rust, if it compiles it usually works and most classes of bugs are simply caught by the compiler. Certainly, Rust was one of the harder languages I have tried (used for about three years, but still cant say I have 'learnt' it). The biggest problem we experienced though was that it is a constantly changing language and that combined with the frameworks we were using being in active development meant that we spent over 50% of our development effort just updating to newer versions of dependencies.

  • @mtallen56
    @mtallen56 17 днів тому +1

    Your point at 12:09 reminds me of this Trailer Park Boys scene: ua-cam.com/video/-SkfTU-B1CY/v-deo.html

  • @andrewdunbar828
    @andrewdunbar828 18 днів тому

    a curve is towards it

  • @bradweir3085
    @bradweir3085 17 днів тому +1

    I'll never like the way Rust code looks. I like everything about Rust, but it is ugly as sin.

    • @watthedoodle
      @watthedoodle  17 днів тому +1

      That's subjective and you have a right to dislike the look of the syntax, just as others have a right to like the look of the syntax. However objectively the type signatures are like that because they encode and pack a lot of information. Often time it boils down to familiarity, and it's no different to dynamic language users complaining that they don't like static types that have to be declared as it's too "noisy" or verbose.

  • @archibaldhernandez5553
    @archibaldhernandez5553 17 днів тому

    I wanna learn Rust. Any tips?

    • @watthedoodle
      @watthedoodle  17 днів тому +2

      I have an entire blog article dedicated to it: "So you wanna learn Rust?" link is here 👉 watthedoodle.com/tech/so-you-wanna-learn-rust/

    • @archibaldhernandez5553
      @archibaldhernandez5553 17 днів тому

      @@watthedoodle Thanks!!

    • @ChungusTheLarge
      @ChungusTheLarge 17 днів тому

      When I finally sat down and really got to understand how ownership and lifetimes work, I found it far mor easy to write Rust. Also go check out these resources:
      "The Rust Book" - Safe Rust guide
      "The Rustomnicon" - Unsafe Rust guide
      "Learning Rust, With Entirely Too Many Linked Lists" - This will help you understand how pointers work, and why LL is a shitty data structure, especially in Rust

    • @borylesny
      @borylesny 17 днів тому +2

      Start with sync code. And switch to async later if at all.

  • @init_bobjames
    @init_bobjames 19 днів тому +1

    do you know the idiomatic way? i think that is a meme 🤣🤣

    • @watthedoodle
      @watthedoodle  19 днів тому +4

      I didn't recall that meme! if it is a meme that wouldn't have been pretty cool to drop an overlay on the video to pay homage to it 😁