santoshpanda1995 / Rust-for-all

This comprehensive collection covers everything from the foundational basics to advanced techniques related to Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust For All

This comprehensive collection covers everything from the foundational basics to advanced techniques related to Rust Programming language. Rust is a modern systems programming language developed by the Mozilla Corporation. Rust can be installed in Windows/Linux, and it can also be run in the browser directly from the website Rust Playground

Creating your first Rust program

  1. First, create a folder. For e.g. let us take HelloWorld
mkdir HelloWorld
  1. Change the path
cd HelloWorld
  1. Create a rust file with extension rs and open it in Notepad/ Or you can directly open any text editor in Windows or Linux and save it as .rs extension.
notepad Hello.rs
  1. Write your Hello World program
fn main(){
   println!("Hello world");
}
  1. Compile
rustc Hello.rs
  1. Executable file (Linux)
./Hello

Table of Contents

To be continued (Work in progress). If you want to add something, you are most welcome to do so.

About

This comprehensive collection covers everything from the foundational basics to advanced techniques related to Rust.


Languages

Language:Rust 100.0%