Live data from Hacker News

Minecraft HDL, an HDL for Redstone

github.com

31–36 of 36 posts

Re: Minecraft HDL, an HDL for Redstone

#31

Earlier quoted context omitted.

OK. I thought feedback was more like that analog thing in electricity where you plug thing into itself and it amplifies but I guess it's also used in memory circuts

Have a look at the diagram for https://minecraft.wiki/w/Redstone_circuits/Memory#Input_stab... . It's doing exactly that.

again this is showing memory and not the analog feedback behavior I thought about...

Re: Minecraft HDL, an HDL for Redstone

#32
post #28

Earlier quoted context omitted.

Red Power was (is... Kind of) an extension not a fork. Although you could call it more an reinterpretation. But really RP vs Redstone is more like C vs Assembly. I've seen crazy things done in both but I think I find it a bit more impressive when people use pure Redstone to get things done. There are so many dimensions where you both need to understand the mechanics and where there are opportunities for optimization.…

Yes, ComputerCraft! I have written so much Lua because of it. Only if I still had the scripts. :( I had no idea RedPower is not a fork, I just remember having switched to it because of no updates for Redstone or version incompatibility issues or something? It's been a really long time ago.

Redstone isn't a mod. It was added to Minecraft in a secret Friday update in the early days around alpha iirc.

Re: Minecraft HDL, an HDL for Redstone

#33
post #32

Earlier quoted context omitted.

Yes, ComputerCraft! I have written so much Lua because of it. Only if I still had the scripts. :( I had no idea RedPower is not a fork, I just remember having switched to it because of no updates for Redstone or version incompatibility issues or something? It's been a really long time ago.

Redstone isn't a mod. It was added to Minecraft in a secret Friday update in the early days around alpha iirc.

Oh hold on. I was confusing Redstone with https://ftb.fandom.com/wiki/RedPower_2 and Project Red[1] that came afterwards. How embarassing. :P So it was RedPower -> RedPower 2, and then Project Red. It added a lot of goodies! You should check out the links.

[1] https://ftbwiki.org/Project_Red

Re: Minecraft HDL, an HDL for Redstone

#34

Earlier quoted context omitted.

Have a look at the diagram for https://minecraft.wiki/w/Redstone_circuits/Memory#Input_stab... . It's doing exactly that.

again this is showing memory and not the analog feedback behavior I thought about...

They're (approximately) one and the same.

* Feedback causes memory-like effects (e.g. reverb and oscillation whine in audio systems).

* Besides maybe memresistors, memory is pretty much always implemented via positive feedback (i.e. >unity loop gain) plus some sort of saturation to prevent exponential growth (which you typically get for free in physical systems if you can keep them from exploding).

Furthermore, digital behavior is an emergent effect from analog physical systems that are designed to be bistable. Digital systems will always make use of analog physical processes "under the hood".

Re: Minecraft HDL, an HDL for Redstone

#35

Earlier quoted context omitted.

This is a cool tool but compared to modern redstone contraptions this is a sidegrade, not an upgrade. It's straightforward torch and dust logic, with each torch being a nor gate and dust being wires. And it doesn't consider timing at all. This could have been made the week redstone was added (with minor adjustments to not have repeaters), and it wouldn't have taken any newer insights.

I haven't looked at the code, but you could presumably extend it, or maybe expect further development on the logic? ->The repo says "Branch out from master and have fun!"

For what it's for, it's better that it's simple.
Post reply on HN