theprestige
Penultimate Amazing
Programs as they currently function are not analogous to sentient life in the sense we're trying to talk about.
A program exists as one or more files in storage. When it comes time to run the program, the file is loaded into memory, where the logic engine can step through its instructions, taking input and producing output as those instructions dictate. Intermediate outputs may be stored in memory, or even written back to disk, until it is time to make use of them. There is no overarching state of awareness. When the program is terminated, its instructions are unloaded from memory.
Updating a program typically involves the wholesale replacement of one or more of the files that comprise it, though in some cases replacement of individual lines of code or configuration within files may also be done. Then, the next time the program runs, it is the new files that are loaded into memory. Techniques also exist for updating the running instance of a program, typically by writing the program in such a way that it can reload updated files to memory, without having to completely shut down and then start up again from scratch.
A program exists as one or more files in storage. When it comes time to run the program, the file is loaded into memory, where the logic engine can step through its instructions, taking input and producing output as those instructions dictate. Intermediate outputs may be stored in memory, or even written back to disk, until it is time to make use of them. There is no overarching state of awareness. When the program is terminated, its instructions are unloaded from memory.
Updating a program typically involves the wholesale replacement of one or more of the files that comprise it, though in some cases replacement of individual lines of code or configuration within files may also be done. Then, the next time the program runs, it is the new files that are loaded into memory. Techniques also exist for updating the running instance of a program, typically by writing the program in such a way that it can reload updated files to memory, without having to completely shut down and then start up again from scratch.