Skip to content

Experiments & small programs I write as I learn Rust

Notifications You must be signed in to change notification settings

unixpickle/learning-rust

Repository files navigation

learning-rust

A bunch of random stuff I write as I try to learn Rust.

Table of Contents

  • bf.rs - a Brainfuck interpreter.
  • solve_2x2.rs - a 2x2 Pocket Cube solver.
  • autodiff.rs - a small automatic-differentiation program.
  • game_of_life.rs - Conway's game of life implementation.
  • experiments - misc. experiments to improve my mental model of Rust.
  • http_proxy - a program that forwards HTTP requests to another host. Logs every request and the total number of bytes read and written across all requests.
  • spellingbee_answers - a web scraper to get the answers out of the NYT Spelling Bee game. This uses multiple files with modules, and a custom error type. It also does some time arithmetic to fetch new answers whenever the game swaps.
  • type_math - compile-type arithmetic using the Rust type system. In particular, it implements Peano numbers, which in this case represent a number by the number of type recursions.
  • futures_test - implementing futures and/or executors from scratch, and comparing to third-party versions.
  • ndarray_test - trying out the ndarray crate, and benchmarking various ways of computing an operation with it.

About

Experiments & small programs I write as I learn Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published