Rust Tutorial #1 - Introduction To Rust Programming

Rust Tutorial #1 - Introduction To Rust Programming

Tech With Tim

2 года назад

463,273 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Tech With Tim
Tech With Tim - 09.05.2022 20:52

What should I cover in this Rust series?!

Ответить
For My Eve
For My Eve - 07.09.2023 02:25

Is there a faster way to check your changes to the code? Like hot reloading

Ответить
James Joyce
James Joyce - 31.08.2023 00:09

«imma just use tabs because they are easier» is definitely a subtle troll, well done mate

Ответить
Red Paper
Red Paper - 21.08.2023 11:23

All you need to know about Rust: It needs C++ build tools ;)

Ответить
SmartWebKit
SmartWebKit - 02.08.2023 15:57

Really appreciate for sharing mate!

Ответить
ThienViet ;3
ThienViet ;3 - 23.07.2023 00:58

Now I know why the file main can't be read by VS Code.

Ответить
D.Master
D.Master - 16.07.2023 14:57

Always baffled why I need specifically cpp build tools. Baffled why I need cpp at all. Big road block to me bothering with rust. Why use rust when it doesnt have a major advantage over cpp. Memory safety. I worked my self dead to create Memory tools for Cpp. Should I throw away all that hard work for no major advantage. And the fact that rust is immutable by default would be a big annoyance for me. Imagine programmers who already find it hard to type std::. Imagine them having to type mut for every variable they create. But if you new to programmer you might want to avoid Cpp; unless you are using a libraries such as Jav and Jav::win32. Cpp is like raw meat.

Ответить
SildCave
SildCave - 08.07.2023 23:24

where rdzak

Ответить
Hazelnut
Hazelnut - 06.07.2023 03:28

This is super helpful! Ty :)

Ответить
Adonay Pichardo
Adonay Pichardo - 14.06.2023 16:45

"cd standing for change directory" avoid this mentality.
We all know its CD's nuts.

Ответить
Mino Levon
Mino Levon - 30.05.2023 04:19

After I finish learning Rust I will change my name to TOM

Ответить
Soup Noodles
Soup Noodles - 15.05.2023 15:03

I'm just happy you're finally mentioning prerequisites correctly

Ответить
Demy K
Demy K - 08.05.2023 10:35

There is noone else I’d be happier to learn rust from and that’s u. I already know 4 languages but I wanna tighten the gap a little and have a fast general purpose language. Thanks Tim, providing as always!

Ответить
Lamborghini Gamer
Lamborghini Gamer - 04.05.2023 18:56

Don't follow the mac guide for Linux. Instead run the command here based on your distro to install Rust:

Arch based distro's: sudo pacman -S rust rust-src
Debian/Ubuntu based distro's: sudo apt install rustc rust-src
Fedora based distro's: sudo dnf install rust cargo rust-src
Open Suse based distro's: sudo zypper install rustup && rustup toolchain install stable && rustup update

You really only should use your official Linux distro's Rust, because the other one could break your system.

Ответить
Mark M
Mark M - 21.04.2023 07:48

So... This language requires a C compiler, and has some stupid convention about indents, as if that should matter to code? It will be interesting to see why not just use C or C++.

Ответить
H1inc
H1inc - 19.04.2023 23:53

I cant take you seriously without a serious IDE

Ответить
Geek Remix
Geek Remix - 19.04.2023 21:26

Where can i find a tutorial for someone who knows nothing about programming but wants to start with rust?

Ответить
Regeneration
Regeneration - 12.04.2023 20:58

why the camera

Ответить
Maitree Meher
Maitree Meher - 09.04.2023 07:57

v cool

Ответить
Nate Wynd
Nate Wynd - 06.04.2023 00:24

If any devs or computer scientists might be able to answer, I'd appreciate it: Why does rustup require MS' C++ build tools? Are there things missing from the full toolchain on Windows that are more mature or more available on UNIX-likes like macOS and Linux? Things that have to use a C++ compiler where rustc can't quite do it on Windows yet?

Ответить
anon
anon - 04.04.2023 18:00

>sublime
>free
no

Ответить
Isaac Slemko
Isaac Slemko - 27.03.2023 19:00

Subscribed right in the first minute, love how clear you deliver the point!

Ответить
Lemon Snap
Lemon Snap - 20.03.2023 22:17

Is there a reason you prefer Sublime over VScode? Both are free but VScode (As far as I can tell) has more features and integrations. I assume it's just personal preference?

Ответить
Teghan Nightengale
Teghan Nightengale - 09.03.2023 22:54

Just when I swallowed the bile induced by the suggestion to use Sublime, he proffered using tabs and unfortunately I puked all over my keyboard. Had to leave immediately.

Ответить
Jakub Holcman
Jakub Holcman - 09.03.2023 01:15

Build Tools Installer doesn't set environment variables, so rust can't install. What can I do? 😔

Ответить
tippfehlr
tippfehlr - 02.03.2023 17:28

I didn't watch the whole video but "I have been using rust the past few days" is not one of the quotes that picked me up

Ответить
pyudev
pyudev - 14.02.2023 01:05

Why do people keep saying sublime is free?

Ответить
User
User - 29.01.2023 06:37

If you are on windows, could you compile a binary for linux?

Ответить
Sarah Warner
Sarah Warner - 23.01.2023 11:13

Was waiting for the errors generated by the missing semicolon and was shocked to see the program just compile and run.

Ответить
Hirschy Kirkwood
Hirschy Kirkwood - 17.01.2023 19:03

rustc dansGame

Ответить
Prem Kumar
Prem Kumar - 15.01.2023 13:21

Is there a way to run with in Sublime text (like c and c++)

Ответить
Matin Odoom
Matin Odoom - 03.01.2023 04:57

I have a strange issue with Git bash terminal on my Windows 10 machine. Whenever I am prompted for something, the terminal continues as if I pressed Enter without typing anything. This makes working with terminal impossible, as I can't provide nearly any user input.

This happens when i’m with rust and c++. It strangely does happen with other languages

Ответить
Kevin H
Kevin H - 30.12.2022 01:18

Once I read in the user manual about shadowing, I decided that having a bug-introducing feature in a supposedly improved programming language made Rust a non-starter for me.

Ответить
XKS99
XKS99 - 27.12.2022 18:37

Curly braces NOOOOOOOOOOO

Ответить
ares106
ares106 - 09.12.2022 03:33

How was he able to compile without the semicolon?

Ответить
Red
Red - 26.11.2022 21:29

make project ```cargo new project-name``` then run ```cargo run``` I had to learn this the hard way.. cause vs code's rust extension gave me an error for not having a Cargo.toml

Ответить
Alexander Poznanski
Alexander Poznanski - 22.11.2022 23:35

I'm very beginner in facing with this language. My dumb question is: does a code on this language will be compiled on old Windows 7 system? Does it necessary need to install Windows 10 SDK optionally or need to install Windows 7 SDK if it exists?

Ответить
cepson
cepson - 12.11.2022 13:01

I'm sure someone has probably mentioned this problem, but I could not install rust on my Linux system, apparently because I used snap to install curl first. Instead, I had to remove the snap-installed curl, and reinstall curl using apt. Once I did that, the rust installation went smoothly. Hopefully this will help someone who might be struggling with this issue.

Ответить
Akuma Senpai
Akuma Senpai - 11.11.2022 15:37

Wow tim u really grew up

Ответить
Scatt
Scatt - 06.11.2022 13:39

I have now joined the cult

Ответить
Elias Michalis
Elias Michalis - 04.11.2022 21:50

Hi there what about iPad? Is there any compiler ?

Ответить
Mohammad. Ghouse
Mohammad. Ghouse - 04.11.2022 05:30

Tq so much bro ❤️‍🔥

Ответить
Divine Within
Divine Within - 03.11.2022 16:39

Wait.. how did it let you compile without adding ; ? Shouldn't it spit out error?

Ответить
TheRealOne 78
TheRealOne 78 - 30.10.2022 15:53

btw `ls` shouldn't work on windows CMD unless it's powershell, you have to use `dir`. I guess you made a batch file called `ls.bat` calling `dir`, somehwere in an environment path

Ответить
Tengku Muliya
Tengku Muliya - 29.10.2022 09:25

I caould get it to run the main.exe file. I also try using cargo build but it says i dont have cargo.toml. Help.

Ответить
martijn witteveen
martijn witteveen - 16.10.2022 18:33

Bro windows with sublime…….

Ответить
zirkoni
zirkoni - 03.10.2022 11:53

.\ is not needed on Windows

Ответить