Is the copyright notice supposed to apply to the empty program?
The world's smallest self-replicating program
11–20 of 65 posts
Re: The world's smallest self-replicating program
#12The Makefile is the most interesting part: http://www.ioccc.org/1994/Makefile smr: smr.c @${RM} -rf smr ${CP} smr.c smr ${CHMOD} +x smr Apparently, an empty file marked as executable will execute!
Re: The world's smallest self-replicating program
#13Re: The world's smallest self-replicating program
#14The Makefile is the most interesting part: http://www.ioccc.org/1994/Makefile smr: smr.c @${RM} -rf smr ${CP} smr.c smr ${CHMOD} +x smr Apparently, an empty file marked as executable will execute!
Because it's being interpreted as a shell script, I assume.
Re: The world's smallest self-replicating program
#15Doesn't require make :) or cp and is pretty active - fills up all the memory space below the starting point in no time.
Re: The world's smallest self-replicating program
#16smr: smr.c @${RM} -rf smr ${CP} smr.c smr ${CHMOD} +x smr this is bullshit if you ask me..
Re: The world's smallest self-replicating program
#17Re: The world's smallest self-replicating program
#18http://www.ncbi.nlm.nih.gov/nuccore/NC_001422.1
Enterobacteria phage phiX174 sensu lato, complete genome
5386 bp ss-DNA
Re: The world's smallest self-replicating program
#19Re: The world's smallest self-replicating program
#20Isn't this a quine, rather than a self-replicating program? A quine produces the source, and a self-replicating program should produce an executable - no? This seems to be a fallacy of equivocation.