I have learned Python programming language and now I am learning Rust programming language to understand low-level
concepts like Stack, Heap, Ownership & Borrowing (specific to Rust), different data-types (u8-u128, i8-i128,
char, ...), etc.
During my learning I am practicing and creating some programs. For example, I've built "Stone, Paper, Scissor" game and written a small coordinates system program in Rust.
Learning Rust using only free resources (available on internet) from YouTube videos, Rust Books and Chat bots.
-
hand_game: The "Stone, Paper, Scissor" Game- Uses
Enum,Struct,Result,matchstatements,whileloop, functions. - Uses
randcrate to generate random numbers.
cargo run --bin hand_game
- Uses
-
point: Co-ordinate System program- Uses
Struct,impl, implement operators (Add,Sub). - Implement
fmt::DisplayforPointstruct. - Written methods like
euclidean_distance,is_collinear, etc. - This is not a game or any CLI program. Just practicing structs, traits, and type generics.
cargo run --bin point
- Uses
-
md_badges: CLI tool to access SimpleIcons MD badges- Modular structure.
- Uses
ureqcarte to fetch simpleicons data from GitHub, see data.rs. - Uses
serdefor obvious reasons. - Uses
clapcrate for CLI arguments parsing. - See md_badges/README.md.
cargo run -q -p md_badges -- python pandas
-
advent_of_code: Solving problems of Advent of Code events using Rust so that I can learn it.cargo run -q -p advent_of_code --bin day01 crates/advent_of_code/data/day01.txt