POV-Ray : Newsgroups : povray.off-topic : You thought 4K graphics demos were impressive? : Re: You thought 4K graphics demos were impressive? Server Time
5 Sep 2024 07:23:21 EDT (-0400)
  Re: You thought 4K graphics demos were impressive?  
From: Warp
Date: 28 Aug 2009 08:34:34
Message: <4a97ceda@news.povray.org>
triple_r <nomail@nomail> wrote:
> Did you run it?  If you run it, the output is a different beautifully-formatted
> c-code.  If you run that, the output is another formatted c-code.  If you run
> that, the output is another formatted c-code.  If you run that, the output is
> the first result again.  Basically:

> original -> #1
> #1 -> #2
> #2 -> #3
> #3 -> #1

  It's one of the best self-replicating programs I have ever seen.

  Most self-replicating programs just replicate themselves, and that's it.
No ascii art either.

  This program, however, prints a different program, which prints a third
program, which prints the original program. And all these programs use
ascii art formatting. That's some self-replication there.

  It's just incredible how he could store the *shapes* of all four programs
inside a single self-replicating program.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.