Skip to content

WhoisDavid/rust-learnings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust learnings

Projects

Smart pointers

Implementation of std::cell, std::cell::RefCell and std::rc::Rc.
This was done following a great Crust of Rust on Smart Pointers and Interior Mutability by Jon Gjengset (@jonhoo).

Project under smart-pointers.

Procedural macros workshop

Started working on this workshop for Rust Latam by David Tolnay (@dtolnay).
Also inspired by a long session on proc macros by Jon Gjengset (@jonhoo)!

Progress

Project under proc-macro-workshop.

Procedural macros playground

Toy repo to do some tests on proc macro syntax.

Project under proc-macro-playground.

Channels

Another great Crust of Rust.

Implementation of std::sync::mpsc::channel in eurostar/src/lib.rs.

This is a simple implementation of asynchronous/unbounded multi-producer single consumer (mpsc) channel using a VecDeque buffer, a Mutex and a Condvar behind an Arc.

Project under eurostar.

About

Collection of Rust learnings through implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages