A repository for showcasing my knowledge of the Rust programming language, and continuing to learn the language.

Overview

/Rust_programming_language_black_logo.svg

Learning Rust

I started learning the Rust programming language before using GitHub, but increased its usage afterwards. I have found it to be a fast and stable language.

In 2021 on GitHub, I participated in Ruffle-RS and did basic code reviews, and learnt the language slightly better via communication on issues.

I don't know too much about the language, this document will go over all my knowledge of the Rust programming language so far.

Comments in Rust

Comments in Rust are similar to that of C, C++, C#, CSS.

// This is a single line comment
/* This 
is a multi-
line com-
ment */

Hello World in Rust

Rust's print statement uses an exclamation point. It is slightly strange to me.

fn main() {
	println!("Hello World");
}

Break keyword in Rust

break;

To this day, I am still not entirely sure what the break keyword does, but most languages support it.

/!\ This example has not been tested yet, and may not work

Booleans in Rust

Rust supports Booleans. This example includes content that will be mentioned in further entries. This example is not the best, I came up with it on the fly.

// Checking if a value is greater or less than 0
let valueT: bool = true;
let valueF: bool = false;
int x = -33
if (x > 0) {
	return valueT();
} else {
	return valueF();
}

/!\ This example has not been tested yet, and may not work

Integers in Rust

Rust supports integers, as like almost all programming languages.

let x: int = 2;
return x();

/!\ This example has not been tested yet, and may not work

If and else statements in Rust

Rust supports if and else statements, as like almost all modern programming languages.

let x: int = 1;
if (x > 0) {
	println!("You entered a value at or below 0");
} else {
	println!("You entered a value at or above 0");
}

/!\ This example has not been tested yet, and may not work

Other knowledge of the Rust programming language

  1. Rust is a semicolon and curly bracket language

  2. Rust uses the .rs file extension.

  3. Rust is used in many major projects, notably including the Firefox web browser, Ruffle-RS, and more.

  4. Rust developers are known as rustaceans similar to how Python developers are known as pythoneers or pythonistas

  5. Rust is a highly stable language

  6. No other known knowledge of the Rust programming language at the moment


You might also like...
Try to learn Rust in a week. The goal is to finish a quiz at the end of the week.

RustInAWeek Try to learn Rust in a week. The goal is to finish the quiz at the end of the week. Quiz link https://dtolnay.github.io/rust-quiz/1 Book l

LearnRustTogether - Let's learn Rust together
LearnRustTogether - Let's learn Rust together

Curated collection of lists of useful resources to learn Rust together. List of forums and chats you may find here. I encourage you to seek for help i

Learn Rust by writing Entirely Too Many linked lists

Learn Rust by writing Entirely Too Many Linked Lists Read the pretty version at https://rust-unofficial.github.io/too-many-lists/. Building Building r

A console viewer for trees – pet project to help me learn Rust.

treeviewer This is a pet project to help me learn Rust. But maybe it’ll end up being of actual use for someone? The idea is to write a program that, g

In this repository you can find modules with code and comments that explain rust syntax and all about Rust lang.
In this repository you can find modules with code and comments that explain rust syntax and all about Rust lang.

Learn Rust What is this? In this repository you can find modules with code and comments that explain rust syntax and all about Rust lang. This is usef

Nyah is a programming language runtime built for high performance and comes with a scripting language.

🐱 Nyah ( Unfinished ) Nyah is a programming language runtime built for high performance and comes with a scripting language. 🎖️ Status Nyah is not c

lelang programming language is a toy language based on LLVM.

lelang leang是一门使用Rust编写,基于LLVM(inkwell llvm safe binding library)实现的编程语言,起初作为课程实验项目,现在为个人长期维护项目。 Target Features 支持8至64位的整形类型和32/64位浮点 基本的函数定义,调用,声明外部

This repository contains the Rust source code for the algorithms in the textbook Algorithms, 4th Edition

Overview This repository contains the Rust source code for the algorithms in the textbook Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

Rust template repository.

Rust template repository. An opinionated starting point for rust projects such as systemd services command line tools client programs server programs

Owner
Sean P. Myrick V19.1.7.2
I'm an experienced programmer, with the intent to make the world a much better place, and protect freedoms of the Internet. I am skilled in Python, and web dev.
Sean P. Myrick V19.1.7.2
Repository to learn fractal generation algorithms.

Fractalrs Created this project so I can study Rust while programming fractals! I have always wanted to learn fractal generation. Fractals Fractals are

Luke Dias 4 Jun 10, 2023
A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments.

Zerokit A set of Zero Knowledge modules, written in Rust and designed to be used in other system programming environments. Initial scope Focus on RLN

vac 44 Dec 27, 2022
Learn programming with Rust as a first language (book)

Learn programming with Rust as first language This is a book to learn programming from scratch. Read the book here: https://deavid.github.io/lprfl/ LI

David Martínez Martí 2 May 21, 2022
This Repo Contains my Week Long Journey Trying to Learn Rust Programming Language 🦀.

the-rust-way This Repo Contains my Week Long Journey Trying to Learn Rust Programming Language ?? . ?? Thanks to all Wonderful Contributors Thanks a l

Kanishk Pachauri 7 Oct 20, 2022
This repository contains the source of "The Rust Programming Language" book.

The Rust Programming Language This repository contains the source of "The Rust Programming Language" book. The book is available in dead-tree form fro

The Rust Programming Language 11.2k Jan 8, 2023
The Devils' Programming Language (Quantum Programming Language)

devilslang has roots in Scheme and ML-flavored languages: it's the culmination of everything I expect from a programming language, including the desire to keep everything as minimalistic and concise as possible. At its core, devilslang is lambda-calculus with pattern-matching, structural types, fiber-based concurrency, and syntactic extension.

Devils' Language 2 Aug 26, 2022
Simple autoclicker written in Rust, to learn the Rust language.

RClicker is an autoclicker written in Rust, written to learn more about the Rust programming language. RClicker was was written by me to learn more ab

null 7 Nov 15, 2022
Curdleproofs is a zero-knowledge shuffle argument

Curdleproofs Curdleproofs is a zero-knowledge shuffle argument inspired by BG12. Zero-knowledge shuffle arguments can have multiple use cases: Secret

George Kadianakis 43 Dec 10, 2022
The ray tracer challenge in rust - Repository to follow my development of "The Raytracer Challenge" book by Jamis Buck in the language Rust

The Ray Tracer Challenge This repository contains all the code written, while step by implementing Ray Tracer, based on the book "The Ray Tracer Chall

Jakob Westhoff 54 Dec 25, 2022
Learn to write Rust procedural macros [Rust Latam conference, Montevideo Uruguay, March 2019]

Rust Latam: procedural macros workshop This repo contains a selection of projects designed to learn to write Rust procedural macros — Rust code that g

David Tolnay 2.5k Dec 29, 2022