FreezeDriedMangos / CodeSnippetEvolution

Simulation of self-copying programs spreading through a virtual RAM. Uses a purpose-built pseudo assembly language. This project was inspired by SALIS and Tierra.
4 stars 0 forks source link

Optimizations #5

Open ghost opened 4 years ago

ghost commented 4 years ago

Consider switching to a CISC-like ISA, rather than a RISC.

Consider adding an internal RAM to the @ symbol

Consider abstracting the running of these creatures; allows for an unbounded number of creatures

Consider adding register modifiers to algebraic Instructions: without these modifiers, these Instructions add and subtract from the value of the target symbol: not as a register, but as the numeric value of the insteuction

New Design

Design issues

ghost commented 4 years ago

Note: the shorter the minimal ancestor gene, the better the ISA (for this purpose)

ghost commented 4 years ago

Also consider adding a “probe” that moves to and evaluates the value of a symbol when that is needed

a) make it so that it takes time to move b) add a way to expel probes

If you add a way to detect foreign probes, and either (a) or (b), then it will be possible to defend against predation

ghost commented 4 years ago

The portions of the simulation that aren’t “part of the world” can be represented through the background. ie the interpreters can be represented at their current interpretation location as a bright background on that symbol. Further information can be encoded through the exact color. For example, the interpreter’s energy level (its dump register value) can be the brightness