|
|
|
|
|
by arduinomancer
1951 days ago
|
|
Hardware description languages such as VHDL/Verilog feel very similar to Factorio in that "everything is happening at the same time in parallel". Definately takes a while to wrap your head around it coming from procedural languages. The "compilers" for these languages have very sophisticated "routing" algorithms which synthesize efficient physical layouts of circuits. Programs like Quartus even let you edit your description visually as an abstract block diagram by dragging around wires/placing blocks. |
|
Electronics is just inherently 'parallelised', and software generally isn't, I get that. But some how we built up from parallel hardware to procedural synchronous (I know it isn't all but let's be honest it ~~all is) software, then built up further to sometimes wanting parallel again, and it's just sort of hard (er than it seems it should need to be) to use?
I challenge anyone who's used exclusively procedural languages to try an HDL (like Verilog or VHDL) or at least a high level declarative language (like Prolog or HCL/Terraform, as long as you view it as a language rather than config files) and not feel refreshed.
> Programs like Quartus
Egh, if I have nightmares tonight I'll know why!