Live data from Hacker News

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

youtube.com

41–50 of 162 posts

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

#43
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.

How did they load Minecraft onto that computer?

They didn't load the real Minecraft on it, but they implemented their own version. But that version still has true 3D graphics, several block types, an inventory, mining, crafting, etc.

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

#45

I worked on a CPU in Minecraft years ago and designed it to be a 7-bit CPU. I chose that number because it gave me the an appreciable number of operations plus space for arguments. I had only 6 bytes of RAM and about 32bytes of ROM. The ROM was just a circle of transparent blocks (zero) and solid blocks (one) pushed around by pistons. The whole thing was real slow, but it was so much fun trying to design something th…

Brings me back to when I first worked on an ALU in Minecraft. At least at the time, it had really annoying bugs with repeaters though, where it would occasionally mess up a signal, which frustrated me enough to give up on it.

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

#46
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?

Briefly put: The code shown was used to make the redstone (i.e. Minecraft logic circuit) behavior run at 10000x speed on the server. It's still the same game logic, but recording the video only took 9 hours instead of a decade.

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

#47

The video description says: > 3D Minecraft in Minecraft with no command blocks, no datapacks and no mods. Features include an 8x8x8 fully 3D-rendered world with 16 different block types, 32 different items, and dozens of game mechanics including mining, crafting, smelting, building, chests, random ticks Is "3D Minecraft" a Minecraft clone for low-powered hardware? It looks like their emulated CPU only has <10KB RAM a…

They wrote a clone, yes.

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

#48

The video description says: > 3D Minecraft in Minecraft with no command blocks, no datapacks and no mods. Features include an 8x8x8 fully 3D-rendered world with 16 different block types, 32 different items, and dozens of game mechanics including mining, crafting, smelting, building, chests, random ticks Is "3D Minecraft" a Minecraft clone for low-powered hardware? It looks like their emulated CPU only has <10KB RAM a…

Yeah, they're implementing a Minecraft-like experience within Minecraft, not literally running official Minecraft code on their VM.

I think they specify "3D Minecraft" to distinguish it from earlier efforts, where people built 2D Minecraft-like experiences with redstone, like:

https://www.gamesradar.com/guy-makes-minecraft-playing-compu...

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

#49

Pretty cool. The program itself was written in an existing intermediate language called URCL, which was then compiled to CHUNGUS2 assembly. CHUNGUS2 is the processor made with Minecraft's redstone mechanics. The processor was emulated for development, but the demo is running on MCHPRS, a Minecraft server that uses Wasmtime's Cranelift to JIT the redstone operations, which are represented as a weighted directed graph.…

> Before MCHPRS optimizing redstone performance using compiler techniques was not thought to be possible.

They created a virtual machine with a custom instruction set. Why wouldn't an optimized JIT work?

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

#50

Earlier quoted context omitted.

How did they load Minecraft onto that computer?

They didn't load the real Minecraft on it, but they implemented their own version. But that version still has true 3D graphics, several block types, an inventory, mining, crafting, etc.

And if that version has redstone, then we know what needs to happen next.
Post reply on HN