Tiny8 documentation Tiny8 is a lightweight toolkit that allows you to explore how computers work at their core through small-scale memory models, handcrafted assembly, and lightweight in-memory data structures. Designed for rapid experimentation, Tiny8 embraces minimalism with zero unnecessary dependencies, a clean design, and intuitive visualization tools that make learning, debugging, and tinkering enjoyable. Why Tiny8? Lightweight: tiny install footprint and no heavy runtime dependencies. Educational: clear primitives and examples that demonstrate CPU concepts, memory layout, and algorithms. Fast feedback loop: assemble, run, and visualize within seconds to iterate on ideas. Extensible: meant for experiments, teaching, demos, and small tools that benefit from a predictable, tiny VM. Who should use it? Students learning low-level programming, assembly, or computer architecture who want hands-on examples. Educators building demos and interactive lessons that visualize how registers and memory change. Hobbyists and hackers experimenting with toy CPUs, compact data layouts, or custom instruction ideas. Developers who want a tiny, readable simulator to prototype algorithms that manipulate memory directly. Get started Follow the Installation section below to install from PyPI or set up a development environment. See the Examples section (like the bubble sort demo) to run real programs and watch the visualizer in action. Dive into the API Reference for details on the CPU, assembler, and visualization helpers. Installation Tiny8 supports Python 3.11 and newer. It has no heavy external dependencies and is suitable for inclusion in virtual environments. Follow the steps below to prepare your environment and install from source or PyPI. Prerequisites Python 3.11+ Git (for installing from the repository) Recommended: create and use a virtual environment From source (development) git clone https://github.com/sql-hkr/tiny8.git cd tiny8 uv venv source .venv/bin/activate uv sync...
First seen: 2025-10-24 13:36
Last seen: 2025-10-24 15:37