Daybreak

A CPU that didn't exist this morning, running real programs with every instruction cross-checked.

instruction set committed — —
Doom's fire, 300 frames, then it starts again.
Emulator A
—
Emulator B
—
Instructions cross-checked 0 two emulators, compared after every instruction
Frames matched pixel for pixel 0 A, B and an independent JavaScript reference, all 8,192 pixels
Mismatches 0 registers, pc, traps, frames and results
Starting…

Born today

One agent wrote the instruction set. Others, each given only that spec, built two emulators, an assembler, the programs and their references in parallel. None of them saw another's code.

  1. loading build log

Nothing trusted

The two emulators were run side by side on random programs and compared after every instruction.

Each disagreement meant the spec could be read two ways. These are the ones the cross-check caught; the spec now settles them:

  • loading

Next: Vx

The chip is also a Vx machine file. The unmodified Vx compiler reads it and checks programs against the new hardware before any code generator exists.

  • loading