Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustLearn ¿?

Welcome to RustLearn ¿ my repository for mastering the Rust programming language! ¿?
Here's what ChatGPT thinks this github repo README should look like.


Why Rust? ¿?

  • Performance: Write code that runs at the speed of light, with zero-cost abstractions.
  • Memory Safety: Avoid segmentation faults and data races.
  • Concurrency: Build efficient, multi-threaded applications with ease.
  • Community: Join one of the fastest-growing programming communities.
  • Ownership: Master Rust's unique ownership model to write safe and efficient code.

Repository Structure ¿?

Folder/File Description
src/ Source code for Rust projects
examples/ Beginner-friendly Rust examples
docs/ Documentation and learning resources
tests/ Test cases to ensure code correctness
Cargo.toml Rust package configuration file

Getting Started ¿?

1. Install Rust ¿?

Install Rust using rustup, the official Rust installer:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Follow the on-screen instructions, and then verify the installation:

rustc --version

2. Clone the Repository ¿?

git clone https://github.com/swhipz/RustLearn.git
cd RustLearn

3. Build and Run ¿?

To run a Rust program, navigate to its directory and execute:

cargo run

To run the tests:

cargo test

Learning Rust ¿?

Topics Covered

  • Basics: Variables, data types, and functions
  • Ownership: Understanding Rust's ownership model
  • Error Handling: Result and Option enums
  • Concurrency: Threads and async programming
  • Advanced Topics: Macros, traits, and lifetimes

Resources ¿?


Contributing ¿?

We welcome contributions! Here's how you can get involved:

  1. Fork the Repository
  2. Create a New Branch
    git checkout -b feature-name
  3. Make Your Changes
  4. Submit a Pull Request

Please follow the Rust API Guidelines when contributing.


License ¿?

This project is licensed under the MIT License. See the LICENSE file for more details.


"Rust: safety, speed, and peace of mind."

Happy Coding! ¿?¿?

About

Someone said RUST was hard so I just had to do it to em

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages