~/projects [h]

tldr wayoflife [1/5]

tom@pce:~/projects$ tldr wayoflife

wayoflife

Conway's Game of Life with three cell states, pushed for speed in Python, and ported to Rust/WASM for this site.

wayoflife
stack
python, numba, pygame, rust, wasm
uses
numpy, numba, pygame, opencv
used by
A way of life
links
[gitlab] [video] [post]

traveling-salesman

The traveling salesman problem solved in four different ways, racing each other.

traveling-salesman
stack
python, genetic algorithm, ant colony optimization
uses
numpy, pygame, aiostream
used by
Traveling salesman problem
links
[video] [post]

aoc-rust-vs-python

Advent of Code day 1 in Rust and Python: 100 million lines, about 1.3GB, in less than a second.

aoc-rust-vs-python
stack
rust, python, simd, polars
uses
polars, numpy
used by
Advent of Code Day 1: Rust versus Python
links
[post]

rust-etl-pipeline

A streaming CSV to SQLite ETL pipeline with concurrent tasks linked by channels.

stack
rust, tokio, sqlx, clap
uses
tokio, futures, csv-async, sqlx, clap
used by
A basic Rust streaming ETL pipeline
links
[video] [post]

sudoku-solver

A Sudoku solver, shown in a YouTube video.

stack
python, min-max, backtracking
links
[video]