I wonder if it's possible to run this outside of Minecraft in some way. I assume the developers weren't debugging the program in Minecraft itself.
You can find more information in the explainer video https://youtu.be/xIMkqHb2-KM
11–20 of 162 posts
I wonder if it's possible to run this outside of Minecraft in some way. I assume the developers weren't debugging the program in Minecraft itself.
You can find more information in the explainer video https://youtu.be/xIMkqHb2-KM
The whole thing was real slow, but it was so much fun trying to design something that would perform interesting calculations. I stopped working on it as at the time Minecraft had some odd bugs with pistons that would cause non-deterministic behavior.
I think the most challenging aspect wasn't the programming or circuits, which were well understood and mapped out, but trying to create modules I could copy-paste inside a special Minecraft save editor to make the machine quickly, then manually dragging out data/command lines to hook the modules together.
Cool! Now build it in Turing Complete and export it to an FPGA
I wonder if it's possible to run this outside of Minecraft in some way. I assume the developers weren't debugging the program in Minecraft itself.
They cannot naturally run real Minecraft on their CPU. Instead, they have handcoded Minecraft like game for their custom CPU, so the title is a bit misleading. For this CPU/language you will find an emulator. You can find more information in the explainer video https://youtu.be/xIMkqHb2-KM
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?
My son has gotten into designing logic circuit with Redstone. I wish I could get him to do the same with 74xx/54xx parts.
Why 74xx parts, other than nostalgia for an era that was over decades before he was born? If it's about building physical things rather than virtual things, consider Lego Mindstorms controllers; you can build digital logic in them using Scratch...and graduate to Python when he gets frustrated with the limitations. And there's tons of Minecraft-themed Lego contraptions, he could theoretically use Mindstorms logic, lig…
Now it's time for the next step: build another CPU inside that one.
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?
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 appears to be an optimized Redstone interpreter (terms get confusing here if you try to say that this is a that)...
> MCHPRS is an open source project with the goal of allowing high speed redstone execution. This speed was achieved by generating a graph structure of all redstone links. MCHPRS can compile redstone into a graph and execute based on it.
> This is what the generated graph looks like: https://imgur.com/a/J51nJvV
> Redpiler is just a proof of concept and I expect to be able to get much faster speeds in the future :D
/edit)