Trying out this Rust thing... let's see how it goes ๐ฆ
book/
Notes on the book "The Rust Programming Language", together with code examples.
.
โ
โโโ ch02-guessing-game/...
โโโ ch03-fibonacci/...
โโโ ch08-mean-median-mode/...
โโโ ch08-pig-latin/...
โโโ ch12-grep/...
โโโ ch14-add/...
โโโ ch14-art/...
โโโ ch15-cons-list/...
โโโ ch15-mock-object/...
โโโ ch15-weak-ref-tree/...
โโโ ch16-concurrency/...
โโโ ch17-blog/...
โโโ ch17-gui/...
โโโ ch19-hello-macro/...
โโโ ch19-pancakes/...
โโโ ch20-hello/...
โ
โโโ notes.md # complete book notesclair/
Really simple command line app example, from the Rust CLI working group's book "Command Line Applications in Rust" (CLAiR).
.
โโโ grrs/ # super small grep clone ("grass")
โโโ src/
โย ย โโโ lib.rs # find patterns in string content
โย ย โโโ main.rs # command line interface
โโโ tests/
โย ย โโโ cli.rs # integration tests
โโโ Cargo.tomlcrust/
Coding along Jon Gjengset's "Crust of Rust" video series.
.
โโโ strsplit/
โ โโโ src/lib.rs # "Crust of Rust: Lifetime Annotations"
โ
โโโ vecmac/
โ โโโ src/lib.rs # "Crust of Rust: Declarative Macros"
โ
โโโ iterators/
โ โโโ src/lib.rs # "Crust of Rust: Iterators"
โ
โโโ pointers/
โ โโโ src/ # "Crust of Rust: Smart Pointers and Interior Mutability"
โ โโโ lib.rs
โ โโโ cell.rs # a mutable memory location
โ โโโ refcell.rs # a mutable memory location with dynamically checked borrow rules
โ โโโ rc.rs # a single-threaded reference-counting pointer
โ
โโโ panama/
โ โโโ src/lib.rs # "Crust of Rust: Channels"
โ
โโโ orst/
โ โโโ src/ # "Crust of Rust: Sorting Algorithms"
โ โโโ lib.rs
โ โโโ bubblesort.rs
โ โโโ insertionsort.rs
โ โโโ selectionsort.rs
โ โโโ quicksort.rs
โ โโโ bin/
โ โโโ bench.rs
โ
โโโ strtok/
| โโโ src/lib.rs # "Crust of Rust: Subtyping and Variance"
โ
โโโ boks/
โ โโโ src/main.rs # "Crust of Rust: The Drop Check"
โ
โโโ atomics/
โโโ src/main.rs # "Crust of Rust: Atomics and Memory Ordering"learn-wgpu/
Following the "Learn Wgpu" guide on using gfx-rs's wgpu library.
.
โโโ src/
โย ย โโโ main.rs # main code, interacts with the core objects of WebGPU
โย ย โโโ texture.rs # creation of textures from images and of depth textures
โย ย โโโ shader.wgsl # shader code, written in WGSL (WebGPU Shading Language)
โโโ Cargo.tomllrtdw/
Following Cliff L. Biffle's unsafe-first approach to "Learn Rust the Dangerous Way" (LRtDW) series of articles.
.
โโโ nbody-c/
โ โโโ main.c # reference C code, unchanged
โ
โโโ nbody-rs/
โ โโโ src/
โ โย ย โโโ main.rs # Rust code, following LRtDW
โ โโโ Cargo.toml
โ
โ make.py # build scriptlrwetmll/
Following "Learn Rust With Entirely Too Many Linked Lists" chapters.
.
โโโ lists/
โโโ src/
โย ย โโโ first.rs # ch. 2, a bad singly-linked stack
โย ย โโโ second.rs # ch. 3, an ok singly-linked stack
โย ย โโโ third.rs # ch. 4, a persistent singly-linked stack
โย ย โโโ fourth.rs # ch. 5, a bad but safe doubly-linked deque
โย ย โโโ fifth.rs # ch. 6, an unsafe singly-linked queue
โย ย โโโ lib.rs
โโโ Cargo.tomlrusty-journal/
Implementation of Microsoft Learn's "Build a command-line to-do list program" module.
.
โโโ src/
โ โโโ cli.rs # command-line interface using structopt
โ โโโ main.rs
โ โโโ tasks.rs # add, complete and list tasks using serde
โโโ Cargo.tomlwasm/
Implementation of Conway's Game of Life, following the Rust and WebAssembly working group's "Rust Wasm Book".
.
โโโ game-of-life/
โโโ src/ # Rust code with Wasm bindings
โย ย โโโ lib.rs
โย ย โโโ utils.rs
โโโ www/ # JavaScript code using the generated WebAssembly
โย ย โโโ index.js
โย ย โโโ index.html
โย ย โโโ bootstrap.js
โย ย โโโ package.json
โย ย โโโ webpack.config.js
โโโ Cargo.toml