Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

rust-impl

rust-impl is a personal learning project where I reimplement various features of the Rust programming language and standard library from scratch to deepen my understanding of how things work under the hood.

This repository serves as a hands-on exploration of core Rust concepts, standard library internals, and fundamental programming ideas in a low-level, systems-oriented context.


πŸ” Purpose

The goal of this project is to:

  • Reinforce my understanding of Rust's core features.
  • Explore how data structures, traits, and modules are implemented internally.
  • Gain insight into systems-level programming using idiomatic Rust.
  • Create a reference for others learning Rust through implementation.

πŸ“¦ Contents

The project is organized by topic, with each module containing well-commented, self-contained implementations.

Examples of areas covered:

  • βœ… Ownership and Borrowing (manual memory management)
  • βœ… Option / Result types
  • βœ… Traits and Trait Objects
  • βœ… Iterators and Closures
  • βœ… Collections (e.g., Vec, HashMap, LinkedList)
  • βœ… Smart Pointers (Box, Rc, RefCell)
  • βœ… Concurrency primitives
  • βœ… Custom allocators
  • βœ… Macros and procedural macros
  • βœ… Modules and visibility

More will be added as I explore deeper parts of the language.


πŸ“š Learning Philosophy

Rather than just using built-in features, this project takes a "build it yourself" approach:

  • No std when avoidable (some features use #![no_std])
  • Manual implementations of traits and types
  • Detailed comments explaining why and how

βš™οΈ Dive deep, build small, learn Rust from the inside out.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages