Rust Basics for programming
Rust is not a particularly original language. Its design elements came from a wide range of sources. ▸ Abstract Machine Model : C ▸ Data types : C, SML, OCaml, Lisp, Limbo ▸ Optional Bindings : Swift ▸ Hygienic Macros : Scheme ▸ Functional Programming : Haskell, OCaml, F# ▸ Attributes : ECMA-335 ▸ Memory Model and Memory Management : C++, ML Kit, Cyclone ▸ Type Classes : Haskell ▸ Crate : Assembly in the ECMA-335 CLI model ▸ Channels and Concurrency : Newsqueak, Alef, Limbo ▸ Message passing and Thread failure : Erlang Rust files should have .rs file extension and if you’re using more than one word for the file name, use lower case and separate words with an underscore (snake_case) To Compile rustc file.rs Cargo is Rust’s build-in Package Manager. But mainly it uses for, ▸ Create new project : cargo new ▸ Update dependencies : cargo update ▸ Build project : cargo build ▸ ...