Re:I don't know how CPUs work so I simulated one in code
by e63f67dd-065b on Tuesday August 06, 2024 @09:41AM
(#41170790)
The state of the art these days is https://github.com/MCHPR/MCHPRS
It's an implementation of the minecraft server that compiles redstone into a graph representation, and then does optimisations like constant folding, tree shaking, etc. Very cool project. If you ever see timelapses of minecraft computers running game of life, mandelbrot, etc it's most likely with this project.
https://mordritch.com/mc_rss/
Make sure to press the "Play" button at the top for the simulator to actually run.