News for hackers. Stuff that matters.
Re:Tell HN: AWS appears to be down again by cecilpl2 on Wednesday December 15, 2021 @12:23PM (#29568900)
I built a toy CPU in software once as an exercise. I started with "class Transistor" (wrapping an AND op) and "class Wire" (wrapping a boolean), and wired them together incrementally to make gates, flipflops, registers, etc.

I eventually got a fully-functioning 32-bit cpu with instruction pipelining, two levels of cache, DMA input/output, an asynchronous bus, a custom assembly language with an assembler written in python, and got the Game of Life running on it.

It ran about 2kHz with 8kb of memory or so.

There are no comments on this comment yet.