How to Learn Rust

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 มี.ค. 2023
  • Today I'm going to talk about some strange recommendations I have on how to learn Rust.
    Thanks very much to today's sponsor RazorSecure.
    Check out their open developer positions at www.razorsecure.com/careers
    ❤️ If you would like to support what I do, I have set up a patreon here: / noboilerplate - Thank you!
    📄 All my videos are built in compile-checked markdown, transcript sourcecode available here github.com/0atman/noboilerplate this is also where you'll find links to everything mentioned.
    🖊️ Corrections are in the pinned ERRATA comment.
    🦀 Start your Rust journey here: doc.rust-lang.org/stable/book/
    🙏🏻 CREDITS & PROMO
    My name is Tris Oaten and I produce fast, technical videos.
    Follow me here / 0atman
    Website for the show: noboilerplate.org
    Come chat to me on my discord server: / discord
    If you like sci-fi, I also produce a hopepunk podcast narrated by a little AI, videos written in Rust! www.lostterminal.com
    If urban fantasy is more your thing, I also produce a podcast of wonderful modern folktales www.modemprometheus.com
    👏🏻 Special thanks to my patreon sponsor:
    - JC Andrever-Wright
    And to all my patrons!

ความคิดเห็น • 1.1K

  • @NoBoilerplate
    @NoBoilerplate  ปีที่แล้ว +515

    ERRATA
    - I'VE BEEN INFORMED RAZORSECURE ARE HIRING INTERNATIONALLY - THEIR WEBSITE IS WRONG! APPLY AWAY!
    - read the rust book offline with `rustup docs --book`
    - 4:03 the correct link is science.sciencemag.org/content/331/6018/772

    • @Askerad
      @Askerad ปีที่แล้ว +44

      now THAT is a flex

    • @tyronewilson6463
      @tyronewilson6463 ปีที่แล้ว +4

      Wild

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +34

      @@Askerad I'll update it when inevitable mistakes are pointed out! I've yet to have a video that has no corrections 😀

    • @voidvenom7452
      @voidvenom7452 ปีที่แล้ว +3

      Hilariously, Google will translate to "ERRATUM all()"... but there are none I can see

    • @zoetje9817
      @zoetje9817 ปีที่แล้ว +2

      @@NoBoilerplate
      Missing subtitles perhaps? Some folks are hard of hearing and that’d be an improvement. Don’t really think I can call it an “error” though.

  • @sasukesarutobi3862
    @sasukesarutobi3862 ปีที่แล้ว +1766

    For anyone wondering what a monad is: it's just a monoid in the category of endofunctors. Pretty straightforward, really.

    • @thekwoka4707
      @thekwoka4707 ปีที่แล้ว +160

      And who is Malloc?
      Questions for another time I guess.

    • @kennethbeal
      @kennethbeal ปีที่แล้ว +104

      @@thekwoka4707 Moloch's brother? :)

    • @bigsmoke6414
      @bigsmoke6414 ปีที่แล้ว +20

      how did i not think of this?!

    • @Yagdrassyl
      @Yagdrassyl ปีที่แล้ว +47

      @@thekwoka4707 A prominent member of the band "Gorillaz"

    • @RafaelCamposNunes
      @RafaelCamposNunes ปีที่แล้ว +10

      Being able to tell the definition of a monad is quite different than really understand what is a category, what's an endofunctor and, finally, what's a monoid. All of those concepts are taught in an Algebra 1/2 class. That being said, I really advise against giving the said definition when explaining what's a monad in a programming language, what does it do and why it exist.

  • @chrissaltmarsh6777
    @chrissaltmarsh6777 ปีที่แล้ว +742

    Being ancient (73) I am enjoying Rust. This is because I started with assmbler and C when hitting the hardware, and having learnt about foot damage I understand the ideas that Rust brings. Perhaps the way to learn the benefits of Rust is to try the job in C, fall down the hole, and then harness Rust.
    (Although I am fond of C, and modern compute machines can do all the splendid compilation and build checks that a PDP-11 would take a week)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +133

      That's terrific to hear, thank you! I've talked with many developers who cut their teeth on assembly in the PDP era, who are delighted with Rust for similar reasons!

    • @chrissaltmarsh6777
      @chrissaltmarsh6777 ปีที่แล้ว +76

      @@NoBoilerplate (With some languages you can iteratively machine gun both feet. I name no names.)

    • @durnsidh6483
      @durnsidh6483 ปีที่แล้ว +11

      ​@@chrissaltmarsh6777 perl?

    • @chrissaltmarsh6777
      @chrissaltmarsh6777 ปีที่แล้ว +95

      @@durnsidh6483 perl is special. All sort of body parts are at risk.

    • @gregorywpower
      @gregorywpower ปีที่แล้ว +18

      This was a real treat to read. 😂

  • @adamd0ggg2
    @adamd0ggg2 ปีที่แล้ว +337

    I am so glad you mentioned cloning over and over because I preach it to others haha. The single most helpful thing I did for learning rust is NOT to borrow. Lots of cloning, returning objects over and over. It got me used to data lifetimes and moves. By making it redundant I understood it. Then borrows felt like a natural optimization. It created a gentle learning curve. I mentor a lot of junior devs and the dopamine hit of getting something that works is ESSENTIAL for motivating newbies hahah.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +32

      I'm delighted to have your account, thank you!

    • @TehKarmalizer
      @TehKarmalizer ปีที่แล้ว +14

      As someone who knows that copying and cloning is “slower”, I didn’t take that approach. But I can honestly say cloning and copying everywhere is a much less painful way to learn.

    • @illegalsmirf
      @illegalsmirf ปีที่แล้ว +6

      It's far more important to discourage newbies by constantly reminding them that there are better ways of doing it, endless frameworks, approaches and new programming languages to learn. Then they will realize how futile it all is and the desperate need for widespread automation.

    • @CottidaeSEA
      @CottidaeSEA ปีที่แล้ว +3

      That's the way I make just about anything in Rust. Unless I know immediately that "this function will always only have a reference" I will simply resort to cloning.
      Prototyiping becomes at least twice as fast, and when everything seems good enough I can just start replacing parts of the code to avoid cloning everywhere. The performance is more stable than a GC language even when ruining it with cloning regardless though.
      To clarify the last part, it's not necessarily much faster if done "incorrectly", but you avoid GC spikes.

    • @ratulsaha9487
      @ratulsaha9487 11 หลายเดือนก่อน +1

      @@TehKarmalizerdamn I am just starting with rust by building a clone of our company app which originally uses C#. This will really help my understanding thanks! I am using Tauri to make our currently windows only app cross platform. So its a win for my work and for me too because now I have one more thing I can add to my professional experience.

  • @ChronosWS
    @ChronosWS ปีที่แล้ว +158

    Your experience with feelings about lifetimes exactly maps to mine. At first it was annoying. Now I see them as a powerful tool that I absolutely miss in other languages.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +33

      The best thing is that they might eventually be mostly optional, the core team keeps making the compiler smarter and smarter!

    • @theroboman727
      @theroboman727 ปีที่แล้ว +4

      ​@@NoBoilerplate That won't really happen, for the same reason that you cant omit types from function signatures, it simplifies type inference a lot for the compiler and for humans as well.
      Rust really looks at only one function at a time. It only sees the current function body and signatures of called functions, so you need to inform it about the lifetime relationships between values. This too is also a readability advantage for humans.
      I think the error messages will get better if anything changes with them.

    • @wilburdemitel8468
      @wilburdemitel8468 ปีที่แล้ว

      @@theroboman727 theroboman more like the boogeyman

  • @enque01
    @enque01 ปีที่แล้ว +40

    How to learn the benefits of Rust: First attain 15 years of working experience in C, C++, asm, JS and Python. Do all sorts of projects in them, across all sorts of scales. See what sorts of problems plague each of them. And then go to Rust. You'll now have motivation to breeze through the initial vertical climb, to the lands of joy beyond.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +10

      Right! It's so obvious in HINDSIGHT!

    • @ashen_dawn
      @ashen_dawn ปีที่แล้ว +7

      this is why i still recommend JS or Python for folks who are just getting into coding - give them the languages that make early stuff easy, get their imagination going, and then help them learn the tools that will help them build it

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +5

      @@ashen_dawn I'm not totally against that idea, but I'd suggest that if a new coder is excited by what they hear about rust, let them code it - all languages are pretty much the same - we're only talking about 1-2% difference in day-to-day life (though I obviously REALLY LOVE that 1-2% difference!)

    • @ashen_dawn
      @ashen_dawn ปีที่แล้ว +3

      @@NoBoilerplate i don't think it's necessary for everyone - i've just tutored a lot of folks who had a hard time getting their head around what was possible
      like if they were determined i'm sure they could learn rust first, and for many people that will work, but some people need some early excitement to find that determination first - if that excitement comes from hearing about rust they absolutely should go for it, but if they're starting from a position of "i've heard programming is cool but what can i do with it" i'm more likely to suggest they start with something else for a bit

  • @IsohFM
    @IsohFM ปีที่แล้ว +201

    I just started learning Rust 2 days ago because of you. So this timing could not have been better! Keep up the great work :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +14

      I'm so pleased! Do come and ask questions in #newbie-advice on my discord if you need help, and GOOD LUCK!

    • @Proprogrammer001
      @Proprogrammer001 ปีที่แล้ว +30

      I read that as "Rust 2" 😂

    • @sixfeetshakur2634
      @sixfeetshakur2634 ปีที่แล้ว

      Sir, where can I find your discord server, I have questions to ask.

    • @paulburger9904
      @paulburger9904 ปีที่แล้ว +2

      Rust is a great language. It is time well spent.

    • @tanman379
      @tanman379 ปีที่แล้ว

      weeeeiiiiiirrrrrd...exact same here

  • @Magnogen
    @Magnogen ปีที่แล้ว +158

    Lurker here, I've been learning rust for about a week now and I've gotten further with it than I ever have with any other language. I came from JavaScript, and if anyone is on the edge of deciding whether or not to learn it, I wholeheartedly agree that you should definitely give it a go. This video is 100% right

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +13

      I'm excited for you!

    • @Magnogen
      @Magnogen ปีที่แล้ว +4

      ​@@NoBoilerplate

    • @advanceringnewholder
      @advanceringnewholder ปีที่แล้ว +17

      for folks coming from javascript, beware. you might regret learning rust because you'll long for rust while coding javascript. at least that's my personal experience

    • @Magnogen
      @Magnogen ปีที่แล้ว +2

      @@advanceringnewholder hahah yeah this is accurate

    • @minnow1337
      @minnow1337 ปีที่แล้ว +8

      @@advanceringnewholder so true. As a solo fullstack web developer it’s almost never practical for me to use rust in my projects when the rest of the codebase it js. It’s torment

  • @caerphoto
    @caerphoto ปีที่แล้ว +23

    I find the difficulty of lifetimes to be analogous to the difficulty of Rust as a whole: it forces you to think about things up front that you can, in other languages, either ignore entirely (Python, JavaScript, and sometimes only up to a point), or spend endless painful hours debugging under higher technical debt pressure later on (C, C++).

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +3

      That's a great way of looking at it

  • @1234minecraft5678
    @1234minecraft5678 11 หลายเดือนก่อน +21

    This Video had my brain fried. The sentence "failing a test first, then learning better" is so aligned with my own experience you couldnt imagine. Also you really have to take the test, when just looking at old exams it does not has the same effect. My mind was blown.
    Thanks again for your content.

    • @NoBoilerplate
      @NoBoilerplate  10 หลายเดือนก่อน +1

      you should read ultralearning, it's a great book!

    • @1234minecraft5678
      @1234minecraft5678 10 หลายเดือนก่อน

      @@NoBoilerplate already on it, got the ebook on my tablet the first time i've came across it, i think it was in your videos.

  • @theroboman727
    @theroboman727 ปีที่แล้ว +205

    9:17 A little extension to this part: Use references in function parameters. There are other places where using references can mess you up, but in function parameters that can't really happen. You don't need to reference number types though, passing a reference is just as or more expensive than passing the thing itself.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +60

      Yeah, totally agreed, this sort of nuance you pick up in intermediate Rust.

    • @carlosmspk
      @carlosmspk ปีที่แล้ว +12

      I think this isn't 100% true. I think that, for beginners, mainly people coming from GC languages, it's important to get used to how data flows, and drop the reference usage when unnecessary (given that pretty much any GC language just uses references everywhere). It forces you to think a bit more functionally, which Rust incentivizes, and as bonus, code is easier to read.
      It's a purely "psychological" difference, but I think it matters

    • @tordjarv3802
      @tordjarv3802 ปีที่แล้ว +30

      There is a slight misunderstanding in this comment. In rust you don't think in terms of pass by value vs pass by reference, you think in terms of borrowing a value vs taking ownership of a value. It is up to the compiler to determine if values should be copied or passed by reference, in fact only types that implement the copy trait can be thought of in pass by value vs pass by reference terms, but it is better to always think in terms of borrowing and taking ownership otherwise you might end up in strange situations. Also a type should only implement the copy trait if it makes sense that a value should be copied bit wise (because that is what the Copy trait is for) otherwise you should use the clone trait instead.

    • @theroboman727
      @theroboman727 ปีที่แล้ว +3

      @@tordjarv3802 yeah definitely, all this advice is for when the ownership model hasn't fully clicked yet.

  • @malteneuss8058
    @malteneuss8058 ปีที่แล้ว +16

    Coming from Haskell to Rust i appreciate how nice the ergonomics of tooling and how large the ecosystem already is. Every important library is sufficiently documented, the compiler is so quick and helpful, for every problem there seems to exist a library you can build upon, and you can prototype quickly with lots of copy and clone but the code is still frickin fast.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +5

      Isn't it wonderful! I suspect one of the reasons for this is that a *lot* of people, like you and I, are coming from Haskell! Finally we get a popular language with lots of the features we love!

  • @skeetskeet9403
    @skeetskeet9403 ปีที่แล้ว +96

    Glad to have a video I can send to everyone I know who is learning Rust, awesome content!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +6

      Please do, that's my hope! :-)

    • @KeyError
      @KeyError ปีที่แล้ว +2

      Or everyone who is not learning Rust… yet

  • @dragon_pi
    @dragon_pi ปีที่แล้ว +57

    this is a pretty good way of learning it! i especially like the re-taking test comparison: when i learned rust, i look up the very basic syntax, then i tried (and obviously failed, as expected) to write a medium sized project. In that way i also learned what to do better next time. when I *really* learned afterwards (aka reading the rust book, as one does) and made stuff that actually worked, the realization "ahh, thats how you do it, now i know what i did wrong" was amazing! this early designed-to-fail project helped me get a feeling for what i needed to learn

  • @aakura
    @aakura ปีที่แล้ว +37

    I didn't knew "test to learn" is a term someone defined until now. I always do this and helped me to learn many things every efficiently although there are some disadvantages. I thought this process is only my thing until now. Will read the book, thanks for recommendation.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +3

      Cool! Yes, there's lots of other tips in the book, I recommend!

    • @aakura
      @aakura ปีที่แล้ว +1

      Will search for this book in my region.

  • @arijanj
    @arijanj ปีที่แล้ว +46

    This is a beautiful video. I tried learning Rust but also gave up at lifetimes. Then I got into Haskell for entirely unrelated reasons and I noticed how many similarities they shared. Now I know neither of them, but hopefully I get a little better in the future.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +6

      You're primed for a big comeback in your Rust learning, good luck!

    • @morchellemusic2829
      @morchellemusic2829 9 หลายเดือนก่อน +1

      I thought you gonna close with, and now I code in JavaScript

  • @stephenmcconnell7868
    @stephenmcconnell7868 ปีที่แล้ว +27

    In a critical undergrad course (Organic Chemistry), the professor would hand out a pre-test. Most students ignored it for the first couple of tests, but having done the pre-test, I noticed a pattern. Most all Organic Chemistry reactions are totally reversible, It is often the conditions of the reaction that push it one way or another. What the prof had done was have us do the steps of the reaction in one direction, doing “electron tracing” in each step. On the TEST, he had questions on the reverse reaction. Bingo!!!! I picked up on this and scored a 100% on all my exams. I tried to get other students to study with me. The few that did wound up making A’s in the class. It is a perfect example of “Test to Learn” and seeing patterns.

  • @tentaklaus9382
    @tentaklaus9382 ปีที่แล้ว +8

    Been here a while and while I code for work in a range of languages I'm enjoying being inspired by you to keep delving back in to Rust. Great to see the channel growing and you continuing to be the Great Brit we all knew you were!

  • @NicMcPhee
    @NicMcPhee ปีที่แล้ว +4

    Thanks for another excellent video. I’ve also found Rustlings to be pretty much best-in-class for that sort of learning tool, but didn’t know about the Brown edition of The Book and am looking forward to checking that out.

  • @Hrle221
    @Hrle221 ปีที่แล้ว +6

    Started my Rust journey few days ago because of your channel. Having lots of fun coming from C

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +3

      Fantastic! I'm so excited for you :-)

  • @tuo2054
    @tuo2054 ปีที่แล้ว +13

    I downloaded the Ultralearning book on audible. I'm already half-way through. Although you mentioned this book only briefly, it's insane the wealth of knowledge in there that even extends farther beyond Rust or even programming. Thank you for the outstanding recommendation!

  • @GamingMad101
    @GamingMad101 ปีที่แล้ว +6

    I wasn't expecting this, Nice!
    I've only done a bit of rust, but that was for a project which is now finished, I'm excited to learn more

  • @Olegitskillz
    @Olegitskillz ปีที่แล้ว +5

    Ive been trying to learn Rust for a while now and every time I get discouraged and stop for a bit I see one of your videos and it inspires me to keep going. Thank you!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      I'm so heartened, that's exactly what they are for :-)

  • @JeremyChone
    @JeremyChone ปีที่แล้ว +1

    I completely agree. I have a similar graph that shows complexity and scale at 7:29. By placing the right tech in the right place, you can flatten the inevitable complexity curve and dramatically increase velocity, which improves both the quality and speed of delivery.

  • @antoneriksson208
    @antoneriksson208 ปีที่แล้ว +4

    Thank you for Side Quest #2, I had completely missed this resource and it has been very illuminating so far! You videos are what inspired me to learn rust, keep it up!

  • @miguelguthridge
    @miguelguthridge ปีที่แล้ว +36

    One thing that I think is especially difficult to learn is working around the borrow checker, but even more importantly, knowing when you shouldn't work around the borrow checker.
    When I just started learning Rust, I had worked on a project where my design didn't really work well with the borrow checker at all. No matter what I tried, it wouldn't compile. At the time I remember being extremely frustrated with Rust, however in hindsight I now see that the reason the borrow checker didn't like my code is because it wasn't well-designed. I would have saved so much time if I had just planned ahead and come up with a design that didn't have circular dependencies. Even in languages without a borrow checker, designs like that will eventually be your downfall - I've had many projects devolve into an unmaintainable mess due to poor planning.
    Basically, while I didn't realise or appreciate it at the time, Rust's design was pushing me towards better software design from the get-go.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +8

      That's a really great take and one I was helping a patron I'm mentoring out with. Tree structures are REALLY easy to reason about so long as they don't have cycles! Nice!

    • @TehKarmalizer
      @TehKarmalizer ปีที่แล้ว +1

      That kind of inversion can be really useful, though, like when parents know about their children, but children also know about their parents. It can be done in roundabout ways, but they may be more prone to other kinds of programmer errors than simply allowing that kind of relationship.

    • @NonJohns
      @NonJohns ปีที่แล้ว +3

      I fell in love with rust when i ran the complier the first few times and it gave advice for my code.
      something about the complier enforcing preemptive/preventive coding habits just clicked and showed me that this was a language made by experienced teachers and I'd have a great time learning rust, and even how to code

  • @therealgamer8150
    @therealgamer8150 8 หลายเดือนก่อน +5

    Here is my dilemma: Yes rust is cool, and it can be fast, and it can be elegant etc. But in the real world, the C# JIT is so good that often the c# version of my app is faster than the rust version. Because all this added complexity nukes my ability to build the abstract ideas in my head first and just type them out. Now all of a sudden I have to have this hierarchy of ownership that locks down my architecture. If I discover a problem and need to redesign, it often breaks the entire ownership chain and requires me to basically start again. In C# I just change it, and the JIT does all that work for me

  • @lhd7105
    @lhd7105 หลายเดือนก่อน +1

    No boiler plate totally doing this learning path for Rust learning thank you so much for your self-less free coaching on this matter

  • @ambuj.k
    @ambuj.k ปีที่แล้ว +4

    I started watching your videos 4 months ago and went through a lot of rust resources(including the book), projects and a lot of compiler errors. Javascript was my first language before Rust.
    I just love how rust prevents you from shooting yourself in the foot every step of the way. It also gave me one more superpower to learn any other C like language but faster.

  • @retrodad9390
    @retrodad9390 ปีที่แล้ว +12

    Done many languages for backend high-performance systems for more than 20 years(C++ / C#), and rust fits in my head for more reasons. The only thing, I hope that there will be better IDE's (with better refactor tooling) and that there are more packages/crates that are stable and at least version 1.0. This is the jobs for us as a community. Thanks for the info and tips!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +6

      Two thoughts come to mind about that:
      1. VSCode with rust_analyzer is really very good. Refactoring, following code definitions etc, there's a LOT there, just right click! (map it to a hotkey once you use it a lot)
      2. Rust crates don't get abandoned before 1.0, they just are finished. The language is so good at up-fronting all cases, that I trust a 0.2 rust crate significantly more than a 1.0 python package!

    • @gang_albanii
      @gang_albanii ปีที่แล้ว

      Intellij rust plugin is kinda good nowadays. On ms notepad everything is glitchy and sucks so no wonder why rust is no exception.

    • @riverrunsthrough8268
      @riverrunsthrough8268 11 หลายเดือนก่อน

      @You Tube nice bait

  • @TheJayman213
    @TheJayman213 ปีที่แล้ว +3

    Woah, thanks for the pointers. Obviously, some people might learn differently but this definitely sounds plausibly better than what I'm doing: Reading the book throughly and doing quizzez on the first go and occasionally doing exercism exercizes. (All of which I mostly do during downtime at work)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I hate to do this to you, but you need to read about python's Global Interpreter Lock. A feature they plan to still have in Python 4. Great for learning and easy code, absolutely falls apart at scale.
      Python's great though! Keep on coding in it, you'll eventually want to learn other languages, and you'll find it easier to learn the next one, which can be Rust :-)

  • @avishah9406
    @avishah9406 2 หลายเดือนก่อน

    What an introduction, right on the spot, I am hooked!

  • @mlsandreas
    @mlsandreas ปีที่แล้ว +1

    Just found your channel, and this video is great!! Going to watch your previous videos and waiting for the next!!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you very much! I've put all my rust content into a playlist th-cam.com/video/Q3AhzHq8ogs/w-d-xo.html

  • @BTWAIDS
    @BTWAIDS ปีที่แล้ว +3

    Went from py and some JavaScript to Rust and it was kind of fun working through the rustlings. Didn’t think there would be a whole bunch of new concepts to learn

  • @navicore
    @navicore ปีที่แล้ว +4

    excellent vid. I appreciate the Haskell point for learning :) and especially appreciate the advice to avoid ref in favor of ownership and copying until the compiler pushes you.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +4

      Haskell was a great thing to learn early on in my career

  • @AndrewBrownK
    @AndrewBrownK ปีที่แล้ว +2

    Lifetimes are a real game changer for APIs. At first you think it is a chore for memory but later you realize the power of type level state and use-only-once methods/services

  • @fliplucky8813
    @fliplucky8813 ปีที่แล้ว +1

    I want to learn rust somewhere in the future, but not as of now.
    Still, everytime i see a new video of you, i make sure I can watch it as soon as possible.
    Your naration + videos are amazing.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you so much! Perhaps you'd like more of my narration in my scifi series, Lost Terminal? th-cam.com/video/p3bDE9kszMc/w-d-xo.html

  • @sharperguy
    @sharperguy ปีที่แล้ว +6

    The problem with cloning is that you will lie awake at night thinking about how your could remove it. Even if it barely affects the performance of your code. I have one problem I've been stuck on for 3 years where I wanted my function to take in an iterator and return an iterator, rather than having to collect() it into a vector. Problem is along the way a new struct gets created that the resulting iterator must hold as a reference. Tearing my hair out about how to make that struct live long enough.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      This is the perfect problem to post on my discord in #programming - there's lots of smart nice people who might have ideas for you! :-)

  • @256k_
    @256k_ ปีที่แล้ว +3

    great video as usual! did not expect to see a reference to haskell in a video about learning rust! that was a surprise! but a very good proposition.
    i'm in the process of learning rust after many years of being a professional js developer, while i'm still far away from being able to do any significant functionality in rust, i'm starting to really understand and appreciate its syntax and the benefits that come along with it. funnily enough, the concept of borrowing and ownership was probably the least complicated thing for me to understand, it was a lot more about traits and enums and all those things since i never really had much experience with typed languages.
    Looking forward to a future filled with many rust jobs and no more javascript pain.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      What a dream! Do check out my 'space station' video for advice about enums, if you still need help there!

    • @miguelguthridge
      @miguelguthridge ปีที่แล้ว

      Best of luck with your learning! Trust me, learning Enums will be worth it, I can't look at Enums in any other language the same way ever again

    • @256k_
      @256k_ ปีที่แล้ว

      @@miguelguthridge @no Boilerplate Thank you both

  • @0xDEAD_Inside
    @0xDEAD_Inside ปีที่แล้ว +1

    Another great video as always! I always look forward to your next videos, especially on rust.

  • @manyfak
    @manyfak ปีที่แล้ว +1

    I love your videos! I was always interested in Rust, but you made me EXCITED for it

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I couldn't be more delighted - this language is SO GOOD everyone needs to hear about i!

  • @TobiasFrei
    @TobiasFrei ปีที่แล้ว +3

    Many thanks for this.
    While I'm well into my second year with Rust and able to leverage fasterhanlime's projects, I am still rather slow when coding and fixing compile-time errors. Therefore: repetition and muscle memory are key!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Fantastic, you're not too far behind me, I'm learning every week too :-)

  • @theinhumaneme
    @theinhumaneme ปีที่แล้ว +4

    I've been planning to start RUST this week, and I see this video, perfect timing

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      That is great! Good luck, do watch my other videos for inspiration!

    • @theroboman727
      @theroboman727 ปีที่แล้ว

      Its not an acronym BTW, so don't type it in all caps.

    • @theinhumaneme
      @theinhumaneme ปีที่แล้ว

      @@theroboman727 😐

  • @guilhermeraposo6080
    @guilhermeraposo6080 ปีที่แล้ว +1

    Every time I'm frustrated trying to learn something in rust I watch this video again and jump right back into it. You da best man!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I couldn't be more happy - this is what it's about! Rust is very unfamiliar, you gotta remind yourself why you're doing it! Try my other rust videos too!

  • @glyakk
    @glyakk 8 หลายเดือนก่อน +2

    This is one of the best ways I have ever found to learn for myself. When I find a way to 'skim' material quickly then go back to review it I always do much better at understanding and retention. When I used to always start at the beginning try to learn one step at a time, my brain would struggle with what to do with this new information, and how it might relate to everything else causing me to not have a great mental model.

    • @NoBoilerplate
      @NoBoilerplate  8 หลายเดือนก่อน

      It's a really genius idea, I wish I had known about this effect at university! BTW Ultralearning has other great ideas in, a great read.

  • @bsd0daemon
    @bsd0daemon ปีที่แล้ว +10

    Great video as always.
    I'm always talking about Rust to developers.
    The learning curve is always a turnoff, but I often explain (as you do) that it's steep, but flattens of rather quickly.
    The other worry is having to worry about things they didn't used to, so I also suggest they can go really deep with memory concerns, or just ignore that, clone everything, and worry about performance later. Inevitably, they're already picking up using references before it ever gets to a performance issue simply because they're modeling their problem more correctly now.
    So this video is rather validating for me.

  • @logicprojects
    @logicprojects ปีที่แล้ว +6

    Great video as always! You're probably the best spokesman Rust has at the moment.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you very much! I'm trying!

  • @SirG3n3ral
    @SirG3n3ral ปีที่แล้ว +2

    I've started the journey with the book, but never considered using rustlings and rust by example at the same time. Thanks for the video!

  • @Szczezam
    @Szczezam ปีที่แล้ว +1

    to keep things short. I like this. I like the way you did this and the other things you have done here. Thank you!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you so much for telling me Max, that's very kind of you! :-)

  • @howdyimflowey4341
    @howdyimflowey4341 ปีที่แล้ว +10

    It's been a long time since I started learning Rust, and I sure wish your video was available back then!
    Great summary of what to do to learn it, and the approach to lifetimes is exactly what I did (skipping the cloning).
    People who say Rust is difficult are just too used to fail at runtime.
    You could've also talked about unwrapping, and why it's a great tool for the developer to know what points of the program can fail.
    Great video, keep up with the good work!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      Thank you! I did a whole video on unwrapping, do check out the whole playlist! th-cam.com/video/sbVxq7nNtgo/w-d-xo.html

  • @notafbihoneypot8487
    @notafbihoneypot8487 ปีที่แล้ว +7

    Everyone kept telling me to not learn rust as my first program Language. And from all the online help I can fully say.
    Its hard but dont give up and dont listen to the haters

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      nice!

    • @theroboman727
      @theroboman727 ปีที่แล้ว +1

      You can learn rust as your first language and if your primary goal is to make stuff with rust, then do that. But if the goal is programming in general then choosing something easier first is good to avoid frustration

    • @notafbihoneypot8487
      @notafbihoneypot8487 ปีที่แล้ว

      @@theroboman727 I'm learning it to get a GF.
      I heard Rust devs get the most Women

  • @Felipe-53
    @Felipe-53 ปีที่แล้ว +1

    Started to learn it because of you and have to say it's been awesome! Thanks

  • @bombrman1994
    @bombrman1994 2 หลายเดือนก่อน

    i started reading some early simple topics then got into rustlings and it was fun learning it. Now I will start translating a C++ program into rust

  • @sebastiangudino9377
    @sebastiangudino9377 ปีที่แล้ว +3

    I fully agree with the "No references only copying" tip. They way rust handles solves the memory management problem is by a logical enforcement and tracking of move semantics (By using the abstraction of 'Borrowing'). If you are a C++ developer. Move semantics are one of the most complex advanced topics that you will have to deal with. Having rust developers have to worry about that from the start is madness. Specially when they come from high level languages and they don't even know about pointer or "The heap"

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      It's MAYBE not quite "madness" but it is EXTREMELY CHALLENGING. Worth it, but oof!

  • @zenshade2000
    @zenshade2000 ปีที่แล้ว +7

    The thing I find most awesome about Rust is that if it compiles, the program works flawlessly almost EVERY SINGLE TIME. As a game programming hobbyist, I can honestly say I made more progress in a mere 3 months with Rust (while learning it on the fly, no less), than I had in the previous 3 years using C.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      YES! I adore this feeling so much, my life is so much more relaxing!
      RUST IS BORING: th-cam.com/video/oY0XwMOSzq4/w-d-xo.html

    • @zhenia0zuser
      @zhenia0zuser 11 หลายเดือนก่อน +1

      Which game engine do you use?

    • @NoBoilerplate
      @NoBoilerplate  11 หลายเดือนก่อน

      @@zhenia0zuser I'm interested too, I've been very impressed with Bevy

    • @zenshade2000
      @zenshade2000 11 หลายเดือนก่อน

      @@zhenia0zuser I mostly use Bevy now, but I learned Rust by working through Herbert Wolverson's Hands On Rust book.

    • @zhenia0zuser
      @zhenia0zuser 11 หลายเดือนก่อน

      @@zenshade2000 Which one was with C?

  • @Mikenight120
    @Mikenight120 ปีที่แล้ว +1

    Nah your something else, I just subscribed today and thank you in another video and now you drop in a new rust video. Your awesome!

  • @thiszsprta2639
    @thiszsprta2639 ปีที่แล้ว +1

    I have never been so excited to learn something new. thank you so much. the way you put like a rpg game gives me new perspective on learning.. something I have been hearing for a long time but never actually done.. I am gonna be back after I completed the whole thing

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I'm delighted! Good luck traveller! :-D

  • @mattboemer4549
    @mattboemer4549 ปีที่แล้ว +5

    You deserve more subscribers. Been watching your videos for a while now and I didn’t even bother to check your sub count or subscribe myself. You make me excited to learn programming each day- even tho I’m not learning rust. I want to get good enough at js and Python to really hate them so I can switch to rust but stay humble.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I'm so pleased! you can of course get a lot of valuable work done in JS and Python, I certainly have over the years, and there's nothing stopping you from learning Rust too! It's not like any of them will be the last language you and I learn, right? :-D

  • @vkexplores
    @vkexplores ปีที่แล้ว +8

    This guy is a perfectionist in making his videos.. 👏🏻👏🏻👏🏻

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +5

      Thank you!
      You wouldn't *believe* how expensive the microphones I'm looking at buying are XD
      Don't be a perfectionist, kids!

  • @lyravaz
    @lyravaz 3 หลายเดือนก่อน

    I'm getting started in the programming world with Rust and I'm really enjoying the experience!

  • @simis_tld
    @simis_tld ปีที่แล้ว +1

    Yet another of your beautiful inspiring videos that I can't get enough of! Thank you 🙏

  • @hotfishdev
    @hotfishdev ปีที่แล้ว +4

    You didn’t mention the version of the book with little quizzes mixed in! That’s how I went through it and being “forced” to understand stuff before moving on worked pretty well for me!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      I actually did, check again!

    • @hotfishdev
      @hotfishdev ปีที่แล้ว +2

      4:52, very happy to be wrong on this. 😊

  • @porlando12
    @porlando12 ปีที่แล้ว +7

    I'm an R guy, but you make Rust sound very appealing. It would be exciting to see you cover the Polars library sometime!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Polars looks cool! I'm not in the stats/data world, but I'll keep it in mind for a future video!

  • @Robay146
    @Robay146 7 หลายเดือนก่อน +1

    Thank you, for this. This video has got me excited! Was looking for a language that can do it all.

    • @NoBoilerplate
      @NoBoilerplate  7 หลายเดือนก่อน

      Me too! I feel like I could specialise on this one single language for all my projects (web, backend, embedded) for the rest of my career!
      This must be what C developers felt like in the 80s XD

  • @chris.dillon
    @chris.dillon ปีที่แล้ว +2

    Good video, I seem to have stumbled into many of these things already by luck and there were new bits of advice. Thanks for saying I can copy and clone everything, validating for now. :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      That's great to hear for me too! I'm only 90% sure, and if I hear any better ideas, I'll add them to the ERRATA comment!

  • @thomasfrans1185
    @thomasfrans1185 ปีที่แล้ว +11

    This is probably your best video so far. Everything mentioned in this video is something I experienced while learning Rust. I think this is a valuable resource for new Rust developers who want to learn the language.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you so much! The numbers certainly agree with you!

  • @porky1118
    @porky1118 ปีที่แล้ว +2

    9:55 When I was new to Rust, I didn't fear using references, even if they had lifetime annotations. Now, years later, I try to avoid explicit lifetimes alltogether and only use them if there is no chance to avoid them.
    But there are a few cases where I really want lifetime annotations, especially in structs. Normally when I want some kind of accessor to some data, which should not be modified or go out of scope as long as the accessor exists.
    For example I used this to call some function safely. Calling the function is only safe if I specify a valid parameter. So instead of calling the function directly, I created a struct, which lists all valid parameters, and in order to call it, I only specify the index of the parameter I want to call.
    But iterators are also a good example for this.

  • @derickrobinson8078
    @derickrobinson8078 3 หลายเดือนก่อน

    Sir, I am currently learning Rust, lifetimes had me stressed out for weeks! Thanks for being indulgent about it in your video, it makes me feel like I can still work with Rust not using lifetimes every single time and will eventually learn how to use them anyway!

  • @americanbagel
    @americanbagel 11 หลายเดือนก่อน +4

    Thanks for the Ultralearning recommendation! Nothing excites me more than a good book recommendation.
    Also, I'm going rusty because of you. You are a sneaky crab making everyone rusty 😂

  • @sylvanfranklin6904
    @sylvanfranklin6904 ปีที่แล้ว +3

    Could you do a video on your NeoVim config?

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Vanilla Astronvim! astronvim.com

  • @samdavepollard
    @samdavepollard ปีที่แล้ว +1

    Good one.
    Many Thanks for sharing your knowledge and experience.
    This hobbyist gave Rust my best efforts but gave up. Now keen to try again. Will definitely be using your suggestions. Thanks again.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      It's ok to give up and try again, as I did! Do watch my other Rust videos for inspiration, there's a LOT of exciting stuff here! Start here th-cam.com/video/oY0XwMOSzq4/w-d-xo.html

    • @samdavepollard
      @samdavepollard ปีที่แล้ว

      @@NoBoilerplate Many Thanks, Tris.
      Yeah, giving up and trying again is pretty much my standard MO, for lots of things. :-) I get bored if stuff is too easy LOL.
      I already had 'The Book' so quickly reading that again. Up to end of chapter 6 and kind of surprised at how much sense it's making. Must be remembering more Rust than I thought I would. Also picked up a copy of Ultralearning which is proving very interesting. Will be checking out more of your content for sure. Thanks again and Good Luck with all that you're working on

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      @@samdavepollard thank you! Do come and say hi on my discord if you like!

  • @shadowangel8005
    @shadowangel8005 ปีที่แล้ว +1

    Struggling with so much, rust is very alien from what I'm use to which makes it very exciting to learn for me.
    I read right though the book quickly, and built some basic apps putting that knowledge to test.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Fantastic, have you seen my Rust series? Here's the playlist th-cam.com/video/br3GIIQeefY/w-d-xo.html

  • @ardnys35
    @ardnys35 ปีที่แล้ว +4

    the "simple things are easy, complex things are possible" hurts on a personal level. that's one of the reasons i want to learn rust.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Rustlings is phenominal, get 'em installed!

  • @fyu1945
    @fyu1945 ปีที่แล้ว +4

    The thing about rust, is that I only started learning it a month ago and yet I already feel frustrated, when python, C, C++ or Java (I'm a CS student) does something in a way that Rust solves much cleaner and safer. I'm especially fond of how Rust handles exceptions. It's so much more natural than any other language I've seen

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      I can't bare to write other languages now, it's so painful.

    • @vicky-kq6kn
      @vicky-kq6kn 11 หลายเดือนก่อน +1

      You can take a look at the "Rust Quick Start Guide---Master Rust Programming Basics" course recently launched by @Tintinland and the co-founder of the Rust language Chinese community and senior Rust developer Mike Tang.
      The course starts at the end of June. You can gain a deep understanding of the core concepts of Rust, develop simple Rust code independently, and get accompanied learning by technical experts. After the course is over, there will be job postings~ I have signed up!

  • @nyxalexandra-io
    @nyxalexandra-io ปีที่แล้ว +1

    Rust is the first language I ever used that makes so much sense
    I enjoy how it makes you write good code

  • @1myfriendjohn
    @1myfriendjohn ปีที่แล้ว +1

    Thanks for this Tris, I am just starting out in Rust and this video is gold.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I'm delighted! Have you seen the whole playlist? You need a lot of excitement to get through the initial challenges, imo. th-cam.com/video/CJtvnepMVAU/w-d-xo.html

  • @0thLaw
    @0thLaw ปีที่แล้ว +3

    Somehow, Rust seems best or at least great for any use case at all. Many languages are marginally better when the problem is tuned in the right way, but focusing on Rust just seems a great move career- and life-wise as a developer.

  • @sp3cterproductions
    @sp3cterproductions ปีที่แล้ว +5

    50 people startup sounds like a business with a mid-life crisis.

  • @BusinessWolf1
    @BusinessWolf1 ปีที่แล้ว +2

    4:30 What you talk about here is a concept I discovered while learning to do various creative things digitally. Knowing what is possible first is a major key to learn MUCH faster. I had watched photoshop videos for years up until I finally pirated it in 9th grade. Took me little to no time to learn the tools 1 by 1, and pretty soon I was making decent edits. And now, about 2 weeks ago I took a photo of myself for my LinkedIn, and noticed some tape on the wall behind me. Because I took the picture in my room and I have sheets of paper with plans and stuff hung up to keep me in the right headspace. In like 5 minutes I had a perfect wall behind me with 0 blemishes of any kind, my hair was not messy at all and my suit jacket had no lint on it.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Fantastic! This attitude will help you learn anything you want in life :-)

  • @FarmingtonS9
    @FarmingtonS9 ปีที่แล้ว +2

    8:39 this is the best view I've heard about the purpose of lifetime annotations. Prior, I never thought lifetimes like that. Cheers NB, for making concepts easy to explain.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      My pleasure! I took most of that info from The Book, so I can't take all the credit :-)

  • @xkali8119
    @xkali8119 ปีที่แล้ว +103

    A bonus motivation: AI doesn't know how to write rust yet. It tries, but it mostly fails. It might take it longer to learn it, so rust jobs will be safer for that much time.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +27

      Heh, that's not been my experience, copilot works great!

    • @xkali8119
      @xkali8119 ปีที่แล้ว

      @@NoBoilerplate My experience is with ChatGPT, so it's possible we are both right!

    • @zigang93
      @zigang93 ปีที่แล้ว +2

      Are you sure that you are safe? nothing is safe when AI start to master one of programming language, don't even ignore that what AI can do for next few months.. it is just the beginning

    • @xkali8119
      @xkali8119 ปีที่แล้ว +2

      @@zigang93 I'm pretty sure I'm not, that's why programming is not my main focus, but info security and machine learning. I'm just saying that there are languages that need you to have deeper understanding on what's "under the hood", and it will take ai longer to master them.

    • @0thLaw
      @0thLaw ปีที่แล้ว

      Or it’s actually easier I’d say. The language is much richer, more exact and precise. And so is every open-source project that compiles. So it’s all there if the machine can read it.

  • @daniel-wood
    @daniel-wood ปีที่แล้ว +3

    After many months of listening to you evangelism, I have finally set aside a serious block of time to go through the Rust Book. Currently on chapter 7.
    I hope that you find time to make a video about how Rust approaches modules/submodules, public versus private stuff, paths, etc. The book itself uses this... utterly bizarre restaurant analogy that just baffles me

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Hehe - try Rust By Example - much better single-and-multiple file examples of modules there.
      But I'll make a video on it soon!

  • @F_Around_and_find_out
    @F_Around_and_find_out 10 วันที่ผ่านมา

    I started my programming journey with Python, and I still love the language for its simplicity and its ability to set things up and going. Then I heard about Rust, about how memory safe it is. It is a big step up, code seems harder to read at first. But the more I read, break down the syntax to understand what it does, I found clarity in Rust, it's predictable, it does what you tell it to and just you, or it can refuse to compile straight up, it wants you to be precise, and that has been the thing driving me to keep learning it.

  • @DiscipleW
    @DiscipleW ปีที่แล้ว +1

    That hyped me! Very well done!

  • @abnoco
    @abnoco ปีที่แล้ว +8

    The deeper I got into JS, there more janky it felt. Watch any JS tutorial and they will undoubtedly start with bringing in a half dozen libraries. And that's just to get started. If you find a plain vanilla tutorial, what is built is not practical. So if you sign up to learn JS, you're really learning React, Node, Express, EJS, Axios, FlavorOfTheDayPackage, etc.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      I just can't anymore.

    • @jesuszorrilla7941
      @jesuszorrilla7941 ปีที่แล้ว +1

      Most of those are not necessary.
      You can build fast JavaScript UI by abstracting de default document createElement method the way you want, so no libraries, no installs, no nothing.
      Also jsDoc works really well, so no compilation needed (you can also get typescript types intellisense without adding a compiler using it)
      Node has an http server library by default, and while routing is not so polished as when using express, you dont need to care about libraries at this point.
      There are only so many things you'll need:
      1. A server.js with default http module to serve your file
      2. An html file to load your script
      3. An script calling/importing/loading everything the vanilla way
      So no need for any fancy framework or library if you are starting...
      Note: you can bypass bundles by creating an async function that adds an script tab to load files and cache it on a global object, next you'll need to just await myrequirefunction(src)

    • @user-wv1in4pz2w
      @user-wv1in4pz2w ปีที่แล้ว

      Rust is the only language I know that makes more sense the more you know about it, not less.

    • @jesuszorrilla7941
      @jesuszorrilla7941 ปีที่แล้ว

      @@user-wv1in4pz2w thats true... but take care that it can can said the same things (to many libraries to care while starting a project) about rust.
      By default js can handle webgl, image processing, audio, video, ui, http requests, web sockets and even databases without loading any library (it depends if you are on browser or a server)... Most of those things will need a library in rust, that may make the final product into the MBs realm really fast, while a js project is still in the manageable realm.
      So, its not fair to say you need many libs in js and not in rust

    • @Marhaenism1930
      @Marhaenism1930 ปีที่แล้ว

      @@jesuszorrilla7941 i'd love ur answer dude, even we can build a mini game browser without any frameworks/libs/packages.. maybe they forgot about nodejs built-in APIs too.

  • @jalendixon5894
    @jalendixon5894 ปีที่แล้ว +3

    I don't enjoy how easy it is for me to believe everything you say hahah

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I'm trying to use this power for awesome, not evil :-D
      If you want to hear me in a different context, I have a scifi story podcast I'd love to know what you think of th-cam.com/video/p3bDE9kszMc/w-d-xo.html

  • @UnhingedNW
    @UnhingedNW ปีที่แล้ว +1

    Ohh this sounds like really good advice. I was just starting to mess around with Rust and this sounds like an awesome way to approach it.

  • @bravelygeorge
    @bravelygeorge 11 หลายเดือนก่อน +1

    As someone that has fallen off the rust bandwagon for the exact same reasons listed in this videos, this was very helpful. Also having some experience writing functional code with typescript and fp-ts, many of the functional concepts in rust become obvious and appreciated. Will be giving it another try

    • @NoBoilerplate
      @NoBoilerplate  11 หลายเดือนก่อน +1

      If you need a boost, have a look at my other Rust videos :-)

  • @quarkstar
    @quarkstar ปีที่แล้ว +3

    don't like to do.. "first"
    but maybe I am.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      My errata comment is always first :-D

  • @Requiem100500
    @Requiem100500 ปีที่แล้ว +4

    This video is not endorsed by The Rust Foundation™

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      It's too soon to judge.
      Something I learned while working in the UK Government's digital department was not to worry too much what the lawyers and politicians are doing, they do and say insane things every single day.
      And guess what: It doesn't really affect us very much down here, on a long enough timescale.
      In a year they'll be long gone, and we'll still be here, building the future.
      My attention is finite, I choose to use it on more interesting things 😄

    • @goose_clues
      @goose_clues ปีที่แล้ว

      @@NoBoilerplate report as spam comments

  • @WilliamServigna
    @WilliamServigna ปีที่แล้ว +2

    would be fantastic to hear talk about some of the Rust frameworks out there, I started building a small API using Nickel, and the overall performance of the API blew me away, I'm now pushing it into my wider org, it's definitely something worth exploring. Especially with things that involve hardware

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Very nice! My fav is poem-openapi, but honestly you can't go wrong with this list, as you say, they ALL blow other language out of the water web-frameworks-benchmark.netlify.app/result?asc=0&l=rust

  • @oredaze
    @oredaze ปีที่แล้ว +1

    Your hype videos are actually really helpful for my motivation!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      This is the way

    • @oredaze
      @oredaze ปีที่แล้ว

      @@NoBoilerplate This is the way.
      xD

  • @Sahil-a-vim-user
    @Sahil-a-vim-user ปีที่แล้ว +3

    I love the rust propaganda. Am with ya! 🔥

  • @ivanmeyers2660
    @ivanmeyers2660 ปีที่แล้ว +4

    I'm sorry dude but, You are infringing on Rust trademark copyrights now.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +3

      It's too soon to judge.
      Something I learned while working in the UK Government's digital department was not to worry too much what the lawyers and politicians are doing, they do and say insane things every single day.
      And guess what: It doesn't really affect us very much down here, on a long enough timescale.
      In a year they'll be long gone, and we'll still be here, building the future.
      My attention is finite, I choose to use it on more interesting things 😄

  • @Zeratek
    @Zeratek ปีที่แล้ว +1

    This is one of those videos where I will watch multiple times so I can open all the resources and save them. Thank you great video!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      My pleasure! Check out my other videos for more exciting Rust features!

  • @d3vilm4ster
    @d3vilm4ster ปีที่แล้ว +1

    I'm glad I found you! Thanks in advance!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      My pleasure! Do check out my other rust videos!

  • @Howard_Roark
    @Howard_Roark ปีที่แล้ว +3

    Please talk about RUSTs new terms of service that is making everyone wanna leave.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      It's too soon to judge.
      Something I learned while working in the UK Government's digital department was not to worry too much what the lawyers and politicians are doing, they do and say insane things every single day.
      And guess what: It doesn't really affect us very much down here, on a long enough timescale.
      In a year they'll be long gone, and we'll still be here, building the future.
      My attention is finite, I choose to use it on more interesting things 😄

    • @Howard_Roark
      @Howard_Roark ปีที่แล้ว

      @@NoBoilerplate I definitely understand that an agree. I am hopeful they are smart about it. Trademark laws are interesting because you can loose your trademark if you don’t enforce it.
      So hopefully it all works out well because everyone I know is working with Rust right now.

    • @chudchadanstud
      @chudchadanstud ปีที่แล้ว

      @@NoBoilerplate In the UK it definitely effects us. It was enough to trigger brexit and to make Scotland want a second referendum on independence. The Scots will vote for anything that says independence.

  • @nayans710
    @nayans710 ปีที่แล้ว +1

    Wow, this is immensely helpful to me. Thank you!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      My pleasure! Check out my other Rust videos too!

  • @hyperscaler
    @hyperscaler 8 หลายเดือนก่อน +1

    This is hands down the best guide on how to start learning Rust. Very useful, you earned a subscriber. 👏👏👏

    • @NoBoilerplate
      @NoBoilerplate  8 หลายเดือนก่อน

      Thank you so much! I'm starting to write a Rust-from-scratch course, so you'll see that here on my channel soon - for free!

  • @Cargren18
    @Cargren18 4 หลายเดือนก่อน

    Wow ! I was about to search "How To Learn Rust" and youtube recommends me a video that has the exact same title what I was about to search and thanks for the video as it was quick and on point.

    • @NoBoilerplate
      @NoBoilerplate  3 หลายเดือนก่อน +1

      amazing, thank, you!