Skip to content

arv-anshul/thrust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 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 also written a small cooridantes system program in Rust.

Learing Rust using only free resources (available on internet) from YouTube videos, Rust Books and ChatBots ( Phind.com, perplexity.ai).

🗂️ 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. coordinates: Co-ordinate System program

    • Uses Sruct, 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 strcut.
    cargo run --bin coordinates
  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 std::env crate for cli args parsing.
    • See md_badges/README.md.
    cargo run -p md_badges

About

Learning 🦀 Rust with IDE written in Rust (Zed)

Topics

Resources

Stars

Watchers

Forks

Languages