Britannica AI Icon

self-modification

computer science

Quick Summary

Self-modification in computer science refers to a program's ability to alter its own instructions while it is running. This capability is fundamental to achieving a truly general-purpose machine, allowing programs to read and operate on other programs as data.1

While Konrad Zuse viewed this as potentially risky, self-modification is essential for computers to adapt and perform a wide range of tasks beyond their initial programming. One of the earliest uses of self-modification was in computer language translation, where programs could modify themselves to interpret and execute instructions written in different "languages". This ability is crucial for creating sophisticated software and enabling computers to solve problems that may not have been anticipated when they were built.1

Summary created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.
2 Britannica Sources
  1. computer - Machine language
  2. modifying

Ask Britannica AI about this topic

Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.