All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

GitHub Repository: 300-Line Implementation of Computational Life Research on Self-Replicating Programs

By

tosh

2mo ago· 2 min readenCode

Summary

This article describes a GitHub repository containing a 300-line code reproduction of computational life research, where self-replicating programs emerge from simple interactions. The implementation features a 240x135 grid of Brainfuck-like programs that interact by concatenating instruction tapes, running for limited steps, then splitting apart. The programs can loop and mutate themselves, demonstrating how well-formed, self-replicating programs can emerge from basic computational interactions as described in the referenced paper.

Key quotes

· 5 pulled
A simple (300 lines of code) reproduction of Computational Life: How Well-formed, Self-replicating Programs Emerge from Simple Interaction
A 240x135 grid of 64 instruction-length Brainfuck-like programs are randomly initialized
Every iteration, neighboring programs are randomly paired, have their instruction tapes concattenated together, and are run for a maximum of $2^{13}$ steps
The instructions are such that they can loop and mutate the instruction tapes (programs) themselves
As found in the paper, self-replicating programs emerge from simple interaction
Snippet from the RSS feed
A simple (300 lines of code) reproduction of Computational Life: How Well-formed, Self-replicating Programs Emerge from Simple Interaction - Rabrg/artificial-life

You might also wanna read