Time to dive into Rust!

Overview

Lets-Learn-Rust

Time to dive into Rust!

Rust Logo

Day 1

Installation
Running a Simple Rust Program
Managing Projects with Cargo
Basic Programming
- Comments and Print Commands
- Use of backlash
- Positional arguments
- Named Arguments
- Variable and Scalar Data Types
- Integers
- Floating-Point Numbers
- Booleans
- Characters
- Other Base
- Operation on variable of different types
- Shadowing and Constants
- Strings
- Common Operations on Strings
- Tuples and Arrays
- Vectors
- Functions

Day 2

Ownership Rules, Primitive and Non-Primitive Types
- Heap vs Stack: Memory Management in Rust
- Ownership and References in Functions
- Common Mistake
- Mutable and Immutable References
- String Concatenation and Ownership

Day 3

Control Structures
- If-Else ladder
- If-Let
- Match Statement
Loops
- Loops with no condition
- While loops
- For loops
Break and Continue
Stack Implementation

Day 4

Structure
- Tuple Structure
Traits and Default Implementations
- Functions with Traits
Enums
Generics
Option Enum
Result Enum
Hash Maps

Day 5

Lifetimes
Lifetimes specifier
- Issues with Multiple Lifetimes
- Correspondence of Lifetime with Minimal Lifetime
- Generic Lifetime Parameters with Structures
- Reference to the Same Variable
Closures : Anonymous Functions
In-Depth Understanding of Closure Capturing Environment
- Borrowing with Immutable Reference
- Borrowing with Mutable Reference
- Moving a Value into a Closure
Function Types
Uses of Function Types
- Function Types as Parameters to Functions
Iterators
Useful Functions for Iterators

Day 6

Modules: Organizing and Encapsulating Code in Rust
Utilizing External Crates
Fundamentals of Smart Pointers
Use Cases of Box Pointer
You might also like...
A tool to deserialize data from an input encoding, transform it and serialize it back into an output encoding.

dts A simple tool to deserialize data from an input encoding, transform it and serialize it back into an output encoding. Requires rust = 1.56.0. Ins

cargo-add command to make dependencies into dylibs

cargo add-dynamic This cargo command allows to wrap dependencies as dylibs. For why you might want this see Speeding up incremental Rust compilation w

Bitpack a boolean into a pointer using bit magic.

ptr-bool tl;dr: a pointer and boolean with the same size as a pointer. A convenience crate used to bitpack a boolean and pointer into the same eight b

Static-checked parsing of regexes into structs

Statically-checked regex parsing into structs. This avoids common regex pitfalls like Off by one capture indexes Trying to get nonexistent captures De

Conversion of .eopkg into .stone

a-piece-of-pisi Crazy time: We're building a tool to convert a selection of .eopkg packages into .stone packages to be consumed by moss-rs to vastly a

A real-time mixer

Pagana Pagana is a real-time mixer. This project is still in early stages of development and is not ready for any kind of production use or testing. D

Isn't it time to be a bit nicer to rustc?

politeness-macro Aren't we all too rude to computers? Isn't it time to bring a bit more politeness into our programming? Shouldn't we be a bit nicer t

Compile-time stuff and other goodies for rustaceans 🦀

🥯 bagel: Always baked, never fried bagel is a collection of macros and other things that we frequently use at Skytable, primarily to get work done at

A real-time data backend for browser-based applications.

DriftDB DriftDB is a real-time data backend for browser-based applications. For more information, see driftdb.com. Structure of this repo docs/: main

Owner
null
A comprehensive and FREE Online Rust hacking tutorial utilizing the x64, ARM64 and ARM32 architectures going step-by-step into the world of reverse engineering Rust from scratch.

FREE Reverse Engineering Self-Study Course HERE Hacking Rust A comprehensive and FREE Online Rust hacking tutorial utilizing the x64, ARM64 and ARM32

Kevin Thomas 98 Jun 21, 2023
A translation of akaritakai/AdventOfCode2021 into Rust

Advent Of Code 2021 Solutions This repo contains my Advent Of Code 2021 solutions in Rust. This repo is a learning opportunity (a "my first Rust proje

Justin Kaufman 2 Feb 7, 2022
A tool that helps you to turn in one command a Rust crate into a Haskell Cabal library!

cabal-pack A tool that helps you to turn in one command a Rust crate into a Haskell Cabal library! To generate bindings, you need to annotate the Rust

Yvan Sraka 18 Dec 31, 2022
Safe, comp time generated queries in rust

query_builder For each struct field following methods will be generated. All fields where_FIELDNAME_eq Numeric fields where_FIELDNAME_le where_FIELDNA

Amirreza Askarpour 2 Oct 31, 2021
Compile time static maps for Rust

Rust-PHF Documentation Rust-PHF is a library to generate efficient lookup tables at compile time using perfect hash functions. It currently uses the C

null 1.3k Jan 1, 2023
Simple time handling in Rust

time Documentation: latest release main branch book Minimum Rust version policy The time crate is guaranteed to compile with any release of rustc from

Time 680 Dec 31, 2022
Fast and simple datetime, date, time and duration parsing for rust.

speedate Fast and simple datetime, date, time and duration parsing for rust. speedate is a lax† RFC 3339 date and time parser, in other words, it pars

Samuel Colvin 43 Nov 25, 2022
Rust crate: Overloaded Literals to construct your datatypes without boilerplate and with compile-time validation.

overloaded_literals   Overloaded Literals to construct your datatypes without boilerplate and with compile-time validation. Features Compile-time vali

Qqwy / Marten 6 Apr 14, 2023
🦀 A Rust CLI to find the optimal time to meet given a when2meet URL

when3meet ?? The Rust when2meet CLI Install | Usage | Contributing & Issues | Docs Built with ❤️ and ?? by Garrett Ladley Install cargo install when3m

Garrett Ladley 4 Sep 18, 2023
An inquiry into nondogmatic software development. An experiment showing double performance of the code running on JVM comparing to equivalent native C code.

java-2-times-faster-than-c An experiment showing double performance of the code running on JVM comparing to equivalent native C code ⚠️ The title of t

xemantic 49 Aug 14, 2022