from Hacker News

Show HN: Aarde – Self Replicating Programs

by vnglst on 4/11/24, 7:59 PM with 1 comments

Last weekend I created a new visualization/demo. It's a sort of crossover between artificial life and defragmentation on MSDOS.

The organisms "live" in the memory and continuously copy themselves to a free piece of memory. The programming language consists of only 5 instructions to keep it simple:

S - Program start E - Program end F - Find location to copy to C - Copy to location J - Jump to start of program

Every time a code is copied, a mutation can occur. We start with the following simple life form:

SFCJE

The rest is evolution.

  • by _akhe on 4/11/24, 8:02 PM

    Gives me Conway's Game of Life vibes! Love this kind of stuff, nice work :)