Get the latest tech news

A Simple CPU on the Game of Life (2021)


Abstract: An implementation of a minimal CPU on Conway's the Game of Life (an 'unlimited register machine'), and runs at ~10Hz.

First described as a mathematical formaliziation of what is computable, a URM is a Turing complete, four-instruction CPU that should (in theory) have an unlimited numver of registers, each of which can hold unbounded integers. You might recall how earlier we used to fact to design an edge detector that would reliably determine whenever the signal has gone from 1 to 0 by building a small circuit that A AND (NOT B) and connecting the same input to both A and B, but because there is a slightly longer wire leading to B, it does what we want. Instead, I'll steal a page from MIPS and declare that the instruction after a branch is always executed, regardless of whether or not the condition was true; if you have some work that should always happen it can go here, otherwise just stick a no-op there and pretend it was a stall.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Life

Life

Photo of game

game

Photo of simple cpu

simple cpu

Related news:

News photo

DOGE's "Efficiency" Theater: Wasted $21.7B While Destroying Life-Saving Programs

News photo

The first Nintendo Switch 2 120fps game is playable now

News photo

Life-like robots for sale to the public as China opens new store