How to Learn Rust

  Рет қаралды 501,913

No Boilerplate

No Boilerplate

Жыл бұрын

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 100
@NoBoilerplate
@NoBoilerplate Жыл бұрын
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 Жыл бұрын
now THAT is a flex
@tyronewilson6463
@tyronewilson6463 Жыл бұрын
Wild
@NoBoilerplate
@NoBoilerplate Жыл бұрын
@@Askerad I'll update it when inevitable mistakes are pointed out! I've yet to have a video that has no corrections 😀
@voidvenom7452
@voidvenom7452 Жыл бұрын
Hilariously, Google will translate to "ERRATUM all()"... but there are none I can see
@zoetje9817
@zoetje9817 Жыл бұрын
@@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 Жыл бұрын
For anyone wondering what a monad is: it's just a monoid in the category of endofunctors. Pretty straightforward, really.
@thekwoka4707
@thekwoka4707 Жыл бұрын
And who is Malloc? Questions for another time I guess.
@kennethbeal
@kennethbeal Жыл бұрын
@@thekwoka4707 Moloch's brother? :)
@bigsmoke6414
@bigsmoke6414 Жыл бұрын
how did i not think of this?!
@Yagdrassyl
@Yagdrassyl Жыл бұрын
@@thekwoka4707 A prominent member of the band "Gorillaz"
@RafaelCamposNunes
@RafaelCamposNunes Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@NoBoilerplate (With some languages you can iteratively machine gun both feet. I name no names.)
@durnsidh6483
@durnsidh6483 Жыл бұрын
​@@chrissaltmarsh6777 perl?
@chrissaltmarsh6777
@chrissaltmarsh6777 Жыл бұрын
@@durnsidh6483 perl is special. All sort of body parts are at risk.
@gregorywpower
@gregorywpower Жыл бұрын
This was a real treat to read. 😂
@adamd0ggg2
@adamd0ggg2 Жыл бұрын
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 Жыл бұрын
I'm delighted to have your account, thank you!
@TehKarmalizer
@TehKarmalizer Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 ай бұрын
@@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.
@enque01
@enque01 Жыл бұрын
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 Жыл бұрын
Right! It's so obvious in HINDSIGHT!
@ashen_dawn
@ashen_dawn Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@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
@ChronosWS
@ChronosWS Жыл бұрын
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 Жыл бұрын
The best thing is that they might eventually be mostly optional, the core team keeps making the compiler smarter and smarter!
@theroboman727
@theroboman727 Жыл бұрын
​@@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
@Magnogen
@Magnogen Жыл бұрын
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 Жыл бұрын
I'm excited for you!
@Magnogen
@Magnogen Жыл бұрын
​@@NoBoilerplate
@advanceringnewholder
@advanceringnewholder Жыл бұрын
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 Жыл бұрын
@@advanceringnewholder hahah yeah this is accurate
@minnow1337
@minnow1337 Жыл бұрын
@@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 Жыл бұрын
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 Жыл бұрын
That's a great way of looking at it
@IsohFM
@IsohFM Жыл бұрын
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 Жыл бұрын
I'm so pleased! Do come and ask questions in #newbie-advice on my discord if you need help, and GOOD LUCK!
@Proprogrammer001
@Proprogrammer001 Жыл бұрын
I read that as "Rust 2" 😂
@sixfeetshakur2634
@sixfeetshakur2634 Жыл бұрын
Sir, where can I find your discord server, I have questions to ask.
@paulburger9904
@paulburger9904 Жыл бұрын
Rust is a great language. It is time well spent.
@tanman379
@tanman379 Жыл бұрын
weeeeiiiiiirrrrrd...exact same here
@theroboman727
@theroboman727 Жыл бұрын
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 Жыл бұрын
Yeah, totally agreed, this sort of nuance you pick up in intermediate Rust.
@carlosmspk
@carlosmspk Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@tordjarv3802 yeah definitely, all this advice is for when the ownership model hasn't fully clicked yet.
@1234minecraft5678
@1234minecraft5678 10 ай бұрын
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 ай бұрын
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.
@skeetskeet9403
@skeetskeet9403 Жыл бұрын
Glad to have a video I can send to everyone I know who is learning Rust, awesome content!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Please do, that's my hope! :-)
@KeyError
@KeyError Жыл бұрын
Or everyone who is not learning Rust… yet
@dragon_pi
@dragon_pi Жыл бұрын
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
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Fantastic!
@malteneuss8058
@malteneuss8058 Жыл бұрын
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 Жыл бұрын
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!
@aakura
@aakura Жыл бұрын
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 Жыл бұрын
Cool! Yes, there's lots of other tips in the book, I recommend!
@aakura
@aakura Жыл бұрын
Will search for this book in my region.
@arijanj
@arijanj Жыл бұрын
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 Жыл бұрын
You're primed for a big comeback in your Rust learning, good luck!
@morchellemusic2829
@morchellemusic2829 9 ай бұрын
I thought you gonna close with, and now I code in JavaScript
@Hrle221
@Hrle221 Жыл бұрын
Started my Rust journey few days ago because of your channel. Having lots of fun coming from C
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Fantastic! I'm so excited for you :-)
@tentaklaus9382
@tentaklaus9382 Жыл бұрын
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!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Hehe, thank you!
@miguelguthridge
@miguelguthridge Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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
@Olegitskillz
@Olegitskillz Жыл бұрын
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 Жыл бұрын
I'm so heartened, that's exactly what they are for :-)
@antoneriksson208
@antoneriksson208 Жыл бұрын
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!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Wonderful, I'm delighted!
@tuo2054
@tuo2054 Жыл бұрын
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!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
My pleasure!
@GamingMad101
@GamingMad101 Жыл бұрын
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
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Wonderful!
@NicMcPhee
@NicMcPhee Жыл бұрын
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.
@stephenmcconnell7868
@stephenmcconnell7868 Жыл бұрын
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.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
awesome!
@ambuj.k
@ambuj.k Жыл бұрын
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.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
I'm delighted!
@retrodad9390
@retrodad9390 Жыл бұрын
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 Жыл бұрын
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
@lhd7105
@lhd7105 Ай бұрын
No boiler plate totally doing this learning path for Rust learning thank you so much for your self-less free coaching on this matter
@JeremyChone
@JeremyChone Жыл бұрын
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.
@sharperguy
@sharperguy Жыл бұрын
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 Жыл бұрын
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! :-)
@TheJayman213
@TheJayman213 Жыл бұрын
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 :-)
@mlsandreas
@mlsandreas Жыл бұрын
Just found your channel, and this video is great!! Going to watch your previous videos and waiting for the next!!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Thank you very much! I've put all my rust content into a playlist kzbin.info/www/bejne/h2Skma1-pp2indU
@fliplucky8813
@fliplucky8813 Жыл бұрын
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? kzbin.info/www/bejne/pmTFdXhvoNitg8U
@BTWAIDS
@BTWAIDS Жыл бұрын
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
@NoBoilerplate
@NoBoilerplate Жыл бұрын
It's a very good language!
@therealgamer8150
@therealgamer8150 8 ай бұрын
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
@guilhermeraposo6080
@guilhermeraposo6080 Жыл бұрын
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!
@0xDEAD_Inside
@0xDEAD_Inside Жыл бұрын
Another great video as always! I always look forward to your next videos, especially on rust.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Glad you like them!
@256k_
@256k_ Жыл бұрын
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 Жыл бұрын
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
@navicore
@navicore Жыл бұрын
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 Жыл бұрын
Haskell was a great thing to learn early on in my career
@manyfak
@manyfak Жыл бұрын
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!
@AndrewBrownK
@AndrewBrownK Жыл бұрын
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
@TobiasFrei
@TobiasFrei Жыл бұрын
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 Жыл бұрын
Fantastic, you're not too far behind me, I'm learning every week too :-)
@theinhumaneme
@theinhumaneme Жыл бұрын
I've been planning to start RUST this week, and I see this video, perfect timing
@NoBoilerplate
@NoBoilerplate Жыл бұрын
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 😐
@SirG3n3ral
@SirG3n3ral Жыл бұрын
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!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Very welcome!
@avishah9406
@avishah9406 2 ай бұрын
What an introduction, right on the spot, I am hooked!
@notafbihoneypot8487
@notafbihoneypot8487 Жыл бұрын
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 Жыл бұрын
nice!
@theroboman727
@theroboman727 Жыл бұрын
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
@zenshade2000
@zenshade2000 Жыл бұрын
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: kzbin.info/www/bejne/pYqTiaqDhLitp5Y
@zhenia0zuser
@zhenia0zuser 11 ай бұрын
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?
@Felipe-53
@Felipe-53 Жыл бұрын
Started to learn it because of you and have to say it's been awesome! Thanks
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Fantastic!
@Szczezam
@Szczezam Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Thank you! I did a whole video on unwrapping, do check out the whole playlist! kzbin.info/www/bejne/qZO5qaRto7OnndE
@logicprojects
@logicprojects Жыл бұрын
Great video as always! You're probably the best spokesman Rust has at the moment.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Thank you very much! I'm trying!
@Mikenight120
@Mikenight120 Жыл бұрын
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!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Thank you!
@BusinessWolf1
@BusinessWolf1 Жыл бұрын
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 :-)
@hotfishdev
@hotfishdev Жыл бұрын
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 Жыл бұрын
I actually did, check again!
@hotfishdev
@hotfishdev Жыл бұрын
4:52, very happy to be wrong on this. 😊
@porlando12
@porlando12 Жыл бұрын
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 Жыл бұрын
Polars looks cool! I'm not in the stats/data world, but I'll keep it in mind for a future video!
@samdavepollard
@samdavepollard Жыл бұрын
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 kzbin.info/www/bejne/pYqTiaqDhLitp5Y
@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!
@thiszsprta2639
@thiszsprta2639 Жыл бұрын
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
@sebastiangudino9377
@sebastiangudino9377 Жыл бұрын
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 Жыл бұрын
It's MAYBE not quite "madness" but it is EXTREMELY CHALLENGING. Worth it, but oof!
@bsd0daemon
@bsd0daemon Жыл бұрын
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.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
me too!
@simis_tld
@simis_tld Жыл бұрын
Yet another of your beautiful inspiring videos that I can't get enough of! Thank you 🙏
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Thank you so much!
@glyakk
@glyakk 7 ай бұрын
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 7 ай бұрын
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.
@vkexplores
@vkexplores Жыл бұрын
This guy is a perfectionist in making his videos.. 👏🏻👏🏻👏🏻
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Thank you! You wouldn't *believe* how expensive the microphones I'm looking at buying are XD Don't be a perfectionist, kids!
@americanbagel
@americanbagel 11 ай бұрын
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 😂
@NoBoilerplate
@NoBoilerplate 11 ай бұрын
fantastic!
@chris.dillon
@chris.dillon Жыл бұрын
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 Жыл бұрын
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!
@Biowulf21
@Biowulf21 Жыл бұрын
Started learning rust 3 days ago. This video couldn't have come at a better time!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Wonderful! It'll be hard sometimes, but stick at it and watch my Rust series for inspiration :-)
@thomasfrans1185
@thomasfrans1185 Жыл бұрын
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!
@mattboemer4549
@mattboemer4549 Жыл бұрын
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
@WilliamServigna
@WilliamServigna Жыл бұрын
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 Жыл бұрын
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
@Zeratek
@Zeratek Жыл бұрын
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 Жыл бұрын
My pleasure! Check out my other videos for more exciting Rust features!
@ardnys35
@ardnys35 Жыл бұрын
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 Жыл бұрын
Rustlings is phenominal, get 'em installed!
@sylvanfranklin6904
@sylvanfranklin6904 Жыл бұрын
Could you do a video on your NeoVim config?
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Vanilla Astronvim! astronvim.com
@Cargren18
@Cargren18 3 ай бұрын
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 ай бұрын
amazing, thank, you!
@suvetar
@suvetar 5 ай бұрын
Nice introduction Tris, Very much looking forwraads to following your material if it's all of this calibre!
@NoBoilerplate
@NoBoilerplate 5 ай бұрын
Thank you! I do hope it is, I'm on a roll now! I've got a rust playlist on my channel, as well as a shorter showcase, if you'd like to check them out too! Over the last 6 months I've also been alternating non-programming technical videos, so perhaps you'd like my style with a different kind of subject, too!
@fyu1945
@fyu1945 Жыл бұрын
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 Жыл бұрын
I can't bare to write other languages now, it's so painful.
@vicky-kq6kn
@vicky-kq6kn 11 ай бұрын
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!
@porky1118
@porky1118 Жыл бұрын
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.
@FarmingtonS9
@FarmingtonS9 Жыл бұрын
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 :-)
@0thLaw
@0thLaw Жыл бұрын
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.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
I absolutely agree!
@sp3cterproductions
@sp3cterproductions Жыл бұрын
50 people startup sounds like a business with a mid-life crisis.
@shadowangel8005
@shadowangel8005 Жыл бұрын
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 kzbin.info/www/bejne/mKOWeHx_hsqYnLs
@1myfriendjohn
@1myfriendjohn Жыл бұрын
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. kzbin.info/www/bejne/eXvXp6GbpbKJd7c
@xkali8119
@xkali8119 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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.
@abnoco
@abnoco Жыл бұрын
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 Жыл бұрын
I just can't anymore.
@jesuszorrilla7941
@jesuszorrilla7941 Жыл бұрын
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.
@oredaze
@oredaze Жыл бұрын
Your hype videos are actually really helpful for my motivation!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
This is the way
@oredaze
@oredaze Жыл бұрын
@@NoBoilerplate This is the way. xD
@nyxalexandra-io
@nyxalexandra-io Жыл бұрын
Rust is the first language I ever used that makes so much sense I enjoy how it makes you write good code
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Absolutely agree!
@daniel-wood
@daniel-wood Жыл бұрын
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!
@jalendixon5894
@jalendixon5894 Жыл бұрын
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 kzbin.info/www/bejne/pmTFdXhvoNitg8U
@bravelygeorge
@bravelygeorge 11 ай бұрын
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 ай бұрын
If you need a boost, have a look at my other Rust videos :-)
@UnhingedNW
@UnhingedNW Жыл бұрын
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.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Glad it was helpful!
@quarkstar
@quarkstar Жыл бұрын
don't like to do.. "first" but maybe I am.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
My errata comment is always first :-D
@Requiem100500
@Requiem100500 Жыл бұрын
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
@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!
@lyravaz
@lyravaz 3 ай бұрын
I'm getting started in the programming world with Rust and I'm really enjoying the experience!
@Sahil-a-vim-user
@Sahil-a-vim-user Жыл бұрын
I love the rust propaganda. Am with ya! 🔥
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Welcome to the Cargo Cult!
@ivanmeyers2660
@ivanmeyers2660 Жыл бұрын
I'm sorry dude but, You are infringing on Rust trademark copyrights now.
@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 😄
@Robay146
@Robay146 7 ай бұрын
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
@kenneth_mata
@kenneth_mata Жыл бұрын
I've been trying and failing to learn how to code for the last 2 years because I constantly tell myself that i will learn something else to make learning Rust easier, my intentions are more for a hobby standpoint as I'm more oriented to the SysAdmin\Cloud Architecture side of things, but this has motivated to start giving Rust a try (with patience) from the get go.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
You can do it! Watch my other videos for inspiration, and come chat on my discord (link on my website)
@Howard_Roark
@Howard_Roark Жыл бұрын
Please talk about RUSTs new terms of service that is making everyone wanna leave.
@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 😄
@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.
@fez3332
@fez3332 Жыл бұрын
Good vid, I started using rust about a month ago. My biggest issue still is learning more complex lifetimes. For example, the winit library uses a move closure for its event loop. This seems to create issues with 'static lifetimes and took me several days to fix. Ended up using a combination of Rc and Cell to create what feels like a hacked solution but it works.
@NoBoilerplate
@NoBoilerplate Жыл бұрын
That's a challenge for sure. You're operating much beyond the beginner recommendations in this video. I bet you know what is happening with your code FAR more than if you built it with a language that just magically handled things for you. Scaling will be easy for you!
@F_Around_and_find_out
@F_Around_and_find_out 9 күн бұрын
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 Жыл бұрын
That hyped me! Very well done!
@NoBoilerplate
@NoBoilerplate Жыл бұрын
Mission accomplished!
Rust for the impatient
10:43
No Boilerplate
Рет қаралды 638 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 273 М.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 122 МЛН
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 47 МЛН
The Ultimate Guide For Making A Difference In The World
9:17
Alexander Gisbrecht
Рет қаралды 18
Interview with Senior Rust Developer in 2023
9:46
Programmers are also human
Рет қаралды 618 М.
Hack your brain with Obsidian.md
11:53
No Boilerplate
Рет қаралды 1,8 МЛН
Unlock the Power - Master Book Notes with Obsidian Canvas
9:39
Paul Dickson
Рет қаралды 5 М.
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 1,9 МЛН
Hack Your Brain with Polyphasic Sleep
11:02
No Boilerplate
Рет қаралды 1,2 МЛН
The Rust Survival Guide
12:34
Let's Get Rusty
Рет қаралды 122 М.
The Unreasonable Effectiveness Of Plain Text
14:37
No Boilerplate
Рет қаралды 567 М.
I spent six months rewriting everything in Rust
15:11
chris biscardi
Рет қаралды 381 М.
how NASA writes space-proof code
6:03
Low Level Learning
Рет қаралды 2 МЛН
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 122 МЛН