Skip to content

coding practices to learn Rust Programming Language

Notifications You must be signed in to change notification settings

ItsPiyusha/Learn-Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Learn-Rust

coding practices to learn Rust Programming Language
install rust
Intro-Video
"[Rust] deals with low-level details of memory management, data representation, and concurrency."
"... the language is designed to guide you naturally towards reliable code that is efficient in terms of speed and memory usage."
(Source: Nicholas Matsakis and Aaron Turon)
rustc - The compiler which takes your Rust code and compiles it into binary (machine readable code)
rustup - The command line utility to install and update Rust
cargo - The Rust build system and package manager
To create new project- use command #### cargo new project-name
main.rs --> default entry point
function declaration keyword--> fn
macro is noted by '!' character in rust
to run the project, navigate into project directory by using cd project-folder and use 'cargo run' command
or use command -->'rustc ./src/main.rs
on 1/28/2023, I'm just commiting hello world program to this repo. /d/All/Open_Source/Learn-rust/calculator git add * git commit

About

coding practices to learn Rust Programming Language

Resources

Stars

Watchers

Forks