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) https://github.com/fireship-io/rust-in-100
#programming #rust #100SecondsOfCode
🔗 Resources
Rust Docs https://www.rust-lang.org/learn
Rust Book https://doc.rust-lang.org/book/
Rust Quickstart https://github.com/fireship-io/rust-in-100
Also see Go in 100 Seconds https://youtu.be/446E-r0rXHI
🔥 Get More Content – Upgrade to PRO
Upgrade to Fireship PRO at https://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
Views:1298237
Taqs:webdev,app development,lesson,tutorial
コメント
コメント (920)
トラックバックは利用できません。
2:09 Windows user detected lol
Yo has anyone noticed these videos aren’t 100 seconds long?
I am thinking on learning a new language i am torn between go and rust. Go though is so attractive
I really want to learn Rust but it just lacks the community and 3rd party libraries. Like if you want to make a GUI, in C++ you just use qt or any popular GUI framework. That doesn’t exist in Rust. It also doesn’t have an established game engine, there is a web framework (Rocket) but who knows how popular it is. It makes me wonder what people are coding in Rust in the first place. Great language but 0 community.
When I first heard about Rust, the next question that is hard to answer is “why”? Even the “how” part is very difficult to answer. Nothing can suddenly comes from a vacuum without relation to other things before it. I search far and wide. All explanations can be found from the writings of Roberto Bagnara in his “Rusted-C” proposal. Instead of being a fanboy hyping the thing, why can’t we just dissect it and get to the bottom of things here. Because a lot of n00bs out there have no idea what they are getting into. How can one protect oneself from the very dangers of which he is ignorant?
I wanna see a rust tutorial
You need to be a C++ developer first, in order to be a decent Rust developer. Otherwise it looks like an unnecessarily weird language.
Also, Rust is probably the only language that needs tutorials to teach how to work with strings…
waiting for “full rust tutorial”
Yes a rust tutorial could be the best thing, and i could know how to use Deno properly!
Fun to know how no one realized that most of these vids are 130 seconds
I would say lower languages provide you with a gun, with which you can shoot yourself in the foot if you don’t know how to use it. Rust gives you toy gun, with which you can’t shoot anyone.
Mutt))
Pug
this is a comment
This won’t compile. You forgot “:?” in the template string for the “println” macro.
Yep 100 seconds (2*60)+29=100
2:12 Main .exe 💀
Rust tut?
Tutorial yes. That assembled voice? …thanks.
Is Rust good for doing machine learning type of programming ?
Man, this looks weird. I’ll stick to Python.
In university we had a software-computer science- gigachad like in the memes. The guy is very smart and skipped classes to study in of the most elite universities here in Germany. He is an insane programmer and was always vocal about how great Rust was an important performance gains are. We learned Java in university and he was keen to rewrite his code in Rust just for the flex and performance. After getting all the points he needed he trolled the tutors correcting our assignments. He wrote the whole program (a card game) in one single Java file with 300 lines without using OOP and without Javadoc (we needed to write Javadoc…). And all tests passed and it worked perfectly fine.
0:37 wtf, that was not C++ but C…. lol nice ad for Rust… don’t compare languages if you don’t know them
OdinLang in 100 seconds!
Weird. I didn’t think rust was that old and I’ve never heard anyone mention Graydon Hoare
Remove this mut ;D
This video predates rust foundation trademark policy,
We can just sue them back and win it.
Yes, I’d love to see a rust tutorial!
This message is not endorsed by the rust foundation
This video is in violation of The Foundation’s marks
In Rust, there are pros and cons of not having null. Quite problematic sometimes, althought, there’s None but it isn’t compareable with null.
0:13 aged like fine wine
Rust became the third language in the Linux kernel.
this video not only taught me about Rust but also helped identify that my potted rose is suffering from rust fungus lmao. Doubly helpful
I’m not a robot
Tis funny the Rust extension for VSCode is deprecated
Would love to see the full tutorial
It would be nice to see a Rust video
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.
full rust tutorial please
full rust!
so rust is just better C atleast from what youre saying? tho its syntax seems a bit more complex (maybe unpopular opinion but C actually has pretty intuitive syntax i think), ik a bit of C but no rust
Full Rust tutorial would be great. Your videos are awesome. Keep up the good work. 😀
need rust tutorial now
Moar?
100 rocket raid
wait a minute its 148 sec
heh, wait till they hit memory scope and dyn traits… 😈
Ain’t it weird the Rust extension for VSCode was deprecated
Python does not have garbage collection. It uses reference counter for memory management.
I write in assemble and its way faster then rust.
His code compiled to “main.EXE” !!!
I’m currently still dealing with my feelings knowing Fireship rox WindowsOS. #sadface #cry
I’d love to see a tutorial on rust in game dev 🙂
mut = mute not mutt!
tutorial for shmichael shmangelo
“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
here my question. do we realy need rust for web development or mobile development. I am a junior software enginner. I have 3 years experiance and I am coding fullstack both web and mobile. but ı am wondering do I realy need rust in future ?
This language is making so much noise while offering something that only 0.01% of developers actually need. Please consider it guys 🙂
Okay! I have one question. Can this finally replace C++?
I tried to learn Rust but then I shit my pants and my parents took my computer away 😢
I would like have a Rust Ownership tutorial made with your style.
Rust tutorial
Tried Tauri this week. Don’t know rust but vs Electron it’s a game changer
I wanna see a full rust tutorial.
0:12 Yo
0:27 actually that example would also be stack allocated as it’s a &str type. The heap allocated type of string is String (which is properly mutable instead of just reassignable)
TUTORIAL PLEASEEE!!!!
yes to full tutorial, Inthink this is my next language…ps I started programming in the seventies with Algol, Fortran and Cobol…
Idk why, I always found Rust harder to program than C.
A web server: is Rust or Go better?
Rust Tutorial
Rust tutorial please!!!
How it is different from Objective-C ‘s Reference Counting?
Borrow ?????
is it mandatory to know how c or c++ works to start learning Rust ? thank’s
🤍🤍🤍
Great video. Thank you
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?
WE WANT RUST TUTORIL
full rust tutorial pls
mutable values have nothing to do with being allocated on the heap
Which is better at concurrency Rust or Elixir?
after version 6.x, this video hits different
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!
Damn, even the simpliest app in Rust looks complicated
As a C/C++ programmer for more than 2 decades Rust is the only language that has garnered my interest. Does anyone have comparative Kernel performance stats? I’d like to see the same test kernel composed in C++ and Rust compared.
As both an Eve Online player and tech student, believe me when I say IN RUST WE TRUST.
1:06 maybe somone can help me here. So when transfering a reference to a different scope, it doesn’t transfer the rust ownership, right? That means that when original variable runs out of scope, the value is destroyed, right?
What to do in cases of asynchronous programming? We create a variable in one scope but when the event finally fires we’ll need to access this variable value in a different scope later?
Trying to figure out how Rust works, thanks!
No because why did this help me on my rust test!
Oh I thought this was about rust the video game
C++ was presented here with malloc and free. This is not C++, but plain C. C++ has smart pointers that clean themselves up once they go out of scope. No shooting oneself in the foot here.
at this point Rust is like a cult
Moar
moar rust!
make a video about the vlang
I think ownership & borrowing concept can also be implemented in C++ with simple keywords used while declaring/defining variables, I hope this feature comes out in the future updates.
Awesome, please make more videos on Rust
I just realized these aren’t actually 100 seconds
zig in 100 seconds
Why the logo is a Crab? why?
Excellent explanation of the ownership and borrowing concept.
Well, now Rust can be used for PRs to the Linux Kernel
“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
0:13 Great prediction I guess
If you use malloc with C++ you have been living under a stone for at least 20 years.
🦀🦀🦀
0:12 He predicted the future as Linux kernel 6.1 will get Rust built-in.
How can I uninstall Rust from my Linux Kernel?
Thanks!
Glad to see Rust making it into the Linux kernel
I thought rust was a game where you hit people woth rocks.
🦀 🦀 🦀 🙂
Why do we still bother with C😂
Rust tutorial please
Rust has the best error messages, it even tells you what to do whenever you get an error. I am thinking to start working with rust, but there’s literally very few tutorials
full
Please don’t put music in yours videos
I will have to say yes to that Rust tutorial.
*Comments for full Rust Tutorial*
I am very very very intrested
More rust
VS Code with rust-analyzer or Intellij Idea with Rust plugin?
Where’s Rust for the Haters? I’d like to see that.
PLEAAASE do slint (formely sixtyfps)
I love Rust so much. I’ve been writing Cpp for 14 years now (not all of them – professionally), and I’ve had a full stack career on top of that. Rust is such a modern and fun language to use, once you’ve learned how to deal with the compiler and figured out the memory intricacies of its many ptr types.
I love Rust 🙂
It is a fantastic programming language but it also has a horrible name.
is there a rust in time compiler for it
Kinda like ARC works in ObjC and Swift.
*0:31** American rubbish trucks are the worst thing I’ve ever seen*
I want to see rust and react native courses.
Does it have a web framework
00:55 is plain wrong. Mutability has nothing to do with where the values are stored. The concept you are looking for here would be boxing, like a Box is a T living on the heap.
There has to be some kind of catch. This language seems great
Garbage collectors to NERF, no GC to shoot your self in the foot … man, so simple, so funny … lmao ever since … GG
Memory management looks like reference counting from VB6. Is this another case of what’s old is new again?
Sorry. I refuse to use LET while programming. I haven’t used it since my Sinclair ZX81 days.
“We have Trust in our Rust!”
Since we’re nitpicking, technically a better way to write the do_stuff function would to have it take in a generic slice type, since it would then be compatible with vectors and slice types, plus it would work on such containers containing any type of data:
fn do_stuff(val: &[T]) { … }
Rust tutorial please.
The syntax sucks though.
First time I heard about Rust is from an article that discussed about Linux Kernel moving to C99 and rewriting some part of it in Rust, and I thought what kind of an amazing language that wins Linux developers’ hearts when even C++ couldn’t get into that lmao.
Thanks
It took me a minute but I was understanding “low level performance” as being very slow, but what it really meant was “performance of a low-level language” which means fast.
rust tutorial plz let’s gooo
@Fireship seems like all these in 100s videos (which are brilliant) are about 2mins and 30s, which is 150s. Is that by design or are you just bad at math?
0:32 oh lol, was it garbage collector or garbage spreader??
0:24 what’s the source of “Rust ranked world most loved programming language since 2016”?
I agree with many others: a rust tutorial would be really appreciated!
Full tutorial when?
I clicked this video thinking he meant the game lmao
Thanks!
Rust tutorial please! 🦀
Would definitely love to see a full Rust tutorial!
0:18 really? Hoare?
i am still a complete dumbass but i wanna start learning about programming, what should i start with, also any tips are appreciated😊
0:24 Ofc C++ and Java are nowhere to be seen
Rust is all fun and games until you try to use closures and generics
A little detail I just found out about: Rust has a “yeet” keyword for throwing errors.
Just a small detail that I find the funniest thing I’ve ever seen in programming
That syntax is absolutely filthy.
I LOVE RUST!!!!!!!!! 🧡🦀⚙️🧡🍊🦀🦀🦀🦀⚙️⚙️🦀🧡🧡🧡🧡🧡🧡🔥⚙️🦀🦀🧡🧡🧡
This is the best and only language
1:24 – That’s the most helpful error message I’ve ever seen. None of the “Traceback call last” paragraphs or “Expected x on line y” scavenger hunts.
error[E0382]: borrow of moved value
video started at 00:01
can we see an analysis of rust vs Go?
Mutable also in c++
Why didn’t you say “hi” to your mom?
Full Rust tutorial please! 😀
Still waiting for the Rust tutorial…
i thought this was the game “rust”.
> mutable values…are stored in the heap
This is incorrect, and it’s a pretty fundamental point. Rust is happy to have mutable values on the stack. The stack vs heap distinction in Rust is similar to the same in C++: objects need to live on the heap if their size is unknown at compile time (as the video mentions) or if their lifetime isn’t limited to any particular scope. In Rust this is often done with Vec, Box, or Arc, much like C++ would use vector, unique_ptr, or shared_ptr.
Rust’s unique approach to mutability is unrelated to the stack/heap distinction. The rule in Rust is that a mutable object can’t be aliased; there can only be a single, unique reference to it while it’s being mutated. This dovetails very closely with the ownership and borrowing rules that keep track of object lifetimes and prevent use-after-free bugs. These are the parts of Rust that make it really unique.
incredible
ewwww…. Steve Jobs……
I definitely want to see a full-lenght rust tutorial, especially geared towards game development!
More rust
Really enjoyed this, thank you for creating it. Unfortunately due to youtube’s strong rust preference I’ll be seeing rust videos for the next three lifetimes now.
Rust compile time is slow!
What I found out so far is that Rust is either just as fast or faster than C++ when writing code out-of-the-box. But C++ allows those final tweaks to be even faster.
But Rust is still much easier to manage compared to C++. So, chose as you see fit.
Seems like it’s making things even more complicated. C# is already too complicated for me. I still can’t figure out what “static” means.
*Every person who hasn’t left their mom’s basement in the last 20 years’ wet dream in 100 seconds*
❤️❤️❤️🦀🦀🦀
Yes , full rust tutorial
Please give us the full tutorial!
I love how he did not give any shit about the warning at the end.
yew in 100 seconds?
Revolutionary things always comes in orange color 😂
Rust!
C
You shoot yourself in the foot.
C++
You accidentally create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical care is impossible since you can’t tell which are bitwise copies and which are just pointing at others and saying “that’s me, over there.”
Assembly Language
You crash the OS and overwrite the root disk. The system administrator arrives and shoots you in the foot. After a moment of contemplation, the administrator shoots himself in the foot and then hops around the room rabidly shooting at everyone in sight.
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.
Spu7Nix? Xd
Rust is amazing. It’s like C++ but in scripting form. I’m falling in love with this channel.
i never even heard of rust until like 10 months ago
too bad it is terrible for making web apps, also the available orm and db libraries are all over the place and poorly documented, still top for anything else
Yeah sounds a WHOLE lot easier than new and delete.
Great job, would like full tutorial
I’m convinced Rust primarily exists to achieve upvotes on Reddit and Hacker News.
Would love a full rust course with your explaination
Mutable values are N O T automatically stored on the heap in Rust
I died at that gif of the garbage truck flinging trash everywhere. lol great video. was just the summary I was looking for
I want a full-stack developer boyfriend pls <3
I hate how unnecessarily alien the syntax of this language is, and how it can take 10 minutes to compile a hello world. If you are incapable to use C++ for memory management: learn how to use it.
0:31 that’s an illustration of Java’s Garbage Collector
Really thanks for your tutorials, i am really loving it, i was watching your Haskell in 100 seconds and there was a logo of Zig for about 2 or 3 seconds, i was interested and now i am knowing it, isn’t that awesome? Also big thanks for using Fira Code font, my favourite
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.
Want full rust tutorial
I’d love to see a full rust tutorial, been thinking about the language recently and wanted to start off strong
I think the only thing missing from Rust is ecosystem maturity. I tried to convert a program I wrote in C++ to Rust, but the program used libTIFF and I found the Rust TIFF libraries to be kind of confusing and not super well documented. I eventually gave up and decided to just improve my C++ program.
is julia faster than rust?
Yes I too would love to see the detailed tutorial from basics to advanced. You explain things very good.
.rs #rust #rustlang #cargo #rustacean #fireship
anybody else who likes the game rust get reccomended this video go home YT algo you’re drunk.
Please, do a “100 sec” of R
Well, i clicked thinking it was about Rust the game..
As a jr web dev I really really really wanna get into Rust but also wtf is a heap
I’m just fucking impressed. You explained better ownership and borrowing in a 100s than many tutorials in hours…
More Rust Please!
amazing
Thanks
ITS NOT PRONOUNCED MUT ITS PRONOUNCED MUTE
“….to nerf your control over memory management…” Lol
I was wondering how you could possibly explain Rust in 100 seconds. Well, this is definitely how.
Basically in all practical uses no one actually uses free or delete. unique pointer and stl data structure are quite good at managing there own memory
Man, I still have my plans for my GSD language… The cold compile times would be atrocious, but great incremental, and such great unorthodox features, people would either love it, or just be too confused by it being too alien…
GSD stands for: _Getting Shit Done_
– The main thing I want is a heavy consistent suport for compile time evaluation, which all languages need (macros, templates,…), but it’s rarely elevated to a first class citizen. Instead it should be the basis.
– And to minimize annoyances like boilerplate, or convoluted build tools, mainly static linking, rich type inference even in fn headers (really, all functions would be more templates, instantiated depending on how they are used) (unless ABI, and restricted for library API), and so much more… – _I want, what the name says._
A little like Zig, but a lot more capable, and for example: Types are “just” compile time objects that implement an interface TypeGuard, etc.
//why did I comment this? … idk… I’m depressed, and felt inspired… It’s just a language I dream about, and while I have an idea on how to write it, I ~know I will never have the energy, nor time for it, and I know it will never get popular even if I did make a prototype …
I have thousands and thousands of lines of notes, thinking about the design… Why can I not just be content with the annoying stuff we have…
I wish I would at least write an article about the ideas I have – Maybe people would like it. Maybe some language could pick up the main ideals… But I don’t even have the “energy” for that…
Where smoil?
I love learning rust when I’m playing rust
I can’t emphasize enough how much I love cargo, it just makes everything so much easier
Rust is the future.
what the heck is this nerd talk
Hell yeah I’d like a rust tut
you should do these but for different cryptos (like cardano in 100 secs)
Your stopwatch didn’t run on rust.
I know this is an oversimplified video, but in C++ you do not need to handle memory manually, the memory management in modern C++ is actually very similiar to the one in Rust, although it is somewhat uglier.
Now THIS is a modern low-level programming language
Why did I think this was about Rust by Facepunch
Yes please!
I love this language 😊👍
I loved C but hated C++ as it’s ugly as fuck. I hope to visit again the “low-level-like” languages
It’s funny how everyone is correcting the statement that mutable variables have to be on the stack, while also making the mistake in assuming variable with unsized types have to be on the heap. “Hello world” is a str , an unsized type, and it is stored in static memory.
more for rust
comment to see a full rust tutorial! 🙂
0:37, C has this restriction. With C++ you can also do this, as well as higher-level methods too. library, which forbids data racing at compile-time.
0:51, C++ can use both mutable or not on the stack. The condition is if their memory size don’t pass a certain amount of memory. 1:05, whenever it does, 1 can use smart-pointer, that does just what you showed here – and prevents the dangling issue.
1:19, you can pass a reference for that, as well as any other variable/object/pointer. Pointer is specially useful in situations where things can go wrong, allowing to represent the case by a null value, which is a nice idea.
Race conditions: since 2011 (C++11) we have the
1:47, finally something C++ hasn’t: assigning numbers by a growing order, right at the declaration. But you can always define your custom constructor for that.
Being called a Rustacean is reason enough for me to learn the language
i want to know how this dude creates his videoes
Respectfully, there are a lot of misconceptions in this video. C++ also has drop semantics and you can write memory safe code with it when you don’t use raw pointers at all. The reason Rust is memory safe is because it doesn’t allow you to use raw pointers by default and checks reference validity at compile time, which C++ could only really do at run-time last time I checked.
Do video for scala
All is better with rust!
I am very interested also to see a Rust tutorial. The Scryto programming language that is built on top of Rust as well as the Radix engine I believe are the future of web3
MAKE A FULL RUST TUTORIAL RIGHT NOW!!!!🔫🔫🔫🔫🔫
Ahh a compiled rust code will produce an exe file, sir so that exe file can run in other computer without installing the rust?
I will wait for your respond sir jeff delaney..
I’m not a programmer at all, but I see Rust makes .exe files, so does Rust only work on Windows???
1000th comment
yes 1
I can’t believe it’ss only 100 seconds! I learnt something efficiently today!
Moar
Interesting language. I like to have full control over my system though so I’ll be sticking with C.
Terribly interesting. I’d love to learn more.
Rust with Elixir anyone?
i love rust!
Full tutorial please 🦀
Furries LOVE this language! So do I!
The claim that it is a cult like strange following with 60% reddit like moderation is pure trite! I would ban these people immediately claiming such misinformation!
Trust the government!
Much love
0:36 I spat my coffee all over my keyboard. On the way to buy a new keyboard. THANKS.
You can code for web with webassambly, low level, nearly automatic memory control. Isn’t it perfect? Why not everyone using this?
Finally! I understand the ferris_says example!
Please do it! A beautiful Rust tutorial
Moar plz
Nice an overview, that far, from C# coder’s point of view, Rust looks not so different 🙂
Where’s joke about rust, the game one
Please do a longer video on Rust! ❤️
Yes please to the rust tutorial!
Give Zig a justice please
Yes, a full rust tutorial would be better than this.
Do Verilog in 100 seconds! It’s incredibly interesting to me how HDL languages literally translate into a digital circuit rather than machine code and I’d love to see your take on it.
> sees & before a variable
*SCREAM*
A FULL RUST TUTORIAL PLEASEE 🥺🥺🥺
Or, if you set the speed to 0.75x like I had to, “This has been Rust in 133 seconds”
Rust, a scary game
Amethyst is dead, man 🙁
rustlings << Strongly recommended! Its a superb interactive tutorial where you go deeper and deeper into it while actually writing and compiling Rust step by step 👍👍👍
Rust, a new language, manages to look uglier than old C++. It’s the ugliest fucking thing I’ve ever seen in my entire life.
Full rust tutorial!
The video was good to the point he was showing c++ and talking about manual memory freeing…
I think some people just don’t understand that there is something called modern c++
your only missing the sweaty zerg clans along with screaming 14 year old kids when their rust base gets raided.
I don’t understand why I get these awful videos in my feed. If I wanted to hear someone reading me a Wikipedia page, I’d read it outloud myself. You’re the “behind the meme” of programming videos.
I would love to see you try and use the Rocket web server framework.
Your videos are amazing!!! thanks
Idk if I wanna play Rust, there was a bp wipe a while ago and I’m really just not in the mood rn.
seems like a perfect programming language to me. does it have any downsides? (apart from the ugly syntax, wth were they thinking???)
Oh, the language thit its maintainers distort CS terms and remove codes to complly Political-Correctness? I know.
If that was meant to demonstrate how simple this language operates then epic fail.
If your not already an experienced developer this demonstration may give you a migraine.
A tutorial of Rust in detail would be a lovely resource,
You are a genius. This is friking awesome!
Rust tutorial
Yeah! Rust tutorial!
I’d love to see Rust tutorial
Rust is fine if you actively avoid the general Rust community
How is it different from the garbage collection?
hi mom
This totally deserves a tutorial
so it is C++ safe version?
Go full rust tutorial!
am i just stupid but i thought stack variables were able to be changed?
Oh, its not a game meme video….
I’m not sure that this was 100 seconds.
I should really try Rust. It really does seem to be the “next big thing.”
did you hear about smart pointers and RAII idiom in C++? coz call 0:37 as cpp code its …
I didn’t see anything worthwhile that Rust can do better than cpp, probably because I’m not affected by the hype.
After i learn a decent amount of C/C++ think i’ll learn some rust
Full tutorial please Jeff!
well rust… I expected some survival, building and raiding techniques
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++
Rust killed C++
Love it!
Pro tip:
Instead of doing rustc to compile
Use:
Cargo build
Then
Cargo run
it’s such a well loved language that in 2020 it barely beat Dart and Lisp in the TIOBE index at a whopping 0.5%
Rust is a wonderful language. But it is not good for projects that must be completed
Good luck finding RUST tutorial.
All you will find is a video game.
Couldn’t come up with the name worse than that ?
0:40 😂😂 after coding endless hours of system level C Code in university, I feel this statement so hard😂
You I put functions inside of functions?🤨
i don’t get it
please do a full tutorial
Have you corrected the error at 0:55 ? the one pointed out by @Bar Yemini – 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).
I think it’s still in the video and many people use these videos for learning concepts. It would be very problematic if people learn something incorrect.
I’d love to know how it validates a race condition, that seems really difficult to do!
i mostly see rust being used in linux oses or unix-like, it is not that common on windows
memory allocation & deallocation in C not necessarily is the gun pointed towards your foot … its more like a holstered gun of any kind – you can use it to shoot bears, robbers, terrorists …. but you can also use it to shoot yourself. Most people use it to shoot themself – only to start blaming the gun immediately. Because reasons. And because C is bad – thats what everybody else with little to no actual experience says so it must be true, obviously 😀
C absolutely *requires* software development skill and experience. Dont use it if you’re a newbie. Like … at all. Also don’t use it if all of your skill is centered around scripting languages like JS, Angular, PHP and the likes – you need experience with low-level or “lower-level” languages and also a *lot* of in-depth knowledge about computer hardware … and : no, the CS class / course you did last year is not enough. You need like ten times that, in real-world scenarios. Minimum.
Cool vid actually. You made me more interested in rust than anything else.
0:36 😂
0:30 garbage collector lol 😂
Sorry but calling the code at 0:37 C++ is just an insult to every C++ programmer out there.
Yo! Still waiting for the Rust tutorial
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!
Yes please, a full rust tutorial
It should be noted that Rust is also the tool of choice for the nonbinary/transgender coding community, so it is a better language than others in many aspects!
Okay, you had me at Rustaceans
Yes. I hope to see a full rust tutorial
0:24 “most loved programming language” how easy it is to manipulate these polls.
MOAR!
I just wanted to learn rust cause of this video, thank you so much!
Rust tutorial pleaseee…..
plz rust tutorial for linux
Thank you for such a good video. I started to learn Rust after watching. That’s really interesting language. It’s gonna be so great, if you will make a full Rust tutorial!
A rust tutorial would be awesome. Especially in how it works with WASM
Can you honestly say its “popular for game engine”?
You make it sound like Rust is the next big thing in languages since C++. And it is! 😆
Thank you for the Rust in 100 seconds video!! You explain concepts so clearly. Yes! Rust tutorial please.
I don’t think you would really build operating systems with a language designed to be ran under an operating system
Idk anything about programming, but I would most definitely like to see a rust tutorial.
ok well this is not the rust game which i thought the video would be about
Rust in blockchain 🔥
please do a full rust tut!
Yes, I’d love to see a rust tutorial! Especially one where you raid other people and show us base designs.
lol at the dog just falling into the void
great video 🙂
Let is used to bait JS programmers lol
I’m in for a rust tutorial too
Full rust tute!
Yay! Another new language! Just what we need!!! (NOT!)
Rust is the future !!!!!!!
Full rust tutorial please
Please do a full rust tutorial!!
A hundred times YES! I am interested in linux loadable kernel module development and I am curious what benefits would we get to use Rust instead of C in the world of linux device drivers 😀
Sounds like pointers with extra steps
stopped watching at 1:40
Yes, please. Give us a Rust tutorial 🔥
Rust tut pls
I love rust; but I also love C++, and I take a slight issue with showing the C++ logo, and showing purely C code, that would be considered extremely bad practice in modern C++
malloc/free in C … new/delete in old C++, and rare cases in modern C++
when you say “immutable” and use “let” to declare example variable which can be mutated, atleast in js. It confuses me 😀
You are absolutely the best YouTuber-Coder content creator…ever.
100% would love to see a full rust tutorial
Swift in 100 seconds!
why did you call `rustc` instead of `cargo build`? Very scary
Hell yeah we want a full rust tutorial! 😀
the rust programming language is rusting now
This was not the type of Rust I was expecting when seeing this in my recommended
Jesus Christ is the Way, the Truth, the Life. No one comes to the Father except through Him. There is no other intermediary. May Jesus Bless you, trust Him, give your life – and He will take care of it :pray Convert yourself and believe in the gospel
Request : 100 secs on Linked Data
Too many mistakes for 3 minutes video
memery safe
first time I’ve heard someone call mut ‘mutt’. I’ve always heard ‘mute’ since its short-hand for mutable
This video told me, I should learn a new programming language… It is time for more tools I can use ^^
I like the idea of Rust, but there’s no formal standard for it yet and (last I heard) the compiler wasn’t self-hosting. A formal standard spec and a compiler written in Rust based on that spec would make me more open to some of the claims that currently just can’t be backed up. Gonna get hate for this probably lol
i can’t believe this video is popular
lot of misleading statements and lies
why do you lie?
Just subscribed, hoping to get a beginners tutorial video! Excellent video this one btw!
hi bro . when can we expect your juggling with javascript course?
I’m really not sure why so many people like rust. I despise the syntactical sugar sprinkled around the language all in the name of memory safety. It completely sacrifices readability and writing speed for that functionally negligible performance increase (I say functionally negligible because, while rust IS faster than many languages, the speed difference won’t be relevant unless the author is writing the code for a real time system (no, NOT your game engine — think microcontrollers in ECUs, where nanoseconds are essential). A good example of this in practice is the simple fact that C# game engines exist. C# is a MUCH slower language than rust in many ways AND is garbage collected, but can still perform well enough to power AAA games.
Those reasons alone are enough for me to far prefer something like go over rust — golang being a language that is “minified” while managing to be extremely capable, performant, easy to write with, AND garbage collected (the GC is extremely efficient and can be configured or even turned off in special cases). I would much rather write code in another language than fight the rust compiler over memory management, wacky syntax, and an arbitrage of single-use keywords for functionality that simply does not need to be included in the base library of a language.
TLDR; IMHO rust is the wrong language unless you’re writing a kernel or embedded code and don’t want to use C. I dislike it very much.
I’d like to hear more about this memory borrow system
This is not the game rust
Sir I Love You, Give us a 100 Seconds for Meaning of Life :)))))))
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.
give us rust tutorial please 🙂
Are there any examples where rust is used heavily?
Thank you
I wanna see a full rust tutorial 🤙
I thought Rust is a survival game 😬👉👈
I always though that “learn XX in 24 hours” is for lazy people. 100 sec, here we go!
Java ( I am The boss) 😎
What theme are you using in VS Code?
I love these videos
hmmm Unreal Engine also uses the object ownership model to manage memory
What took you so long
I’ve been waiting for this
Thanks
full rust tutorial please
I’d like to see more of Rust 🦀
you should do a video about swift
Thanks a bunch for this video, I’d love to see a Rust tutorial myself too
1 rust tutorial please kind sir
I want to see that tutorial…that rusty tutorial m8 !
Also WOW i love your videos !
I don’t know. I tried to rewrite one a rather simple Python program when speed matter into Julia and Rust just for curiosity. I found Rust more logical to a certain point … when I needed to access buffer (image) by columns from multiple threads. At this point, it became a nightmare and not using programing language as a tool, but instead fighting with it’s limitations or safety features. Also Julia had libraries I needed and nicer syntax for a lot of math, where rust has function written after the expression, not before, so it’s hardly readable. I’m not saying Julia was without problems – threaded loop sharing mutable variables without strong typing was slow, but with everything made typed and constant it became ten times faster (still twice slower than Rust, but 100-500x faster than Python). But I’m not convinced that Rust is a language I want to use. I’d like to have something like C++ that solves dependencies without a need to spend hours writing CMake files. Memory safety? Since we have shared_ptr and unique_ptr, I don’t feel like it’s a major problem. Avoiding deadlocks and writing highly parallel that does not spend time by waiting is.
yeees rust tutuorial yeees
The only thing I understood here is that RUST is a programming language.
How you make the intro animation? Very cool
so it doesn’t have “new” or “delete”.
Pretty damn cringe.
How is this different from C++? You are basically passing the pointer to a subroutine. The only difference is that it performs delete automatically when it goes out of scope, like the auto_ptr.
yes please! a rust tutorial would be dope
Redux in 100 seconds please!!!
Thank you. Great intro but some other unique features like traits and lifetimes were left out
Pleeeeeease a full tutorial for Rust!!!!
0:59 There’s no reason why mutable variables(which have a known size at compile time) shouldn’t be stored on the stack, in Rust heap allocations are done with Box.
super cool! it’s also good to mention that rust compiler errors are SUPER helpful and, most often, precise.
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.
Can we get List in 100 seconds? 😀
Yes I would love you to do a full tutorial on Rust
yes I would like to see a rust Webassembly video that shows a good use case. Thanks.
A bunch of stuff here is just plain wrong. Should really be fixed and reuploaded. Maybe get someone who actually uses rust to make this.
this isn’t 100 seconds . . .
xD
More Rust please!
Loved the video! Please make a full Rust tutorial!
I like a full tuturial and also your thoughts about using a ownership and borrowing concept in other languages.
You forgot to mention that variables can be “consumed” by functions, depending on how you pass them to functions in example
Please make a rust tutorial! 😀
+1 for full rust tutorial
Rust tutorial is much needed!
a
yes
yes dude we need a full rust tutorial, and can build a minimal database
i’d love to see a tutorial on rust <3
thank you thank you thank you. more rust please. please make a video about tauri. electronjs similar tool but with rust.
I waited for a day, hoping you’d address at least the critical error you’ve made but I’m sorry, you’ve lost all credibility to me. I cannot trust your videos I’ve watched anymore if you can’t even pin a comment or make a statement in the description that you’ve made a mistake which is fundamental to the language
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!
Can you make a video about scala
This is the video that convinced me. Thanks as always!!
Hi mom
please do a tutorial on Lottie Animation 🤓
Hellooooo,
I love your every videos, but I’d love to see a rust tutorial
❤💪🏻
it looks like another go
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).
Rust tutorial sounds cool. Also C# in 100 seconds? That would be pretty cool.
I wanted Python
the funniest part was: c++ is all about shooting yourself in the foot 😀 🤍
Full Rust tutorial please!
> you just built a memory safe executable
> rust compiler warns of unused mutable
FULL RUST TUT!
Need a full tutorial on rust!
Next Haskell in 100 seconds. 😉
Jeff is my favourite tech YouTuber
A major mistake here is that mutable values are stored in heap when in fact they arent. You can make them be stored in heap if you want though.
Also something you need to know is that in rust, unless you use a reference (which is &), ownership will be transferred. For example when passing to a function.
This whole video I thought you were talking about the game
Finally!!!
Hi mum,
R language in100 seconds
11/10 would love to see a Rust tutorial. Before this, had no interest (or intended use case) but now rethinking that mindset.
I liked the video without seeing it and wanted to give a love react, too bad i can’t. Would love to have a full tutorial soon.
Rust tutorial would be nice. This programming language has potential with the rise of Solana 😀
C++ has RAII so what low level access is not that unsafe anymore. The C++ code u showed was C code. And misinformation about what’s stored on the stack.
More Rust please 😀👍
What about elixyr in 100 seconds ?
You never said a thing about ‘unsafe’ and safe abstractions around unsafe code, it’s a big part of Rust imo
—
So many people are saying that whether the variable is stored on the stack or on the heap based on if it’s Sized (has a known compile-time size) or not.
THIS IS WRONG, OMG PEOPLE!
You just cannot directly create a variable with an unsized type, because all the variables you create have live on the stack.
What you _do_ have to do to create a variable on the heap is to use a Box – a smart pointer which stores the data on the heap, and the box itself (which is just a pointer with extra drop behavior to deallocate) instead lives on the stack.
Same thing with all the collections (like Vec) and other smart pointers (e.g. Rc) – you create it on the stack and it will allocate memory on the heap (you can write your own with a Box, but the std one has a bunch of ‘unsafe’ optimizations with a safe public interface) and contain a pointer to that memory within itself and use it to store data.
Full rust tutorial please
I appreciate you bringing something out of your mastery, try to learn it and share with us those learning.
Great video as always, what about a 100s video about Web Components
MOAR!
100 == 148
Make a full length tutorial on Rust
More rust 🦀🦀🦀!!
Ooh do zig too and then nim
Totally down for a Rust tutorial. Your videos are so great to follow along and learn. Love them 🙂
🦀 great Rusty 100 seconds. Can’t wait for Ruby on rails in 100 seconds 💎🙌
Love your videos man, have learned a lot, but this one I would suggest you reupload correcting the discrepancy about let mut storing on the heap. That’s a pretty fundamental error and will cause a lot of confusion amongst the type of people just starting out who will watch your content.
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.
Yes, I’d love to see a full rust tutorial!
Finally!
Rust tutorial please!!!!!
Golang exists
Thank you so much. Waiting for Rust tutorial ❤️❤️❤️
moar! definitely. 😀
Build a NoSQLite database in rust, like a local mongodb
Sir can you do a video on dart
how you manage to paste much text into the editor?
*teach me the way, please*
Julia in 100 seconds
Moar Rust please
moar,,, rust for web development please
Please, i need a tutorial for web assembly in rust made for you. My favorite tech channel. Thanks for the awesome content.
Every few months I get bit by the Rust bug and start making something in Rust. Then I remember how it adds almost no benefit to my career and stop.
I really do wish the adoption rate was better.
need a full rust tutorial
Yea ❤️
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.
Webapp with rust please
Love you; fireship forever 🧡
Rust in 100 Secs is officially released . it’s short and concise
You crazy bastard. You did it
YESSS, FULL RUST TUTORIAL PLEASEEE 😋
Thanks in advance!! :)) 🦀
its funny to see a web developer explain this with his understanding of concepts
If you could touch on Solana’s smart contracts, which I believe use Rust, that would be amazing!
Great video!
Why programmer don’t stop to compare some language?
Would love more learning material for Rust.
Nice, time to add Rust to my resume. Thanks.
plz tutorial
Yes yes yes… Rust Tutorial
please make a full tutorial for some project I’ve heard about this lang but never tired it other then the hello world
I’m sold. I’ll try out Tauri for an upcoming GUI project. As for replacing Python, Rocket can replace Flask and let’s see what can replace requests.
I may start within a year or after a couple years, but if Rust is very intuitive (e.g., Python’s sorted has a key parameter that takes a lambda), and it’s syntax is simpler than C++, it just might be the holy grail of the future meaning no more new “subjectively better” languages. Then we’ll have Python for scripting, and Rust for everything else :).
Thanks.
moar!
Some big issues with this video:
declaring something as mutable does not move it to heap memory.
you should not compile a cargo project with rustc you should use `cargo build` or `cargo run`.
rust has type inference so you do not need to declare the type of a variable like you did.
damn that was genius, I can see why people love it so much now, but if only there were more Rust jobs around…
I googled for that yesterday, thanks
Rust + WebAssembly = HUGE
Do a video on Scala, Julia, or Java (If you haven’t already)
A tutorial would be great!
Rust is a fashion, like sweaters. It will vanish soon or only be used in universities if it’s not owned by a big company.
Waited so long for this one
Let’s see a rust tutorial!
So it’s like.. RAII done for you ?
F— it. I’ll learn Rust if you make a video tutorial. Deal? Love your videos!
Awesome video! Question is was the “mistake” about mutability affecting stack or heap allocation a mistake … or a clever way to drive engagement in the comment section ?! 🤷🏼♀️😂
Heeeey you did it! Thanks a lot Jeff! 😀 Amazing content!
I am writing a blog while learning rust, with the rustlings and I was reading about the “ownership”, I think that the owner and the dog explains a lot. If I can use it in the next blog 😅
BTW I always see your videos, love it.
Sorry, I have to be that guy.
1. The example C++ code is very contrived, you rarely use malloc and free in C++ (like you would in C) because…
2. C++ uses RAII. Necessary heap memory is allocated when the object is created, and freed when the object falls out of scope. The same system is used in Rust.
3. Just because something is variable, does not mean it is stored on the heap. If it’s size does not change over the program’s lifetime, there is no reason to allocate it on the heap. For example: a mutable u32 is initialized to 0, and later changed to 5. This u32 does not need to be on the heap, because no matter what it’s value is, it will always have a size of 32 bits.
Yeah, bring that tutorial
IMO rust is good for experienced programmer, but is too complicated for beginner
You can compile Rust programs with rustc, but the better way to do it if you created your project with Cargo, is todo cargo build –debug/–release
Shoot my foot… Ha ha ha, I was laughing until I teared. 😀
+1 for the rust tutorial
MY MAN
we are not worthy
Yeeeee a tutorial would be great!
And today, October 12th, marks 10 years since Dennis Ritchie pass away.
Suuuuper coooooool! 😎
hah he actually did it
rust tutorial! ❤️👍
Anyone use Yew? (Rust + WASM) What’s your experience been like?
Hmm, amazing, good explanation. I’d love some tutorials.
I’d love to see a video on Scala in 100 seconds
Yes we want to see a tutorial!
full Rust tutorial from fireship pls
please yes rust tutorial i really need this
I lack any reason to use high performance language so I think I’ll just skip this one.
pls moar!
You should try to do a collab with some Rust expert. Community are always happy to help share their language knowledge so that probably help make a good informative video.
beyond 100 second please
A rust tutorial would be awesome!
I hate rust cause it makes me doubt C#
Make your own Blockchain in Rust. The ultimate guide for crypto bros.
100 second series itself is a click bet ❤️. I can’t resist to click.
I literally searched for this yesterday, today the world blessed me with this video.
Yes Mr. Fireship, please givr me a tutorial on rust….
This guy… its like hes reading my mind, whatever language or technology i get interested in… few days later there he goes, uploading another video on the exact same thing.
I would like to see a full rust tutorial like we had an article about Go! Thank you!
Yasss!! Full Rust tutorial please.
Could you maybe perhaps possibly conceivably by chance also present Kotlin? It’s ranked second place in your unsourced graph representation, so I am curious.
cant believe fireship got bullied into making a rust video😂
You bet your bottom swedish crown I want a full tutorial!
please could you do something similar for Rakudo, Perl 6? I’d love to see it
rustc will work but cargon run is probably what you want to use since you are in a cargo project anyway
OS with rust tutorial 😎😎😎
Please do Elixir! 🙂
Tutorial please! Loved the video
Searched this shit yesterday…
Rust beyond 100s 💪💪🔥🔥
memory allocation functions are from c not c++, and for that reason c++ introduced smart pointers
It’s a decent system programming language I have given it a go many times and had a blast. However most of the projects and things I do, my use case is simplicity and compile speed. I have such respect ✊ for those OG rust developers as Rust’s compile time is Loooooooooong. I’m aware that it’s because it’s checking for memory safety and requires extensive time for that. However this means prototyping is not really possible. therefore there is real need to know what you are coding and have a plan before coding it. I can’t deny it’s probably faster than most modern compiled languages like GO but if your prototyping stuff and trying new things out it’s probably not the best language in that sense. Please do gRPC next so that more people are aware that we can have requests at higher speeds and amounts
Please full Rust Tutorial. Is Rust an better alternative to C++, C# and Java?
Full tutorial!
i really liked the language. but their central community is so toxic 😹
please id love to see the full rust tutorial
As someone who never touched Rust, it feels like I’d be using “let mut” all the time. Why use the simple “let”, feels like using up memory for nothing? What if I want to do a single element change in a matrix, do I have to make a whole new matrix with a single changed value?
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!
Isn’t there any downside with Rust compared to C/C++?
Waiting for Perl in 100 seconds
Should I learn c and c++ before rust?
Full tutorial!!!!!
☢ Zig programming language please
RUST >>>> GO
Yes, I totally need a Rust tutorial
Wish to see Rust beyond 100 seconds! <3
A comment
Rust tutorial
I would love to see rust tutorial!
I usually love your videos. It is sad to see that you clearly did not put a lot of research into this video… the mistakes have been pointed out by others.
Hope there will be a reupload… and that your other Videos are better researched…
A full turtle is would be amazing!
can you make some yew rs wasm dude, gonna love it
bro I was looking for this like 2 days ago
Yes we need “moar”
Hi
yeah, memory safety. Meanwhile every library uses unsafe keyword. Maybe just use c++?
Django vid pls
full rust tutorial please. that borrowing biz seems kinda hairy to meee…
Do java stuff
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.
full
MAH Man!
I WANT a rust tutorial, paid or not, i’m getting it
: ) Ferris is very happy
Rust
Soon all things will be Rust
I love the fact that COBOL in 100 Seconds was out a year before Rust in 100. I know it’s because it was relevant in 2020 but still it looks funny 😂
Firebase: leave a comment if you want a Rust tutorial
Me: yes
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.
Full Rust tutorial please 😀
Awesome video! a 100 second of Julia would be marvelous 🙂
yes, full rust tutorial pls
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.
Full tutorial 100%
Web components pls
Excellent. Would love to see a “build a chat app w/ Rust and Web Assembly” or similar as a followup to both “Rust in 100 seconds” and “WASM in 100 seconds”.
“If you would like a rust tutorial”
Do you really think there is going to be someone to say no ? Xd
+1 for Rust tutorial!
rust
Other than a few inaccuracies, this was a great video! I’d love to see full tutorial with rust wasm and javascript.
Full tutorial please
100 seconds of Python
Difference between Programming and Coding
Please make a video on atleast one of these.
I love your fast teaching style. Keep up the good work!
MOAR RUST
I really think rust and golang 100 seconds both deserved an And Beyond. They are both super popular and powerful, to the point where 100 seconds alone undersells them.
Swift and SwiftUI in 100 seconds 😁
Kotlin in 100 Seconds please
MOAR pls
Rust go brrrr…
Elixir in 100s Please 🙂
Would love to see a full tut
*AOT vs JIT* in 100 seconds
*Compiled vs interpretor* in 100 seconds
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.
Normally I like every video you make but I’ll make an exception to this one. The few errors you made here can be very misleading to someone just starting out.
First, `let mut` does not put a variable on the heap; `Box::new` (or other smart pointers) does. Someone else already explained it so I’ll pass.
Second, “mut” is not pronounced with a flat “u” (as in “mud”), instead say it the same way you would say the full word “mutable”. This is a minor issue but nonetheless.
Finally, for most use cases you *really* shouldn’t be using rustc directly. Instead use `cargo build –release` and `cargo run –release`, which is not only easier but also compiles your dependencies.
Granted Rust is particularly complex and 100 seconds is a short time. But I feel like this video could use some more research and is not up to your usual standards in the current state.
*Chrome flags* in 100 seconds
🔥🔥🙌 Tutorial sire! ❤️
I worked with rust to program a raspberry and it’s really good. I only touched the surface though
Yez i love rust do it
MOAR!
Can you do php in 100 seconds pleas?
A rust tutorial in depth would be great. I would like a deeper understanding of the borrow system.
Rust Tutorial Please!!! 🦀🦀🦀
Full rust tutorial please)
Full tutorial please
Loved the video and looking forward to seeing a more in depth video on Rust. Thanks for creating this!
Rust tutorial please! Also a comparison of Rust and Go would be great!
Yes please, would love a more extensive rust tutorial. Yours is the best concise video so far to explain Rust’s ownership
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!
Yes please on the rust tutorial
Would really like a Rust tutorial please!
Make Zig next!
Please do Kotlin next! 🙂
Kotlin in 100 seconds?
I’ve been wanting to learn Rust ever since I have memory. If you create a course of it, I’ll pay you a lot of money right away. No questions asked.
Super informative vid, only that the part with “package is a crate” is wrong and I would like provide a simple correction without being a h8er!
Instead, 1 package (not to be confused with Java-meaning of packages) in Rust contains at least 1 crate, where each crate starts from either a `main.rs`-type-of-file or `lib.rs`.
Cheers!
#rustup
Thanks
Rust vs Go?
Yes, I have been developing for years in JavaScript but now I want to immerse myself in a low level language like rust.
Full rust tutorial sounds good
Rust tutorial plsss!!
looks good, but didn’t quite get why borrowing is any better than reference passing. Would definitely appreciate a 10 min version to explain things better
more
Rust is somehow part of the future but I think it is more for C++ dev’.
I kind of hope that C++ will not disappear because it is a very good language too but too much Legacy things into it.
Great video as always, thanks sharing.
ps: Mutable or Immutable is not about Stack vs Dynamic memory though
C++ in 100 seconds and beyond!
YWNBAW
I’d love to see a full rust tutorial
rust tutorial would be great , for me atleast 😁
Was waiting for this
Thanks
A bit minimal but I enjoyed the presentation
Now i can put Rust on my resume.
Please make a full rust tutorial
We needed more. How about web server in rust
“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 😉😁👍
Concurrency != multithreading…
Rust’s syntax looks scary 😯
Just finished learning rust and I am using a ncurses port. Can you do a ncurses in 100 seconds?
Yes to a Rust tutorial!!
Please rust tutorial!
Never forget your humour. 1 like 🙂
There is no better programming language, unless it is Rust!
Please for the love of God create a full rust tutorial
FINALLY
C++ for babies and substandard programmers
I was waiting for this one 🙂
Please do a beyond 100 seconds, it would be amazing!
MOAR RUST!!!
Cordova in 100 seconds?
Yes full rust tut!
Cool. A full Rust tutorial will be great.
The **Most Loved programming language** in the **Most Loved programming YouTube Channel**
MOAR!
I need that full tutorial <3. Awesome video
Watching this video without any audio is hella confusing 😀
You shouldn’t call rustc directly though, it’s a footgun
Please full Rust tutorial!
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!
Thats… yes. Full tutorial. Yes.
Yes yes yes Please make a Rust video 🤩🤩🤩
really liked your videos a lot. Looking forward for rust tutorial
finally
Love to see more about Rust
Finally understood what ownership is. Short and clear ✨
Moar rust pretty please!
more about rust please. I want to make rust the tool that is in my left pocket. I am happy with what i have in my right pocket and ready to invest some extra time on rust. I share your videos with my friends on discord you are like a gem
I absolutely wish for an awesome long Rust video tutorial by you
MOAR!
Rust. Amazeballs language, but boy had their community been subject to a lot of fires and too much politicking.
I highly doubt that all mut variables are on the heap. I’d guess that it is like in C++, only dynamically allocated memory is there.
I literally searched “Rust in 100 Seconds” yesterday and then you upload this. Scary !
Can you make a video about Actix? A Rust web framework
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’. 🙂👍
Nim in 100 seconds
You are awesome!
remove this mut >:C
😍
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).
2:03 did they seriously call it STD? That is a terrible name. Who thought this was a good idea?
This channel is awesome. I was looking into how to get started with Rust yesterday. And here comes Fireship like. Hey got you man. 😎
C++ originally had concept of ownership, since 2011 in C++ you don’t manually allocate memory
DO C
nice
I learned something new Errors Matters not warnings
Saw this suggested yesterday ! Awesome to see fireship listening to community feedback!
Now that I actually know more about what Rust is it’s way more interesting than I thought
Okay, now we need Kotlin tutorial 😀 maybe Kotlin/Js React app?
Rust tutorial pls
Thanks for this!!
is it possible to get Haskell next?
Rust tutorial plz )
Full Rust tutorial will be absolutely appreciated 😍
Finally rust in 100 seconds
Rust. Let’s Go!
Nuxt 3 in 100 Seconds?
I want a rust tutorial.
Go Rust Go!
😎❤️ Loved the video
Please do more rust tutorial
Would love to see a Rust tutorial. You should consider making multiple videos to cover it more deeply and not just the basics. Thanks for the amazing content as always 🙂
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
Ful rust tut plz
Rust Webapp tutorial please
moaaarrrrrr pls.
Hell yeah.. we do want a full tutorial on it 🖖
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
Finally!!
**Solana** like if get it.
Thanks to this 100 second tutorial I just rebuilt all of Google and Twitch. It’s a bit rusty, but it works.
F U L L R U S T T U T O R I A L P R E T T Y P L E A S E
LETS GOOO!!!!!
Lol, who is building on Solana?
yes, full rust tutorial please
1 Full rust tutorial please
I wonder if other languages could adapt the borrowing and ownership mechanism 🤔
Rust is 🤩
I just commented on the go video ‘Please do rust’, you probably didn’t read it but still 🙂
Hey would love a full rust tutorial
please give us a full rust tutorial….😇
again ;v?
please do a video on multithreading,multiprocessing, synchronous/asynchronous programming,concurrency
full rust tuto upvote
Could u make a video about R and compare R with Python for data analysis?
Yes please.
I love this channel
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.
First
Love You!!!!
I would also like to mention how friendly and informative the rust compiler error are!
Rust vs c++ vs javascript
Nice! Next, Vlang in 100 seconds?
I’ve been meaning to try out Rust for a while now, super interested in a quick tutorial to get started. Keep up with the good work!
Yes, finally. Fireship is like Santa for adults, he’s real, and active all of the year.
I just started learning to rust. This video’s a real eye-opener.
Can we get a Rust in 10000 seconds? It’s a language I always wanted to learn more about.
Definitely need a full tutorial on this extremely loved tech
Omg, I just asked in the previous video for Rust, and here it is, 5 days later
Magic))))
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!
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
Just what I was looking for
0:59 may or may not. We don’t specifically have objects in rust. Most heap allocations are carried out with Box.
YYYYEEEESSSS
You can’t spell trust without rust!
cool
Explaining Rust in such a short time is very difficult, but you did a great job!
Next stop Julia in 100 seconds👌
The dog walking example was brilliant. More rust, more rust!
Finally, the based crab language gets its video made!
Finally, we got rust
Kotlin in 100 seconds!!!
Looking forward to AI libraries in rust🤩🔥🤸💯scratching hard to the bare metal 👌💥
You are a fricking machine
How do you deliver this quality content in such short amount of time that too regularly???
How don’t you get burnout?
I don’t want to rest now, in order not to rust, so moar Rust lang please.
Thank you
i’ve just began to learn it the day before the release of this video.
Rust be like:
Money money money 🦀
Yes!, a full tutorial please!!
2:09 why use rust while you can just use cargo build and cargo run.
Finally i learned Rust
Do a video making the same project in, different languages, like Python, Go, Rust and C++
Just to compare things like performance, memory usage, joy and desperation when using it and running it
This language seem nice and special
Yes finally!!
More rust videos please!
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.
YES! Full Rust tutorial please!
I’d love to see rust tutorial
Oh, I guessed the topic of the next videos, hehe
Nice video! 😀
Would love to see a basic tutorial, just to get familiar with its capabilities!
In Rust we trust!
It’ll be nice if you make full rust tutorial.
Full Rust tutorial pleaseeeeeeeeee.
Too bad the Rust foundation is co sponsored by Huawei. A Chinese Communist Company that supports genocide. Im pretty sure they are trying to figure out a way to put a backdoor into the rust source code
Yes tutorial
How would you compare Rust and Go since they both have high level simplicity and low level performance
A full rust tutorial would be really nice indeed 🙂
Rust is popping off.
Nice one! Would love to see R programming in 200 seconds
MOAR RUST MOAR RUST
More Rust!!
rust is really cool, sad to see 41% of packages be abandoned
Why did you use rustc instead of just cargo build?
rust sucks imo, performance is not a problem if you have common sense architecting software
but writing rust code is slow and annoying, forcing you do things in one way, great for complete noobs
torture for pros
at the very least its not ready for production use, people are abusing it by using a systems programming language for general purpose programming,
its like using C for some web service
where are fireship online courses
at last from my favourite youtuber, now we need a webassembly with rust
always a banger
was really looking forward to this, thanks for the video!
Despite Rust being my favorite programming language, it has 2 major problems:
– its ecosystem of external libraries is quite immature, and there is still a lot of improvement on the line.
– it *statically* links its standard library by default, which is a huge issue for the disk space that your executable will take. This way, every program, _even one that just has an empty main function,_ will take at least 3 megabytes of disk space.
Now of course there is the `-C prefer-dynamic` flag on rustc to compile the program with dynamic linking, but now at least you know that it’s not the default.
Full rust tutorial please 🙂
Would love to see a rust tutorial.
Next up…. Elixir….or did we have that already? Your output is just incredible sir
+1 for Rust WebAssembly tutorial
Neo4j in 100 Seconds? 👀👀
Would like to see full rust tutorial ..
Pls cover web development using rust like rocket framework…
Tutorial would be great! I always learn something new in your videos, even when I already knew the language or tool.
you explained the memory ownership and borrowing in so simple terms that even I could understand it.
Please Videos on C# now
Pleaseeee more rust and go
Yes, full Rusty tutorial please!
You don’t have to use rustc to compile, usually the cargo build command takes care of it.
“low level programming languages provide you with keywords like alloc to shoot yourself in the foot 😂😂😂” im dead lol
Full RUST please.
Finally. Been a long time coming!
Everybody gangsta till it comes to “safe” async programming with futures
Rust is a language that has snorted so much cocaine that it can bend reality itself…and I love it !
I still don’t understand it but I think the concepts sound really cool. I just don’t have a good idea of a side project i could work on with that
Have been waiting for this since ages
Started rust yesterday lol
Man, you my best YouTube content maker and author ever!!!))… Thanks ❤)))
Rust tutorial pliz…..
İt is amazing concept that tell little info about programming languages and etc.But bad thing is this is not 100 seconds
need full rust tutorial
Learnt Rust a while ago but I need a refresher, I’m a little… Rusty
I just searched for this yesterday!
yes. Would love a tutorial. Especially if it can be used to write games.
yes do a tut
D lang
Yesssssss
as always, topic I’m interested in gets it’s 100 seconds vid. Keep it up Jeff! 🔥
rust tutorial
Rust tutorial : yes
can you make tutorial for that intro thing? that stroke glow /subtle 3d rotate reveal thing.I notice that in all your videos, it looks cool af
FULLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
Yes, I’d love to see a rust tutorial!
FINALLY
Pretty good overview.
Just a little neat 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.
I knew rust was inevitable after the go video.. love these videos
Yes, I would love a full rust tutorial!
Also, don’t you build with cargo instead of rustc?
I wud love to see a rust tutorial!
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).
100% full rust Tut. Then full web assembly with Rust
nice
I was just programming Rust when this came out 😂
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.
Full rust tutorial possibly with WA or API development
yes please!
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” 😃
Nicely done. Yes, I’d love to see some more Rust tutorials.
I’m half way theough the book, but I’d really appreciate a Rust tutorial by Fireship.
1 hour course on Rust would be amazing
Full rust tutorial! Let’s go…. ehm… Let’s rust!
Wow and now a pro course pls
You sir are a legend
Full rust tutoriaaaaaaaal
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.
Best line of today’s 100sec
” lower level languages provide functions like free and allocate to shoot yourself in the foot”
Yes, I’d love to see a rust tutorial! Especially one geared toward creating web assembly functions/modules using Rust.
a full rust tutorial would be lovely
Oh nice I was wanting to learn rust.
🤔
0:30 this garbage collector is why rust hates the whole gang
rust tutorial please
Your videos are amazing!!!
Sometimes are even better than a “getting started” of 30 minutes tutorials 🔥
Can I get gold medal ?
YESSS!!
“Low level languages provides functions to… shoot yourself in the foot” LOL
full rust tutorial! let’s go!
Here’s a comment cuz I wanna see a full rust tutorial
Great video
Pretty awesome language
Full Rust Tutorial Please! o/
I think C++ is better than rust😅
Full Rust tutorial would be awesome!
MOOOOAAARRR!!!!!!
Full Rust tutorial please 😉
not first
Blazor in 100 seconds pwease
was waiting for this
Ohana means family
bruh! just started learning rust roday and completed upto strings and there comes your video
Blazor in 100 seconds! 🙂
My homework can wait.
Firebase in 100 seconds next!
Sheeshhhhh!!!
No views but 24 likes lol
Was literally setting up rust when I got the notification
You read my mind
It worth a try
Rusting these languages up
lang of next decade
Finally!
First 🚀
First
First!!!
Compiled language wave 🌊
Hi
O
First
Hello world!
First 😁😁
never clicked so fast
First
Yes