Skip to content

arv-anshul/thrust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆ€ The Rust

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.

๐Ÿ—‚๏ธ Showcase

  1. hand_game: The "Stone, Paper, Scissor" Game

    • Uses Enum, Struct, Result, match statements, while loop, functions.
    • Uses rand crate to generate random numbers.
    cargo run --bin hand_game
  2. point: Co-ordinate System program

    • Uses Struct, impl, implement operators (Add, Sub).
    • Implement fmt::Display for Point struct.
    • 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
  3. md_badges: CLI tool to access SimpleIcons MD badges

    • Modular structure.
    • Uses ureq carte to fetch simpleicons data from GitHub, see data.rs.
    • Uses serde for obvious reasons.
    • Uses clap crate for CLI arguments parsing.
    • See md_badges/README.md.
    cargo run -q -p md_badges -- python pandas
  4. 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

About

Learning ๐Ÿฆ€ Rust with IDE written in Rust (Zed)

Topics

Resources

Stars

Watchers

Forks

Languages