Rust Practice
Practice for Rust Programming Languages
Rust is a multi-paradigm, general-purpose programming language. Rust emphasizes performance, type safety, and concurrency. Rust enforces memory safety — that is, that all references point to valid memory — without requiring the use of a garbage collector or reference counting present in other memory-safe languages.To simultaneously enforce memory safety and prevent concurrent data races, Rust's borrow checker tracks the object lifetime and variable scope of all references in a program during compilation. Rust is popular for systems programming but also offers high-level features including functional programming constructs.
Introduction
This project inherits Rust Docs.
Table of contents
Index | Contents |
---|---|
Practice 01 | Hello World and Cargo |
Practice 02 | Standard I/O |
Practice 03 | Random Number and External Crate |
Practice 04 | Loop & Break |
Practice 05 | Mutable/Immutable Variables and Constants |
Practice 06 | Data Type |
Practice 07 | Function and Parameter |
Review 01 | Practice for Standard I/O |
Commands
Install
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
Make project
$ cargo new project_name
Build
$ cargo build
Run
$ cargo run