Rust in 100 Seconds

Ғылым және технология

Rust is a memory-safe compiled programming language for building high-performance systems. It has the simplicity of high-level languages (Go, Python), but the control of low-level languages (C, Cpp) github.com/fireship-io/rust-i...
#programming #rust #100SecondsOfCode
🔗 Resources
Rust Docs www.rust-lang.org/learn
Rust Book doc.rust-lang.org/book/
Rust Quickstart github.com/fireship-io/rust-i...
Also see Go in 100 Seconds • Go in 100 Seconds
🔥 Get More Content - Upgrade to PRO
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- Rust ownership and borrowing explained
- How Rust memory management works
- Get started with Rust
- Rust vs Go
- Rust vs C

Пікірлер: 1 300

  • @ircmullaney
    @ircmullaney2 жыл бұрын

    Yes, I'd love to see a rust tutorial! Especially one geared toward creating web assembly functions/modules using Rust.

  • @Meloons

    @Meloons

    2 жыл бұрын

    *geared*

  • @B_R_E_I_Z_H

    @B_R_E_I_Z_H

    2 жыл бұрын

    YES that's exactly what I want too !

  • @kugi518

    @kugi518

    2 жыл бұрын

    +1

  • @ktsnowy

    @ktsnowy

    2 жыл бұрын

    YES, I would love a full Rust + Webassembly tutorial.

  • @razor-wd2pc

    @razor-wd2pc

    2 жыл бұрын

    +1

  • @augustinefodayngobie1884
    @augustinefodayngobie18842 жыл бұрын

    Best line of today's 100sec " lower level languages provide functions like free and allocate to shoot yourself in the foot"

  • @techjudge8049

    @techjudge8049

    2 жыл бұрын

    @Ort Are you serious? All C++ neckbeards do in life is make fun of higher level languages, and saying "it's not real programming." What a snowflake.

  • @regularname1825

    @regularname1825

    2 жыл бұрын

    @@techjudge8049 cope

  • @chudchadanstud

    @chudchadanstud

    2 жыл бұрын

    @@techjudge8049 Yes higher level languages aren't real programming languages. They're just applications made in C. Instead of using buttons, you use text.

  • @if-and-only-if

    @if-and-only-if

    2 жыл бұрын

    @America's Funniest Videos nah, real programmers flip their own bits.

  • @5upl1an

    @5upl1an

    2 жыл бұрын

    @@chudchadanstud troll deteced

  • @baryemini4103
    @baryemini41032 жыл бұрын

    0:55 This is wrong, value mutability doesn't have anything to do with the value being stored on the stack or the heap (and the example let mut hello = "hi mom" will be stored on the stack since it's type is `&'static str`), it depends on the type of the value (if it's `Sized` or not).

  • @Fireship

    @Fireship

    2 жыл бұрын

    Good call, thanks for the correction.

  • @yt-sh

    @yt-sh

    2 жыл бұрын

    @@Fireship Thanks!, I know you were gonna do it anyway but appreciate you doing it btw could you do Best React state management library too

  • @creativcoder

    @creativcoder

    2 жыл бұрын

    To add to that: a literal string "hi mom" goes to the data section of the binary. That's why it has 'static on it. You can confirm that by running objdump tool over the binary.

  • @VivekYadav-ds8oz

    @VivekYadav-ds8oz

    2 жыл бұрын

    @@Fireship Please pin this comment. That small mistake is gonna put off a lot of low-level devs who thought they were gonna have more control over allocations.

  • @rishadbaniya

    @rishadbaniya

    2 жыл бұрын

    And to those who dont know, Sized is basically a trait that's implemented by the compiler to those whose size is known during compilation

  • @nirjalmahat9075
    @nirjalmahat90752 жыл бұрын

    The only thing I understood here is that RUST is a programming language.

  • @zahra-pl1sk

    @zahra-pl1sk

    Ай бұрын

    me too 😂

  • @armentorosyan8268

    @armentorosyan8268

    Ай бұрын

    isn't it a game

  • @nafiaus

    @nafiaus

    Ай бұрын

    from what I got is I can use rust to create programs that don't leak memory whenever I take a nap in-between coding sessions and forgot what the hell I was doing 😂

  • @crowlsyong
    @crowlsyong2 жыл бұрын

    Dude I’m discovering the comment section of your videos right and this is amazing. So much quality feedback, friendly corrections, and expansive conversations. What a lovely place on the internet.

  • @never_give_up944

    @never_give_up944

    10 ай бұрын

    +1 I'm actually shocked by this (in a good way of course!)

  • @demidrol5660

    @demidrol5660

    8 ай бұрын

    kiss my ass bro)

  • @Phronesis1037

    @Phronesis1037

    3 ай бұрын

    I don't know coding and I'm just here just to enjoy and chill :)

  • @Tantandev
    @Tantandev2 жыл бұрын

    Let's go! I think Rust takes a new innovative look at how we write software without compromising safety for performance. Borrow checker has taught me a lot of good lessons in writing better code

  • @zainjadoon759

    @zainjadoon759

    2 жыл бұрын

    I knew I would find you here

  • @zynaxsoft

    @zynaxsoft

    2 жыл бұрын

    I still can't remember what his favorite programming language is.

  • @jacobhinchliffe6659

    @jacobhinchliffe6659

    2 жыл бұрын

    Nice videos you are very entertaining

  • @Beryesa.

    @Beryesa.

    2 жыл бұрын

    Ah yes the rust boiiii :D hi there

  • @yokunjon

    @yokunjon

    2 жыл бұрын

    @@zainjadoon759 Haha, same

  • @swanandx
    @swanandx2 жыл бұрын

    I would also like to mention how friendly and informative the rust compiler error are!

  • @VivekYadav-ds8oz

    @VivekYadav-ds8oz

    2 жыл бұрын

    Generics and Async still produce bad error messages sometimes, but that's improving I've heard.

  • @iyxan2340

    @iyxan2340

    2 жыл бұрын

    yeah I really like their "help" and "note"s on the errors :)

  • @kantraa

    @kantraa

    2 жыл бұрын

    especially compared to Python...

  • @eccentricOrange

    @eccentricOrange

    2 жыл бұрын

    @@kantraa ya ever worked in C, buddy?

  • @mastershooter64

    @mastershooter64

    2 жыл бұрын

    @@eccentricOrange ya ever worked with assemblers buddy?

  • @sznio
    @sznio2 жыл бұрын

    1. Don't call rustc directly, do it via cargo 2. You don't have to declare the type of a variable in most cases 3. Mutable variables are stored on the stack. When you need dynamic size, then you use Box which indicates that the variable is stored on the heap.

  • @abanoub7002

    @abanoub7002

    11 ай бұрын

    if your working on some kind of project that uses multiple crates than yeah use cargo, but for something like the example he wrote it'd not needed

  • @wumwum42

    @wumwum42

    9 ай бұрын

    ​@@abanoub7002even if its just 1 file, use cargo run. Its just good practise

  • @jermaineclarke4298

    @jermaineclarke4298

    8 ай бұрын

    Thank you for point #3 especially, he was about to confuse the shit outta me.

  • @thisguy.-.

    @thisguy.-.

    7 ай бұрын

    About #3, there is more to it. A string is dynamic so using Box is pointless since String::from() returns a pointer to a string that goes onto the stack while the string itself goes into the heap. Lots of weird exceptions go into it to make it difficult to explain that can only be solved on a per case basis per type

  • @pedrodesu

    @pedrodesu

    6 ай бұрын

    I'd propose just some minor changes 1.1. As was already pointed, rustc makes complete sense when you merely want to use Rust's compiler, for instance for a simple file or any environment where you don't need the notion of a "full project" with package management. Otherwise cargo is indeed more suited. 3.1. A Box is a smart pointer. The value it refers to, of type T, is indeed stored in the heap, but the structure itself, Box, which is the value returned (the "variable") when instantiating a new boxed value (the "pointer" to the memory in the heap), is stored in the stack.

  • @VivekYadav-ds8oz
    @VivekYadav-ds8oz2 жыл бұрын

    Good video overall, but a major mistake: YOU decide what values live on the stack or heap, NOT whether the value is immutable or not. I can have: struct Foo { bar: i32 } let mut x = Foo {bar:42};" and "let x = Foo{bar:32}", both are gonna live on the stack, unless I heap-allocate them explictly like I do in C/C++. I think what you're talking about is that you can't have unknown-sized values on the stack. Like you can't declare an array with non-const size, because that would depend at runtime, which isn't allowed, you'd have to heap-allocate that array.

  • @echoptic775

    @echoptic775

    2 жыл бұрын

    How to choose to heap allocate?

  • @maowtm

    @maowtm

    2 жыл бұрын

    @@echoptic775 just use a container like Box or Vec

  • @itsdazing1279

    @itsdazing1279

    2 жыл бұрын

    @@echoptic775 use Box type. Stack allocated: let var = 3; Heap allocated: let var = Box::new(3);

  • @echoptic775

    @echoptic775

    2 жыл бұрын

    @@itsdazing1279 oh right. I forgor ☠

  • @31redorange08

    @31redorange08

    2 жыл бұрын

    Yes, he should fix the video and reupload it.

  • @codebreatherHQ
    @codebreatherHQ2 жыл бұрын

    Mutability doesn't mean it's stored in the heap. It is stored in the heap if the size cannot be known at compile time such as Vector, etc . In order to make `hello` variable heap allocated, you would have to wrap it in a smart pointer

  • @SamueldeBrito
    @SamueldeBrito2 жыл бұрын

    Your videos are amazing!!! Sometimes are even better than a "getting started" of 30 minutes tutorials 🔥

  • @varunlatthe4586
    @varunlatthe45862 жыл бұрын

    Nice video! Just a heads up tho making a variable mutable doesn't make it heap allocated. Allocation explicitly happens when using types like Vec, Arc, Rc, Box, String, etc.

  • @danielegvi

    @danielegvi

    2 жыл бұрын

    Practically, heap allocation is implicit. Any third-party data structure might internally use boxes or vecs, it’s up to their documentation to tell you so. As long as you’ve got full support for std, that’s just left as an implementation detail.

  • @JeremyChone
    @JeremyChone2 жыл бұрын

    Pretty good overview. Just a little nit pick for @0:58: Mutability is not a deciding factor for a value placed Heap vs. stack. In Rust, it cannot because mutability is an attribute of the handle, not of the value. Now, dynamically sized elements are placed on the Heap, and the developer can force anything to be on the Heap by using constructs like Box. Anyway, great video. Hope many will look at Rust.

  • @babywaffles

    @babywaffles

    Жыл бұрын

    It cannot what?

  • @mitigamespro8757

    @mitigamespro8757

    11 ай бұрын

    @@babywaffles It just cannot.

  • @B3Band

    @B3Band

    10 ай бұрын

    Just a little nit pick: It's nit pick, not neat pick.

  • @JeremyChone

    @JeremyChone

    10 ай бұрын

    @@B3Band Thank you. This was before chatGPT days! (just fixed it, thanks!)

  • @Infinighost
    @Infinighost2 жыл бұрын

    I'm convinced Rust primarily exists to achieve upvotes on Reddit and Hacker News.

  • @thecoolnewsguy

    @thecoolnewsguy

    11 ай бұрын

    Ok

  • @real1cytv
    @real1cytv2 жыл бұрын

    I think cargo is on of the the biggest reason rust is so beloved... You don't have to fiddle with your build system and you have really easy access to other people's code, something that is missing from a lot of other low level languages. The language itself has quite a steep learning curve

  • @wojtekgame

    @wojtekgame

    Жыл бұрын

    I don't think ASM needs a package manager because it's assembly.

  • @weblio4861
    @weblio48612 жыл бұрын

    Full rust tutorial! Let's go.... ehm... Let's rust!

  • @n3ttx580
    @n3ttx5802 жыл бұрын

    I've learned C with a bit of C++ in high school, and started following Rust since I've read an article about the project that is rewriting Linux kernel in Rust. I wanted to participate, so just for fun, I've started learning it. IT. IS. AWESOME. Please, do more videos on Rust!

  • @chillyvanilly6352

    @chillyvanilly6352

    2 жыл бұрын

    Same here hehe, C++ was the 1st and primary lang. Wanna do some lightweight collab-work for learning purposes on a mini-project perhaps?

  • @sergsergesrgergseg

    @sergsergesrgergseg

    2 жыл бұрын

    so whats the use of c++ now that rust is here

  • @chillyvanilly6352

    @chillyvanilly6352

    2 жыл бұрын

    @@sergsergesrgergseg well, I mean it does still have it's place. Just think of it this way: assume you want to write some component in Rust, but use it withon a Java project via JNI. You would build the Rust project with it's target being either `cdylib` or `staticlib`, both of which are C libs, right? Though this is a rather nieche use-case, but still, there are multiple reasons within a context of a code-base you won't be starting off from scratch. But yeah, I personally would like to see Rust conquer the world, and perhaps even replace Java at some point, that is if Kotlin won't conquer that part of the (JVM)-world hh.

  • @klittlet

    @klittlet

    2 жыл бұрын

    Wtf why would people do that? Is Rust going to provide something better to the kernel? or is this some sort of fanboy-ism ?

  • @CounterFlow64

    @CounterFlow64

    2 жыл бұрын

    @@klittlet For better performance, and it essentially eliminates any hard to fix bugs like segfaults, data races, dangling pointers etc. These are all annoying problems with C, and the program compiles fine even of it may contain many issues like this. Rust refuses to compile if any of these issues are possible, unless you use the -unsafe flag, which you wouldn't do with an OS. Rust lets you write safe & bug free code without all the extra hassle you would need in C.

  • @andrescamilo7406
    @andrescamilo7406 Жыл бұрын

    at this point Rust is like a cult

  • @nebularzz

    @nebularzz

    7 ай бұрын

    Always has been

  • @lieQT
    @lieQT2 жыл бұрын

    You can mutate a stack allocated type like an integer. You could box it into the heap if you needed though, some rare circumstances require that, like for using dynamic dispatch.

  • @workaccount2274
    @workaccount22742 жыл бұрын

    Firebase in 100 seconds next!

  • @Fireship

    @Fireship

    2 жыл бұрын

    That video is long overdue

  • @Gobillion160

    @Gobillion160

    2 жыл бұрын

    @@Fireship agreed

  • @daytonmux

    @daytonmux

    2 жыл бұрын

    The love child of NoSql in 100 seconds and json in 100 seconds

  • @pythonop7303
    @pythonop73032 жыл бұрын

    bruh! just started learning rust roday and completed upto strings and there comes your video

  • @Kat21

    @Kat21

    2 жыл бұрын

    I think it's a good language but I'm not the best at it

  • @saadisave
    @saadisave2 жыл бұрын

    2:10 I think you should have demonstrated that using cargo instead of rustc. And, as others have mentioned, mutability has nothing to do with heap allocation. Great video, btw.

  • @ThatDudeSmoke
    @ThatDudeSmoke2 жыл бұрын

    I actually just started using rust earlier this week. Pretty cool to see that you made a video on it, would absolutely love to see you make more!

  • @michaeleaster1815
    @michaeleaster18152 жыл бұрын

    0:41 Outstanding video! Just to amplify, for newbies: Rust uses a "middle path" to be both performant and safe (from a bug standpoint, which implies a _security_ standpoint). This combination is key to understanding its popularity. The key to learning Rust is to accept that the Borrow Checker will hound you like a vicious dog (but it has your back).

  • @AlanPope
    @AlanPope2 жыл бұрын

    Nicely done. Yes, I'd love to see some more Rust tutorials.

  • @WorstDeveloper
    @WorstDeveloper2 жыл бұрын

    Yes, I would love a full rust tutorial! Also, don't you build with cargo instead of rustc?

  • @dishantmishra3940

    @dishantmishra3940

    2 жыл бұрын

    you can build with both! That said, a package with external dependencies would require cargo to build. Adding on to that, cargo is more of a package manager and dependency resolver (like npm!) and uses rustc as the compiler under the hood.

  • @darkfire2703

    @darkfire2703

    2 жыл бұрын

    Yes normally you do that. rustc is the actual compiler and cargo is the build tool (among other things), somewhat comparable to gcc and make. If you do `cargo build` it will call `rustc` in the background.

  • @aldi_nh

    @aldi_nh

    2 жыл бұрын

    Rustc and Cargo is just like Javac and Graddle

  • @NedCollyer
    @NedCollyer2 жыл бұрын

    Totally down for a Rust tutorial. Your videos are so great to follow along and learn. Love them :)

  • @ConnorMooneyhan1
    @ConnorMooneyhan12 жыл бұрын

    You did a great job of highlighting the main features of Rust! Would've liked a bit on zero-cost abstraction though. A full tutorial would be great!

  • @SkyyySi
    @SkyyySi2 жыл бұрын

    Don't manually use rustc, just use 'cargo build' ('cargo b' also works, it's a shortcut). Using rustc like this is like manually compiling every file in a project with a Makefile.

  • @mrocto329

    @mrocto329

    2 жыл бұрын

    Also use `cargo run` to run the code for testing and `cargo build --release` to do optimizations and stuff.

  • @bubbletea695

    @bubbletea695

    2 жыл бұрын

    @@mrocto329 For some reason, I just get a message saying error: linker 'link.exe' not found.

  • @mrocto329

    @mrocto329

    2 жыл бұрын

    @@bubbletea695 Assuming you're on windows from the .exe extension, you probably need visual studio & c++ stuff installed.

  • @valinkdevr5520

    @valinkdevr5520

    Жыл бұрын

    @@mrocto329 Or install mingw and use the gnu toolchain

  • @zachchildress1092
    @zachchildress1092 Жыл бұрын

    I clicked this video thinking he meant the game lmao

  • @LukSilva12
    @LukSilva122 жыл бұрын

    Yes! Full Rust tutorial! It would be cool to use this to create a web assembly tutorial as well! You made a very simple one some time back, and I wanted a more in depth tutorial about it! Your videos are awesome!

  • @geroo5676
    @geroo56762 жыл бұрын

    Explaining Rust in such a short time is very difficult, but you did a great job!

  • @sidhantsrivastava7426
    @sidhantsrivastava74262 жыл бұрын

    Full Rust tutorial would be awesome!

  • @dansho3712
    @dansho37122 жыл бұрын

    I find the C++ „Shooting in the foot“-part very funny. And I say that as someone who really enjoys using C++. But there a few things i‘d like to mention: The code shown in 0:46 is C-Style. In C++ you normally simple allocate memory using the „new“ keywoard. Also there are several ways to easily deal with dynamic memory, e.g. using STL containers or smart pointes. You will never have to worry about Memory Leaks anymore if you use them.

  • @zoriiginalx7544

    @zoriiginalx7544

    2 жыл бұрын

    RAII is pretty safe C++.

  • @VivekYadav-ds8oz

    @VivekYadav-ds8oz

    2 жыл бұрын

    Smart pointers in C++ do in-fact bring memory leaks quite down, not too far from Rust IMO, though both languages do not guarantee that memory leaks will be prevented.

  • @prodbytukoo

    @prodbytukoo

    2 жыл бұрын

    Smart pointers form part of my wet dreams

  • @prodbytukoo

    @prodbytukoo

    2 жыл бұрын

    Skipped all the annoying deletes in my final OOP project in college, and even got extra points for using them lmao

  • @ashwinalagiri-rajan1180

    @ashwinalagiri-rajan1180

    2 жыл бұрын

    smart pointers have pretty much removed that problem using raii

  • @DerSolinski
    @DerSolinski2 жыл бұрын

    OMG that garbage truck meme is basically every garbage collector ever. Thx for breaking down Rusts differences so clear on point. This is the best introduction / explanation I've seen so far. Well done. Please keep this format, your content is topnotch in this regard.

  • @vitorhmtts
    @vitorhmtts2 жыл бұрын

    super cool! it's also good to mention that rust compiler errors are SUPER helpful and, most often, precise.

  • @herrbanane
    @herrbanane2 жыл бұрын

    I'm half way theough the book, but I'd really appreciate a Rust tutorial by Fireship.

  • @aniketfuryrocks
    @aniketfuryrocks2 жыл бұрын

    0:59 may or may not. We don't specifically have objects in rust. Most heap allocations are carried out with Box.

  • @PROgrm_JARvis
    @PROgrm_JARvis2 жыл бұрын

    Great and long-expected video! Just some notes which may make it better: Except for the already mentioned /mut not requiring heap/ error. It is also worth mentioning that the type inference is smart enough to make it not needed to place explicit type annotations (as on 1:43) in most cases. The reason why it has to be used in this particular example is that `collect()` works on arbitrary *target* types and thus it need a type hint into what to collect the data. Also, to be fair, the screenshot at 1:27 has not got much to do with borrowing checker (there may be better examples, I guess). Also, the preferred way to build binaries is `cargo build` instead of `rustc`. So I guess (just my personal opinion) that it may be reasonable to have the video updated/reuploaded with these patches so that it gives a better image of the language in general (and not get used in holywars as an argument, haha).

  • @macmoholic6283
    @macmoholic62832 жыл бұрын

    Would love more of Rust in any form on this channel. Currently learning the fundamentals of it, but I hope to learn how it is used in WebAssembly!

  • @jedenpetrzela
    @jedenpetrzela2 жыл бұрын

    I just started learning to rust. This video's a real eye-opener.

  • @MagnusGamesUS
    @MagnusGamesUS2 жыл бұрын

    Was literally setting up rust when I got the notification

  • @johnvandenberg1448
    @johnvandenberg14482 жыл бұрын

    Loved the video and looking forward to seeing a more in depth video on Rust. Thanks for creating this!

  • @TheRebel2014
    @TheRebel20142 жыл бұрын

    Please and thank you for a tutorial! Loving learning rust as a side project. It's been fun to have more direct control than with go or Python.

  • @capkenway
    @capkenway2 жыл бұрын

    a full rust tutorial would be lovely

  • @eoussama
    @eoussama2 жыл бұрын

    Yes, finally. Fireship is like Santa for adults, he's real, and active all of the year.

  • @Bluefield.creator
    @Bluefield.creator2 жыл бұрын

    Saw this suggested yesterday ! Awesome to see fireship listening to community feedback!

  • @BenedictGS
    @BenedictGS2 жыл бұрын

    I appreciate you bringing something out of your mastery, try to learn it and share with us those learning.

  • @abplayzz
    @abplayzz Жыл бұрын

    "Future Linux Kernel?". Your prediction was on point!! Well not the entire kernel is being replaced with Rust but they are now adding Rust support in next version of it's Kernel. v6.1

  • @jsh3288
    @jsh32882 жыл бұрын

    Good video but things are only on heap when you explicitly make them on heap by wrapping them in a heap container like Box or Rc. Mutable values can be on stack as long as their size is known at compile time, this is possible even if you reassign the variable. If you have something stored like a polymorphic type like a trait and you want to store a struct that implements that trait you would need to store it in a Box (with dynamic dispatch(dyn)) since the size of a value like that can't reliably be known at compile time. Also to compile a rust project with dependencies and utilize the build system you need to use cargo (eg. cargo build, cargo run) instead of rustc.

  • @PH0ENiX-._.-PH0ENiX
    @PH0ENiX-._.-PH0ENiX2 жыл бұрын

    Yes I too would love to see the detailed tutorial from basics to advanced. You explain things very good.

  • @Jaguar2121
    @Jaguar21212 жыл бұрын

    Thank you for the Rust in 100 seconds video!! You explain concepts so clearly. Yes! Rust tutorial please.

  • @michaelespinoza4562
    @michaelespinoza45622 жыл бұрын

    My homework can wait.

  • @KoyFoster
    @KoyFoster2 жыл бұрын

    Rust is amazing. It's like C++ but in scripting form. I'm falling in love with this channel.

  • @TheDvmitto
    @TheDvmitto2 жыл бұрын

    Yes please, would love a more extensive rust tutorial. Yours is the best concise video so far to explain Rust's ownership

  • @anthonycarella1779
    @anthonycarella17793 ай бұрын

    Typed "rust language" in the YT search hoping that a Fireship video would be one of the first vids to pop up. Did not disappoint.

  • @bruhgamer317
    @bruhgamer3172 жыл бұрын

    rust is really cool, sad to see 41% of packages be abandoned

  • @VivekYadav-ds8oz

    @VivekYadav-ds8oz

    2 жыл бұрын

    Most are small and niche in nature and contain as few as 2 or 3 source files. They were designed to a specific thing and once coded, don't generally need to be maintained after that. Hence no new commits, hence the feeling of "abandonment".

  • @eklavyachandra
    @eklavyachandra2 жыл бұрын

    1 hour course on Rust would be amazing

  • @rishadbaniya

    @rishadbaniya

    2 жыл бұрын

    Really, u think 1 hr is enough to learn this complex language? Its just enough to add a spark to learn. Jonhoo's channel has been adding contents for hours and still its looks hard to get things clear

  • @nilstrieb

    @nilstrieb

    2 жыл бұрын

    @@rishadbaniya And even Jon's channel assumes that you have a decent understanding of the language

  • @ezioauditore7636

    @ezioauditore7636

    2 жыл бұрын

    Honestly, Rust is not intended for complete beginners who have no experience in programming. But if you have even a beginners-level of knowledge, you can totally learn Rust to proficiency just with the Book.

  • @charlesmitchell491
    @charlesmitchell4912 жыл бұрын

    I knew rust was inevitable after the go video.. love these videos

  • @marekdanco372
    @marekdanco3722 жыл бұрын

    YES! I've been waiting for video on rust for a long time, I've been wanting to try this. Please, upload a full tutorial, I would be very happy!

  • @advanceringnewholder
    @advanceringnewholder2 жыл бұрын

    2:09 why use rust while you can just use cargo build and cargo run.

  • @aldi_nh

    @aldi_nh

    2 жыл бұрын

    Why bother cargo build when you can just cargo run

  • @lowrhyan567

    @lowrhyan567

    2 жыл бұрын

    @@aldi_nh Why bother Rust when you can just use Assembly and save 5 Ms when running the code

  • @lukemelaia2461

    @lukemelaia2461

    2 жыл бұрын

    @@lowrhyan567 because you can save a few more cycles if you do it directly with binary

  • @cod3r1337
    @cod3r1337 Жыл бұрын

    No half-competent C++ programmer would routinely use malloc/free, or even new/delete when it can be easily avoided. Fun fact: C++ actually has automatic memory and resource management. Well, kind of, at least. It's called RAII. The problem is that it's not enforced, and sometimes tricky to get right. This is where Rust and its borrow checker comes in - it picks up C++' idea of automatic resource management, makes it mandatory and goes out of its way to keep you from getting it wrong.

  • @brunogoncalves9747
    @brunogoncalves97472 жыл бұрын

    I definitely want to see a full-lenght rust tutorial, especially geared towards game development!

  • @berkakipek8991
    @berkakipek8991 Жыл бұрын

    Full Rust tutorial would be great. Your videos are awesome. Keep up the good work. :D

  • @zaouiamine6475
    @zaouiamine64752 жыл бұрын

    "If you would like a rust tutorial" Do you really think there is going to be someone to say no ? Xd

  • @Atmos41
    @Atmos412 жыл бұрын

    What's amazing about Rust is how smart and detailed the compiler is. It tells you how to fix your errors in a very precise and understandable way, unlike C++

  • @mrbaeman39lolman60

    @mrbaeman39lolman60

    2 жыл бұрын

    There are multible C++ compilers

  • @atalocke
    @atalocke2 жыл бұрын

    When you make your tutorial, please make sure to cover Lifetimes, Option, Result and how to create modules. I've been developing witj Rust for two years almost daily (including my own lang) and these are what tripped me up the most in the beginning.

  • @hamcillus6678
    @hamcillus66782 жыл бұрын

    I’d love to see a full rust tutorial, been thinking about the language recently and wanted to start off strong

  • @OggerFN
    @OggerFN2 жыл бұрын

    Full Rust tutorial please ;)

  • @leastexpected3115
    @leastexpected31152 жыл бұрын

    You forgot to mention that variables can be "consumed" by functions, depending on how you pass them to functions in example

  • @RobertBMenke
    @RobertBMenke2 жыл бұрын

    The dog walking example was brilliant. More rust, more rust!

  • @errre8091
    @errre80912 жыл бұрын

    This channel is awesome. I was looking into how to get started with Rust yesterday. And here comes Fireship like. Hey got you man. 😎

  • @kettenbach
    @kettenbach2 жыл бұрын

    100% full rust Tut. Then full web assembly with Rust

  • @syntrax-og
    @syntrax-og2 жыл бұрын

    Still waiting for the Rust tutorial...

  • @adrianjagnjic7726

    @adrianjagnjic7726

    Ай бұрын

    Fr

  • @hedzikkrecik2334
    @hedzikkrecik23342 жыл бұрын

    Yes, I'd love to see a rust tutorial! Especially one where you raid other people and show us base designs.

  • @MOMIN5
    @MOMIN52 жыл бұрын

    was really looking forward to this, thanks for the video!

  • @jp46614
    @jp466142 жыл бұрын

    I don't think you would really build operating systems with a language designed to be ran under an operating system

  • @chrisdaman4179
    @chrisdaman4179 Жыл бұрын

    This video is in violation of The Foundation's marks

  • @VGMinds
    @VGMinds2 жыл бұрын

    I'm just fucking impressed. You explained better ownership and borrowing in a 100s than many tutorials in hours...

  • @zperk13
    @zperk13 Жыл бұрын

    "However, mutable values, objects with an unknown size at compile time are stored in the heap memory" Incredible, every word of what you just said, was wrong

  • @stackoverflow2155
    @stackoverflow21552 жыл бұрын

    0:24 "most loved programming language" how easy it is to manipulate these polls.

  • @thiesemho
    @thiesemho2 жыл бұрын

    "MOAR" (more) please, I would like to hear how to create an wasm file with Rust or how to create an project with own modules in itself 😉😁👍

  • @nagarajansubramani
    @nagarajansubramani2 жыл бұрын

    Jeff, I'm forever astonished by how quickly enough and how deeply enough you learn a new subject to be able to make such a detailed summary of it. I think the next video should be 'Learn how Jeff does it in 100s'. 🙂👍

  • @valizeth4073

    @valizeth4073

    2 жыл бұрын

    Thing is, he doesn't. That's why so many of these videos contain inaccuracies or outright false statements.

  • @samueld-bx6kv
    @samueld-bx6kv2 жыл бұрын

    Other than a few inaccuracies, this was a great video! I'd love to see full tutorial with rust wasm and javascript.

  • @unfortunatewitnessX
    @unfortunatewitnessX Жыл бұрын

    So.....when IS the Rust tutorial? You promised that if we liked this video and subscribed to your channel, we would learn how to program in Rust. I wouldn't mind coding games on it!

  • @slackstation
    @slackstation2 жыл бұрын

    Would love to see a full rust tutorial and walkthrough. Next, could you look at the Solana cryptocurrency and the framework Anchor? Solana uses Rust for contract programming language and Anchor uses IDLs produced by Rust to bridge over to Typescript for writing applications.

  • @djordjenikolic6560

    @djordjenikolic6560

    2 жыл бұрын

    Heh thats the exact stack im learning right now. Well..Im also learning serverless rust

  • @Silenoid
    @Silenoid2 жыл бұрын

    I absolutely wish for an awesome long Rust video tutorial by you

  • @talhaibnemahmud
    @talhaibnemahmud2 жыл бұрын

    Definitely need a full tutorial on this extremely loved tech

  • @saratchandramv1886
    @saratchandramv1886 Жыл бұрын

    Im not a CS guy into some developing :/ My boss asked me to have a perl kinda language alongside programming languages ( c++, c#). Because its essential he says. Will Rust work like a perl alternative?

  • @vervok

    @vervok

    Жыл бұрын

    No it's more the opposite of Rust, Perl uses a complete different type system. I would say give Python a try it has very good libraries and a nice community. I'm mostly using C/C++,C# and Python professionally.

  • @saratchandramv1886

    @saratchandramv1886

    Жыл бұрын

    @@vervok oh. I should give a try to python then. Tried learning it once for a brief time.

  • @biqbicle4982

    @biqbicle4982

    Жыл бұрын

    @@saratchandramv1886 python is a very easy language so i reccomend it

  • @hmmhm6620
    @hmmhm66202 жыл бұрын

    Kotlin in 100 seconds!!!

  • @kevinlao3690
    @kevinlao3690 Жыл бұрын

    Would definitely love to see a full Rust tutorial!

  • @akshayiyer4980
    @akshayiyer49802 жыл бұрын

    Would love a full rust course with your explaination

  • @tentrot4420
    @tentrot44202 жыл бұрын

    Blazor in 100 seconds pwease

  • @kraftwerk28
    @kraftwerk282 жыл бұрын

    Everybody gangsta till it comes to "safe" async programming with futures

  • @SFSAtlas

    @SFSAtlas

    2 жыл бұрын

    I had to use async to get libretranslate crate working

  • @kuntaldas2843
    @kuntaldas28432 жыл бұрын

    you explained the memory ownership and borrowing in so simple terms that even I could understand it.

  • @GumowyKaczor17
    @GumowyKaczor172 жыл бұрын

    as always, topic I’m interested in gets it’s 100 seconds vid. Keep it up Jeff! 🔥

  • @privateinformatics6584
    @privateinformatics65842 жыл бұрын

    I was forced to learn Rust in uni and by god, I have coded in LISP, Basic C, C#, C++, java, gdscript, python, javascript, css/html and php, and no language has ever gotten close to being as confusing, obtuse and illegible as Rust (though python is stiff competition in the illegible category). It's cool that this language is so popular, so there's enough people out there willing to use it so that noone can force me to touch that accursed crustacean ever again.

  • @henil0604
    @henil06042 жыл бұрын

    you are mind reader bro! i just opened Rust Official Website to start learning Rust and your video showed up on youtube "7 Minutes ago" 😃

  • @enebz3746
    @enebz37462 жыл бұрын

    I literally searched for this yesterday, today the world blessed me with this video.

  • @ArielBenichou
    @ArielBenichou2 жыл бұрын

    Yes, I'd love to see a full rust tutorial!