5 things I wish I knew before learning Rust

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2024
  • Ready to dive into Rust programming? Don't start without watching this video! In today's guide, I share 5 crucial insights I wish I had before embarking on my Rust journey. Whether you're a beginner or seasoned developer, these tips will save you time and frustration.
    Free Rust cheat sheet: letsgetrusty.com/cheatsheet
    Resources:
    Harvard CS lectures: • CS50x 2023 - Lecture 0...
    Memory management in Rust: • Stack, Heap, and Stati...
    The Cherno: / @thecherno
    Rust Book Playlist: • ULTIMATE Rust Lang Tut...
    Rust By Example: doc.rust-lang.org/rust-by-exa...
    Rustlings: github.com/rust-lang/rustlings
    Idiomatic Rust: github.com/mre/idiomatic-rust
    Crust of Rust Playlist: • Crust of Rust: Lifetim...
    Rust for Rustaceans: nostarch.com/rust-rustaceans
    Writing an OS in Rust: os.phil-opp.com/
    Embedded Rust Book: docs.rust-embedded.org/book/
    Rust and WebAssembly: rustwasm.github.io/docs/book/
    Jeremy Chone Axum course: • Rust Axum Full Course ...
    Zero-to-Prod in Rust: www.zero2prod.com/
    My free Rust course: letsgetrusty.com/learn
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 182

  • @letsgetrusty
    @letsgetrusty  4 หลายเดือนก่อน +7

    📝Get your *FREE Rust cheat sheet* :
    letsgetrusty.com/cheatsheet

  • @fcolecumberri
    @fcolecumberri 4 หลายเดือนก่อน +325

    The best way to love Rust is to know C++ deep enough to love it and wish it's death at the same time.

    • @linkernick5379
      @linkernick5379 4 หลายเดือนก่อน +5

      Hahaha, ironically 😄

    • @shipweck6253
      @shipweck6253 4 หลายเดือนก่อน +6

      beautifully phrased

    • @JorgetePanete
      @JorgetePanete 4 หลายเดือนก่อน +2

      its*

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

      @@JorgetePanete se me fue, el ingles no es mi idioma nativo.

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

      What a wise words

  • @LeviNotik
    @LeviNotik 4 หลายเดือนก่อน +112

    Yes, all of the concepts you mentioned here are obviously relevant and useful for learning Rust. Certainly knowing about the memory model, the stack vs the heap, etc. However, and I mention this mostly as a note to newcomers who may be discouraged by the sheer number of things mentioned here from learning Rust, that I think it's a mistake to refer to all of this as things you wished you knew "before learning Rust." You can learn many of these things along the way and sharpen your understanding as you go. I wouldn't view everything mentioned here as some hard prerequisite. Often times, when we learn new things, we have a hindsight bias problem where, after having learned all the things, we look back and say "gee I wish I had known these things before diving into or learning X"...but maybe it was totally fine to have learned these things by way of learning X. Sometimes it is actually preferable since learning X provides the context and motivation. Just my 2c

    • @letsgetrusty
      @letsgetrusty  4 หลายเดือนก่อน +12

      Agreed! I learned much of this along the way :)

    • @jay.rhoden
      @jay.rhoden 4 หลายเดือนก่อน +3

      @@letsgetrusty Your right, but to be fair the title of this video is things he wished he'd learnt, not things he should have learnt.

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

      I was just about to type this. Just learn as you go, and you will be just fine!

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

      Well said.

    • @xXYourShadowDaniXx
      @xXYourShadowDaniXx 2 หลายเดือนก่อน +5

      I honestly think starting with a simple app that can be expanded is the best way to learn hands on. This is why web developers create todo's so often, but I think its even more interesting to do for languages with file access like rust, you can start with a terminal todo that is just: list add remove toggle . Then when you feel like you are happy with that expand it, save the list to a file so you can load it on start. Allow the user to save multiple lists and files, and have a default that loads on start. Add colors, add timestamps and due dates and completion dates etc etc. This is how I have been learning Rust this last month and I feel like the hardest thing has been just making sure I'm returning the right data Result vs Option vs String vs str and understanding the Borrow checker in edge areas like when you aren't putting str's in variables (something you do in scripting languages often, in place raw data manipulation, needs a tiny bit more understanding in Rust IME).

  • @fluxx2875
    @fluxx2875 4 หลายเดือนก่อน +68

    C++ was my favourite language for a very long time. I got introduced to Rust through a project at work. After a few pages of the Rust Book, I immediately noticed that I really like Rust and that for me it is C++, just improved with all the things that annoy me about C++. I really hope that we will see more and more Rust in the future and that the language will continue to develop. I don't have much experience with Rust yet, but it has already replaced C++ as my favorite language 😅

    • @bwljustus8077
      @bwljustus8077 4 หลายเดือนก่อน +9

      Of course, this process is known as oxidation 😂

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

      Have some experience with the language, then the story might be different.

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

      For me Rust totally made sense the first day I touched it. After about 20 years of touching many other languages, most things in Rust landed quickly for me.
      And of course things can be frustrating sometimes and getting things done goes slower, but it's absolutely true that the result is great software.
      I don't work with Rust professionally yet and jobs even quite difficult to find too as it seems. But that does not matter so much to me.
      I work mostly in C# which is also a really great language for now. But I have always explored and used far more, including C and C++, and I have actively decided to take Rust very seriously, because I believe in it's future, too important to ignore. That was the main point even before learning it and I am feel no regret.

    • @ME0WMERE
      @ME0WMERE 4 หลายเดือนก่อน +2

      Rust is C++ done right

  • @Mempler
    @Mempler 4 หลายเดือนก่อน +24

    I went from C++ to Rust and suddenly, C++ made so much more sense.
    Its insane how Rust rewires your brain.

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

      Yeah, its insane how Rust devs with rewritten brain hate UB and memory errors.😅

  • @justsomeguy8385
    @justsomeguy8385 4 หลายเดือนก่อน +7

    I don't think you mentioned it, but I started with the "Programming Rust" book. It's incredibly well-written, and explains Rust concepts in relation to C, so it explains why the concept is an issue in C and is fixed in Rust. This gives you a great understanding of why things are the way they are in Rust without needing to struggle through learning C to appreciate it.

  • @apffer
    @apffer 2 หลายเดือนก่อน +5

    Jeremy Chone is the best Rust resource in TH-cam for backend dev, after you get the foundation knowledge right from the Rust Book and Rust by Example.

  • @RemizZ
    @RemizZ 4 หลายเดือนก่อน +17

    Having only ever written PHP and JS, I definitely feel the mountain of concepts and terminology I've never heard of or had to worry about. It's still fun to just dive in and try things just because the compiler error messages are so insanely good. I will probably never be a "proper" programmer (missing far too much math knowledge sadly), but for what I want to do with it, I'll manage.

    • @jackhales6179
      @jackhales6179 4 หลายเดือนก่อน +7

      No need to fret about missing math knowledge. Learn math in your soul when it's necessary, not through simply memorizing concepts. Good luck!

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

      I'm working full time as a PHP developer, and I don't need more math skills than basic arithmetics in my day to day (addition, multiplication, etc). If you want to work with AI or other highly advanced stuff, you need that knowledge, but you don't need to be a mathematician to be a successful developer. :)

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

      @@Wiikend The things you do with PHP aren't what I meant with "proper". You don't need math for CRUD APIs, but you need it for everything else.

  • @Pjiwm
    @Pjiwm 4 หลายเดือนก่อน +37

    He got a fresh cut 😎

    • @eezyville1704
      @eezyville1704 4 หลายเดือนก่อน +8

      My man is crispy and smooth at the same time. 😎

  • @tiagocerqueira9459
    @tiagocerqueira9459 4 หลายเดือนก่อน +6

    Shout out to The Cherno! Helped me to learn intermediate/advanced C++.

  • @hermand
    @hermand 4 หลายเดือนก่อน +14

    I'm not a developer by trade, though I do write code professionally in my DevOps/Sysadmin'y work - mostly the MS stack on C#/PowerShell etc. A few years ago I sat down and learnt C to a reasonable standard, it was a tough process but in learning Rust I've really appreciated the grounding it's given me. So much of what people hate about Rust just hasn't bothered me, because it conceptually makes sense. I don't find myself wrestling with the dreaded borrow checker (mostly..) and so on. But, I think had I gone from C# with all its cuddly help and GC I would have absolutely hated Rust. I'm now writing lots of embedded code in Rust and just loving the journey

    • @H.Hardrada
      @H.Hardrada 4 หลายเดือนก่อน +3

      I was a Python developer for most of my career. Going from that to Rust was tough. I really had to work my brain out of thinking about coding problems from the interpreted language perspective.

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

      I made that journey you mentioned from C# to Rust, and yeah it was just as tough as you'd imagine. I have formal education in Computer Science, but it took me a while to translate that knowledge into something I could use in Rust, whereas in C# you don't really need to think about those concepts all that much since the compiler thinks about it for you.
      That being said, I'd never go back if I could. Rust is a fantastic language, and despite it being stricter and requiring more thought, it feels like a comfier, safer and stronger foundation than I've had before

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

      I went from C# to rust and it was not hard, but it probably depends on other experience and what you've done in each language.
      I'm a 20 year dev and I've used a lot of languages, and a lot of it is transferable.
      A lot of C# devs that I interview barely know C# and can't even do multithreading, because all they have ever done is CRUD web services.

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

      @@georgehelyar Oh absolutely, it wasn't a knock at C# or C# devs! We definitely have a cohort of devs who have no idea that there is an under the hood, let alone what's happening there. I'd wager there's a LOT of web devs who couldn't even begin to explain what an array really is, and the difference betweeen it and a list for example

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

      @@georgehelyar That makes sense. I'd done C# for about 9 years by the time I started learning Rust. Most of my time I spent writing WPF apps and lots of front-endy stuff (still do, just blazor now), so my skills weren't particularly transferable. Though the skills I picked up in hobby projects that didn't involve so much front end stuff did end up transferring.
      Actually, thinking about it, most of the transferable skills I had were after learning core language features, such as multithreading, FFI and the like. Most of my trouble came from lifetimes, borrowing and misunderstanding traits as the same thing as interfaces.

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

    Two of the best learning resources for Rust are Let's Get Rusty, and No Boilerplate.

  • @Shaheer-xs5os
    @Shaheer-xs5os 4 หลายเดือนก่อน +4

    I love Rust... It's my favorite language now, kicking down Typescript...

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

    The funny thing is about learning Rust is how you start to appreciate languages like C# even more that do a lot of these concepts for you.
    We still code mostly in C#, but the low level stuff (mostly drivers and interfacing with weird hardware) we use Rust...

  • @luambo1
    @luambo1 4 หลายเดือนก่อน +2

    what do you think of the "copying while trying to understand" method of learning?
    people often say that it's good to always fully understand and build things on your own, but I've come to a conclusion that withou a repertoire, we simply can't build things.

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

    My days. I'm so fvcked. Started learning this lang 3 days ago with nothing but little bash and python knowledge cause I have a program I really wanna write and now I wanna kms. Now I gotta learn all of this. Amazing video man! :)

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

      It's worth it also you don't need to know any of this stuff it will just deepen your understanding. Do what you want with the language and learn the things you need along the way

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

      @@laceycodetime thank you so much, means alot

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

    This is why I love rust, I dropped out of school half way in and some cs concepts are fuzzy for me. (Binary, Sogned/unsigned ints, buffers, etc) have come up a lot in the beginning of me learning I g rust and I honestly love it. It’s like going back to school without have to pay for it or dread learning.
    I made it thru college off TH-cam anyways, this is no different.

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

    Excellent advice, what are some good resources to learn multithreading, parallelism and concurrency concepts?

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

    As a person who took the first classes in programming using C i can say, Rust is awesome. I'm really enjoying, bright future.

  • @Oswalt-hg4dy
    @Oswalt-hg4dy 12 วันที่ผ่านมา

    I came here for Rust and ended up with philosophical thoughts... (5:41)
    Pdt. Cool video, I think Rust has a great projection in future

  • @jg7346
    @jg7346 4 หลายเดือนก่อน +5

    Could you plz post all the resources links somewhere?

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

      Posted in the description!

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

    Good insight. As someone who got his start in the dark ages of C, talk of memory management, pointers, etc, holds no fear, if anything leaves me slightly smug. Glad I learned them when I still needed them, even though I then got shifted into the "glory" of managed languages - and got lazy. Java, C#, Python, Go...
    But you put your finger on major issues: finding the use case and dealing with the drop in productivity. At work, you may have the former, but the Powers That Be may not allow you the latter. Learning it in your own time, you will have the latter, but you need that spark of an idea for a long-term personal project. I've been working on an iOS app in my spare time for years. It's become more of a learning platform to teach me new concepts rather than "Im going to build the new killer app". Rust support in iOS is still somewhat new, but maybe converting my code to Rust is the way to go.

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

    First video of these I wish I knew videos that was actually super useful. Also are you using the eye contact AI program?

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

    Great video, and thanks for the mention!

  • @snatvb
    @snatvb 4 หลายเดือนก่อน +5

    The first thing i would like to know is that docker deploy is extremely difficult. i never got over it :( i lost a lot of time, trying to deploy the project took longer than development and failed. I don't develop on rust anymore :( I can't correctly hadle work with prisma

  • @vaisakhkm783
    @vaisakhkm783 4 หลายเดือนก่อน +2

    i have fundamentals of c and c++, but i have been out of touch for so long, and working as webdev...
    so should i start with those or dive straight to rust? i have been learning little bit of rust... but not getting full motivation to dedicate

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

      Jumping strait to rust is generally ok if you know the pain points of c and c++

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

      @@lvsd i know problems like memory management, issues with string due to null termination, absolute disasters of shared libs because of not having a first party package management solution,
      but i only have really basic understanding and only done few cli apps... so don't know how things like smart pointers works....

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

      ​@@vaisakhkm783 i saw some exaamples of CLI in Rust, and It looks really simple due to the "builder pattern" a library used. A pain for me when I was learning C, was that there was no "Method", which is sort of a more constrained and syntax sugared for functions. Emulating the desugared form of methods from Rust in C was a pain. But at least gave me confidence that the code would work due to having functions doing specific responsibilities while I was doing my C Homeworks

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

      @@vaisakhkm783 Smart pointers are really not that hard; they are easy to get into, and you will surely stumble into them when trying things like multithreading. I recommend looking into Box and Rc/Arc. You will notice that they are really simple. Smart pointers like Cow, Cell, etc., are not often used when writing normal production code, so you don't really need to know every one from the beginning.

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

      Honestly it's fine. You can learn smart pointers as well in Rust. Theyre pretty much the same conceptually. Learn C++ if you want to know how painful things can be@@vaisakhkm783

  • @johanngambolputty5351
    @johanngambolputty5351 4 หลายเดือนก่อน +2

    I mean, I knew a bit of C and C++, but I mostly used python before rust (which to me is the best of both)...

  • @_rtdp_
    @_rtdp_ 4 หลายเดือนก่อน +2

    How to Learn Rust:
    Step 1. Learn C++
    Step 2. Learn to solve SIGSEGV faults and memory leaks and become frustrated
    Step 3. Learn Rust

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

    The video we all needed

  • @dinaiswatching
    @dinaiswatching 4 หลายเดือนก่อน +6

    Thanks again, Bogdan, as always, great stuff. Could you please link the resources links in the description? I'm interest in those Harvard lessons

  • @pcfreak1992
    @pcfreak1992 4 หลายเดือนก่อน +3

    I wish just half of all the people blogging about Rust would know these basics. I see so many rants about some Rust feature just because they don’t understand some CS basics.

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

      A list of unique features that Rust invented :
      - compiling to machine code
      - the concept of having a stack
      - the first and only language that guarantees no bugs
      - automatic allocation and reallocation
      - multi threading
      - traits
      - memory safe array indexing
      - match semantics
      - errors as values
      - optional types
      - the first language ever that allows developers to rewrite existing apps into a new language
      - the compiler providing error messages telling you what bits of code won’t compile
      - adding debug symbols to the executable, for debugging
      - compile to wasm as a target
      - uses the cpu, so it’s faster than JavaScript or python
      - successful integration of politics into the tech stack
      - is the only language that “younger programmers” can understand apparently, so has to be the only alternative to C in Linux kernel
      These are all actual examples of BS claims that real people have spouted off about, when discussing Rust

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

      ​@@steveoc64 some rust programmers have turned religious, effectively spreading their ignorance wherever they go. But I do think it's a nice language which I am going to learn for research purposes.

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

    I was a c++ developer, then I switched to Js/ React but I feel like I am done with React and Js problems. I am thinking about Rust but I will need good resources for learning

  • @itsallaboutprotein
    @itsallaboutprotein 18 วันที่ผ่านมา

    do you have any tips to prevent my base from getting raided?

  • @DrIngo1980
    @DrIngo1980 4 หลายเดือนก่อน +12

    I might be stupid, but why don't I see all those resources you point out in your video here listed in your video description? Seriously, that should be the default mode of operation: put whatever resources you used during your video into the TH-cam video description box. As immediately clickable links. If you don't do that, then what is the freaking point? Yes, I know, this is pretty harsh critique. But we all know you can do better. Please. Thank you.

    • @letsgetrusty
      @letsgetrusty  4 หลายเดือนก่อน +6

      Just updated the description with a list of resources!

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

      @@letsgetrusty Awesome! Thank you! Now I can be at peace 😀

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

    It might be hard to appreciate Rust until you've at least spent some time with C or C++. You can get pretty far with either. But it's the maintenance headaches on anything over 20 klocs of C or C++ with multiple dependencies that are the clear motivations for Rust's design.

  • @hikergamer6557
    @hikergamer6557 13 วันที่ผ่านมา

    Thought this was about the game rust for a sec 🙏

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

    Great video, but I don't agree in 5:58, where you say we have to "think about runtime performance, and about how things are laid out in memory". I think we almost never need to think about runtime performance, everything is just screaming fast most of the time! And why would one think memory layouts? Most 100% Rust software will never need to think about that, only when using FFI to interface with other languages, and perhaps when implementing a Vec or similar, i.e., allocating and initializing memory on demand. All in all, in most cases Rust is awesome to use as a high-level language, you don't need to think that much about performance or memory!

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

    what adoption exactly?

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

    Rust is high-level language like c++. It has lots of abstractions

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

    great video, thanks for the help

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

    that's a lot of resources man!!

  • @what-about-bob
    @what-about-bob 2 หลายเดือนก่อน

    Security by Design (SbD) is a real thing in Cyber Security. Looks like Rust works along with it.

  • @GustavoPinho89
    @GustavoPinho89 4 หลายเดือนก่อน +3

    Bro, Discovery Channel is looking for a new narrator 😂😂😂 alternatively, you could make scammy content. You'd be Dan Lok on steroids 😂😂😂😂😂

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

    "Strict static typing"...
    May I interest you in the rabbit hole of trait objects?... [insane laugh]

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

    so, would you recomend learn c/c++ before rust?

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

      In my opinion, learn rust first and capitalize on your interest while it lasts.

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

      @@macsquad5773 thanks :)

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

    Let's Get Rusty!!

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

    The benefits of AI for me has been outstanding. I don’t think it’s final or true all the time, but parsing a file, traversing directories etc can be done in seconds with the help of AI

  • @vrildox-to7ir
    @vrildox-to7ir 4 หลายเดือนก่อน

    Should i learn cpp before the rust

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

      Up to you but imo I think you will learn faster if you just start with rust

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

    So basically everything, right on hahaha

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

    Ah... I will get rock-solid hate, but honestly... do I need Rust? I was trying to learn it and I have to say, I do actually like it... but hell. I am jumping every single day between backend, frontend and mobile. So... I always end up with my friend TypeScript. Backend = Nestjs, Frontend = React, Mobile = React native. I know BE and FE can be done by Leptos. But mobile? Nah, not even close...

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

    Bruh i feel like the “slow production” is kinda false. Rust taught me the “if it compiles it works” idiom which makes stuff super easy

  • @ahosun_yousuf
    @ahosun_yousuf 4 หลายเดือนก่อน +2

    Does bro have a Discord Server??

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

    brooks builds is also a good channel for rust.

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

    When I have 3 years of experience in JS, I struggled a lot. It took me another 3 years to think in Architect level in React and React native. Now I am ready to take the new challenge in Rust.

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

    C++ numbawan! and evolving!

  • @Tresla
    @Tresla 3 หลายเดือนก่อน +12

    Are you AI generated?

    • @Nemesis-db8fl
      @Nemesis-db8fl หลายเดือนก่อน +1

      Is that supposed to be a pickup line?

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

    Starting from 0 ready to suffer, wish me luck 😂

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

    Finally, r u using RUST fulltime in ur 9 to 5 job ?
    Bcz, Y still lot of less Rust based full time roles in 2024 ?

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

    For me, picking up rust isn't as intuitive or as easy like JS.
    With JS I can tryout and evaluate statements in the browser.
    Rust is also resource $expensive.
    A simple application costs quite a lot in terms of disk space (windows machine, vs-ccode).
    The file system also feels clunky. To expose type and functions you need a separate file with a specific naming
    like a header file in C. I might be wrong as I'm still not proficient in it.
    It's not as easy as the import/export nomenclature in languages like JS, C#, java, traditional C like languages.
    I still can't wrap my head around macros. They look like functions to me.
    In terms or readability, I cant seem to get used to snake (or caterpillar) casing.
    I think acronym naming doesn't help as well. E.g. 'fn', 'mut'.
    If I have time, I would try to learn more and try out more of rust.
    Then perhaps I would have better insights on the language.

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

      resource expensive? compared to javascript and python???????

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

      He probably compares a rust executable and a js file@@Marisueksu

  • @datastop400
    @datastop400 4 หลายเดือนก่อน +2

    Rust, the grown ups language…

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

    6. There are string types more than 10. Most of your development time goes thinking of how to convert one another.

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

    So I have to learn programing in C and C++ if I want to program in Rust? Isn't there any other way to understand Rust? I could just read about those concept and try to understand them without spending hundreds of hours programming in a language I don't want to program in. Is it really so hard?

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

      It really is that hard. Rust is intended for developers who already know most of the concepts it uses.
      That being said, go ahead and give it a try anyway. If you want to learn Rust, just go ahead and give it a shot - worst that could happen is you don't get it and end up switching to something else.

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

      @@bluesillybeard I am currently working on my first website and going through html and css (I know, I know, baby steps...) and I was also thinking why not finish it with wasm and rust. Everywhere I hear and read javascript is terrible, so I'm thinking why even bother with it and go straight with the good stuff.

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

      @@shapaco89 last I tried Rust+wasm was like 2 or 3 years ago, and there wasn't a lot about it. I imagine these days though, there are tons of tutorials on how to set that up.
      Funnily enough, I myself am working on my first website! It's all just static pages though.

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

      imo, yes you could.
      I have seen many videos of this channel, but this one just very missleading.
      You could learn Rust without any C++ knowledge, most likely you'd even be better off doing that

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

    wysi

  • @bhaskartmb
    @bhaskartmb 4 วันที่ผ่านมา

    Yo, I wanna learn Rust, but I only know C, not C++. Everyone in the comments is talking about C++, and it's making me a bit nervous.

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

    I know python, can I start rust?

  • @NuflynMagister
    @NuflynMagister 4 หลายเดือนก่อน +2

    Дякую, Богдане)

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

    100s of people are taking rust as their first language. Also many are coming to rust from js. Don't scare them away !
    Here is a list of 100 things you need to learn before learning rust

  • @zxnnightstalker2289
    @zxnnightstalker2289 4 หลายเดือนก่อน +7

    Watching your video is like asking to ChatGPT. Alot of boilerplate with alot of bullet points. 90% of which we already heard of over and over again.

  • @yuurishibuya4797
    @yuurishibuya4797 19 วันที่ผ่านมา

    The statement where u call Null pointer as a Billion $ mistake and saying uses Result type shows how shallow your knowledge is around basic computer architecture.
    Functions in C, C++ return something. You can choose to return a struct of {value, error_t }.

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

    So basically all covered in computer science

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

    I don't know why people think rust is hard
    I moved from python (I did python for 8 years) to rust in a few weeks

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

    ...remember to stay rusty🦀.

  • @Garush
    @Garush 4 หลายเดือนก่อน +3

    Bogdan gets hotter every vid

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

    Good explanation why Rust is very bad as a first language. You have to know at least three other languages before starting to get anywhere!
    I think knowing JavaScript, C++ and Haskell helped me a lot. It still wasn't easy, because the borrow checker is unique to Rust.

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

      Although I really think it's totally helpful to know enough other languages, it's not an absolute requirement.
      There is also a possible learning trajectory when starting with Rust, and then learn all things on the flow, even though it will probably go much slower.
      It's even possible for someone to start with it, then move to other languages because Rust was so difficult, and then to ultimately come back to it and pick it up further.

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

    1:49, I disagree. If someone is afraid of nullptr, he should write some tool to verify that automatically.

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

      To verify what?
      The problem with null pointers is that you are just setting some data to 0, even if that data is an address of other data. But sometimes this is actually what you want, 0 not null. E.g. if i have an app with a base virtual address of 0 where its main function lives then I want to branch to a pointer with value 0, but some languages assume that 0 means null so it raises an error incorrectly.

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

      @@gregoryfenn1462I think you are going too far.

    • @J-Random-Luser
      @J-Random-Luser 4 หลายเดือนก่อน

      Yeah, they did, it’s called enumerations and pattern matching.

  • @vasylpavuk391
    @vasylpavuk391 4 หลายเดือนก่อน +3

    Вітання з України. Гарний контент. Так тримати

  • @janisozols2055
    @janisozols2055 4 หลายเดือนก่อน +10

    This is all nonsense.
    I began by creating practical projects with considerable help from Copilot and GPT-4. I consistently inquired about the best practices for various tasks and sought explanations for concepts I didn't understand. I even developed working prototypes for parts of my project before fully grasping Rust's borrowing and other concepts. Within a month, I had gained extensive knowledge about runtimes, futures, borrowing, channels, and actors, all with the assistance of AI. The best aspect of Rust is that it compels you to write correct programs. Consequently, the AI's learning base is mostly composed of correct programs, resulting in more accurate suggestions from AI than for other languages.

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

      Not all are as smart as you are.

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

      I used the same path as you. I won’t recommend learning c++ before because c++ itself is a beast which takes a lifetime to master. Go strait to rust with a good project in mind. Learn the concepts you do not understand along the way.

  • @pilotandy_com
    @pilotandy_com 4 หลายเดือนก่อน +2

    In other words, to learn Rust, you must have 25 years experience in c :P

  • @Valiant600
    @Valiant600 4 หลายเดือนก่อน +2

    6th is that there are no jobs available...

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

      There's a lot on indeed?

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

      @@jonathanbrown5645 I never see any... Which companies are hiring for Rust??

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

      If you think you know just Rust and won't more or less easily adapt to related languages like C++, then chances are you don't actually know Rust to an extent that you could get a job in it anyway

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

      ​@@zackarysemancik5491 Sp you're only learning it to get hired? Microsoft and Google are starting to use Rust more and more.

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

      ​@@jonathanbrown5645 unfortunately most jobs currently in the EU are dealing with crypto and web3. I guess that is something instead of nothing, but these are mostly dodgy startups. In Greece for instance there is no mention of Rust whatsoever. Moreover, most other companies they mentioning Rust either as in knowing a systems programming language in general or as a possible complimentary language to C++. Rust needs time.
      However, let me also add that the language is not easy to pick up. I am sure plenty of people are going to bash me as not investing a lot, being dumb etc. However, I used it in a professional environment in the networking space, for a mid size project and we had issues. We were fighting the borrow checker a lot, code could become unreadable if many traits were needed, async code was a hurdle. I guess a lot of people tend to see, or try to see for some unknown reason as if they own part of a language although this is also part of herd mentality, only the good sides of the language. True we did feel more safe when compiling and less UB. Cargo is amazing. But DX was lacking especially for mid to large projects and as I said the syntax in many cases is very difficult to read. Not to mention the macros or proc macros which by themselves are like a separate programming language.
      I am just saying that Rust is not the one systems programming language to rule them all and I feel that it is advertised as such not by the creators but the community. Will it stay? Obviously. There are a lot of pros which in some cases outweigh the cons. But it will take time and I do not think it will overtake C++. I guess that as a "special forces" language for critical systems were memory safety is paramount it is going to be used first. But for general DX and speed of development C++ might be a better choice although not the sanest.

  • @OSA413
    @OSA413 4 หลายเดือนก่อน +2

    I would not recommend diving into C++ and learn Rust right away.

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

    what a nice hairline. so jealous

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

    So you don’t need Rust you need to go back to school!

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

    Hard disagree!
    You can learn most if not all of those as you go

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

    Not yet. You'll finally get it when you stop promoting Rust. At that point, you'll probably need some counseling to get over it, but you'll be ok.

  • @ssmith5048
    @ssmith5048 4 หลายเดือนก่อน +3

    1. it is a cult. 2. it aims to solve a problem, but doesn`t , it simply forces the compiler to get in your way, but you might actually code around that and the compiler still thinks it has done its job. 3. compile time is dogshit slow. 4. it aims to solve a problem that really is not a problem. 5. it is still a cult.

    • @svenyboyyt2304
      @svenyboyyt2304 4 หลายเดือนก่อน +7

      You clearly don't understand Rust. It prevents you from writing code that wouldn't work anyway. It definitely does solve the problem.

    • @user-to2ow2yk8x
      @user-to2ow2yk8x 4 หลายเดือนก่อน +3

      Yeah like 98% of bugs ain't double free or null pointer access, the problem doesn't exist you know

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

      1. Surely is rust that is a cult and not the bunch of robots that appear in almost every single rust video to say it is a cult and shit on the language without presenting actual arguments, right?

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

      This thread proves their first point even more 😂

    • @TheSast
      @TheSast 4 หลายเดือนก่อน +3

      ​@user-to2ow2yk8x actually a significant majority of bugs are issues such as nullptr dereferences.

  • @jazzycoder
    @jazzycoder 4 หลายเดือนก่อน +23

    1 thing I wish I knew before learning Rust: I shouldn't learn Rust.

    • @thegoldenatlas753
      @thegoldenatlas753 4 หลายเดือนก่อน +9

      Rust is worth learning

    • @jazzycoder
      @jazzycoder 4 หลายเดือนก่อน +2

      @@thegoldenatlas753 I disagree after learning it

    • @DiscontinuedRBASIDOWK
      @DiscontinuedRBASIDOWK 4 หลายเดือนก่อน +3

      Can you explain why?

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

      ​@@jazzycoderand i disagree with you after having learned rust

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

      ​@@jazzycoderI disagree with you after learning it as well 😂

  • @alexandercasas577
    @alexandercasas577 29 วันที่ผ่านมา

    If you say that someone needs to know programming before use Rust, that fact makes Rust a trash.
    I don't think you need al of this to learn Rust, but I do think that you need learn Rust trash to be a Rust developer. Like lifetimes explicit annotations.

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

    Could you provide resources to help out with some of these things?

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

      Posted a list of resources in the description!