Live data from Hacker News

1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

youtube.com

111–120 of 162 posts

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#111

Earlier quoted context omitted.

Seems like splitting hairs. The redstone mechanics needed to run the computer are implemented exactly the same as the real game. The computer can be loaded into real minecraft and runs as expected. MCHPRS just takes out what the computer doesn't use and optimizes the simulation of it. I would call that a computer running in minecraft, but you could argue either way.

this may be a stupid question: is it CPU or GPU dependent, Can it be "sharded" and run on multiple machines in cloud?

There are no stupid questions ;)

To my understanding, this is almost a pure CPU task, like how normal minecraft currently works. Which would actually make sharding a little easier if they implemented it (sounds like they haven't).

The GPU is an interesting point though. There's probably a ton of simple matrix multiplying in the machine's design that could benefit from a GPU.

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#112
Ha, that's so needlessly inefficient! Now let me get back to work with my Electron code editor while I communicate with my team in four different Electron chat apps and code a web page which requires 2.5MB of assets to load (not counting the massive autoplaying background video).

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#113
If you like to ponder physiological implications and deeper themes of such worlds in worlds and what it can mean, in a fun way, I recommend the (sci-fi) book Permutation City (Greg Egan), from 1994. It also contains an artificial world, called the Autoverse that felt to me like Minecraft when I read the story. But it is taken a lot further...

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#114
Can someone explain to a clueless person (me) how a 1Hz CPU manages to achieve even 0.1fps frame rates. That is only ten clock cycles per frame. I don't know what the IPC of Chungus 2 is but that doesn't seem a lot of cycles to calculate each new frame.

Thinking about this another way. Real world CPUs have clock speeds at least 1 billion times faster than this and they only run Minecraft a few 1000 times faster than is claimed here. How do these numbers add up?

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#115
post #114

Can someone explain to a clueless person (me) how a 1Hz CPU manages to achieve even 0.1fps frame rates. That is only ten clock cycles per frame. I don't know what the IPC of Chungus 2 is but that doesn't seem a lot of cycles to calculate each new frame. Thinking about this another way. Real world CPUs have clock speeds at least 1 billion times faster than this and they only run Minecraft a few 1000 times faster than…

The video author (Sammyuri) clarified it in a comment:

> This build does NOT run in real time. It runs on MCHPRS, the server developed by StackDoubleFlow, which speeds up the game roughly 10-20,000x while running redstone. That brings the framerate to a much more reasonable 0.1fps, so the long timelapses in the video only took 9 hours to record in total.

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#116

Earlier quoted context omitted.

Seems like splitting hairs. The redstone mechanics needed to run the computer are implemented exactly the same as the real game. The computer can be loaded into real minecraft and runs as expected. MCHPRS just takes out what the computer doesn't use and optimizes the simulation of it. I would call that a computer running in minecraft, but you could argue either way.

Almost like running a game in a NES emulator at 10,000x speed and claiming it's implemented exactly like the NES.

Yeah I would say that your example is implemented exactly like the NES.

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#117
post #115
post #114

Can someone explain to a clueless person (me) how a 1Hz CPU manages to achieve even 0.1fps frame rates. That is only ten clock cycles per frame. I don't know what the IPC of Chungus 2 is but that doesn't seem a lot of cycles to calculate each new frame. Thinking about this another way. Real world CPUs have clock speeds at least 1 billion times faster than this and they only run Minecraft a few 1000 times faster than…

The video author (Sammyuri) clarified it in a comment: > This build does NOT run in real time. It runs on MCHPRS, the server developed by StackDoubleFlow, which speeds up the game roughly 10-20,000x while running redstone. That brings the framerate to a much more reasonable 0.1fps, so the long timelapses in the video only took 9 hours to record in total.

Interesting. I saw a video of this on tiktok that said "sped up 2,000,000 times" and thought it was an exaggeration, or error. Apparently not.

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#118
post #20
post #17

What's with the code? I don't know much about Minecraft, but I assumed the CPU would be built purely from blocks which act like transistors. Yet there's a part of the video where the show code written in-game(?). What's up with that? Isn't it cheating?

A glance at the code, it appears to be the code for generating the world. Placing all those blocks by hand would be tedious. I believe you are seeing a complier of code -> red stone, not code embedded into Minecraft. (late edit: The file name is src/redpiler/mod.rs - a search brings up https://www.reddit.com/r/redstone/comments/md1xwy/redpiler_t... which is posted by the same author as the video creator... and that a…

Ah makes sense, thanks!

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#119
post #2

This is truly amazing. Comment from one of the creators; This build does NOT run in real time. It runs on MCHPRS, the server developed by StackDoubleFlow, which speeds up the game roughly 10-20,000x while running redstone. That brings the framerate to a much more reasonable 0.1fps, so the long timelapses in the video only took 9 hours to record in in total.

It's mind blowing how much effort they put into this, the MCHPRS server even JIT compiles redstone into native code using Cranelift: https://github.com/MCHPR/MCHPRS/blob/master/docs/Redpiler.md It really saddens me that their post was removed from r/Minecraft, for crediting a server by including its IP address for literally one second in the video.

Reddit is very saddening on general. Best to avoid it

Re: 1Hz CPU made in Minecraft running Minecraft at 0.1fps [video]

#120
You’re all going to hate on me for this, so first let me say that this is amazing. I’m awed by it. Truly. And I am very familiar with minecraft and even have been known to do a bit of redstone hacking myself I love seeing the cool things some folks do with it. (I’ve some redstone sorting algorithms and I’m esp fond of redstone Turing machines!)

But this! This is like sending a person to mars!

And I have the same question for the geniuses who did this that I have for the ones working on that:

Aren’t there cures for cancer and perovskite solar cells to discover? Why are you using your excellent minds, and apparently enormous amount of free time, building cool but very slow virtual computers out of virtual sand, when you could be proving the smoothness of the Navier–Stokes equations?

It’s one thing, to my mind, when athletes climb huge mountains because they’re there. It’s quite another, again, to me, when obvious genius goes to waste.

There. I feel better for having said it. I only wish I could say it to Elon Musk re Mars, and get my son to spend a fifth as much time on his math homework as he does playing minecraft. This incredibly cool hack is just going to exacerbate the situation! :-)

Post reply on HN