News for hackers. Stuff that matters.
Re:I don't know how CPUs work so I simulated one in code by jonathanlydall on Tuesday August 06, 2024 @07:47AM (#41169908)
Shameless plug, I made this website which simulates Minecraft redstone as a hobby project many years ago:

https://mordritch.com/mc_rss/

Make sure to press the "Play" button at the top for the simulator to actually run.

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.

Re:I don't know how CPUs work so I simulated one in code by enopod_ on Sunday August 11, 2024 @08:37AM (#41215745)
This is awesome, thanks a lot!