Skip to content

Latest commit

 

History

History
36 lines (36 loc) · 1.16 KB

README.md

File metadata and controls

36 lines (36 loc) · 1.16 KB

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