slf188 / RustLang

A quick overview of the Rust programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Rust Programming Language

In this repo I will review some of the most important concepts about the Rust Programming Language. I will review the whole book on this language, and develop the projects that are inside this book.

The Rust Programming Language introduces and explains how rust can be used to develop software in a daily basis. It contains basic information about the cargo dependency manager and many other concepts too.

Installation

To download and install rust on macOS or Linux, run the following command in your terminal:

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

If the install is successful, the following line will appear:

Rust is installed now. Great!

Creating a Rust program

Run the following command to create a new folder:

$ cargo new <folder name>

Once this command is run, an Cargo.toml file and src folder will be created.

Running a Rust program

The following commands are used to build and compile the main.rs file:

$ cargo build
$ cargo run
Hello, world!

❤️ for Rust

Elon Musk on Rust

Jack Dorsey on Rust

Most loved language on Stack Overflow since 2016

Brendan Eich on Rust

Reference

The Rust Programming Language

Rust

Contributing

Pull requests are not welcome for this project.

It is only a project that satisfies my curiosity about this famous programming language.

Author

Felipe Vallejo

License

MIT

About

A quick overview of the Rust programming language.

License:MIT License


Languages

Language:Rust 98.8%Language:HTML 0.7%Language:Go 0.6%