Bastard On Skates

chaoticset on 2003-03-03T15:45:08

I'm fairly excited at this point -- I think I might just be able to scrape together enough funds and time to attend YAPC this year.

Plus, I'm going to be looking at SelfGOL, which intrigued me the second I heard about it. Utter bizarreness:

In this talk I dissect the SelfGOL program: an obfuscated, self-aware, viral quine that can self-replicate, rewrite other Perl programs to allow them to self-replicate, detect un-rewritable Perl programs, execute itself or other Perl programs as cellular automata of arbitrary size (to play Conway's "Game of Life"), and/or animate any short text as a cycling marquee banner.

SelfGOL accomplishes these feats in under 1000 bytes of standard Perl, without importing any modules, and without using a single if, unless, while, until, for, foreach, goto, next, last, redo, map, or grep.

To do all that in under 1K of code, it relies on some extreme programming techniques, and on many of the obscure backwaters of the Perl syntax.

If that doesn't sound interesting, well...you're probably not like me, then, I guess. :\

Anyway, I didn't see the code posted at Damian's site so I Googled it up, and SelfGOL code is indeed available on the web. Analysis necessary...


Oh! Now I get it!

jordan on 2003-03-03T16:53:52

  • ...it relies on some extreme programming techniques...

I was wondering what this 'extreme programming' was all about and now I know!

SelfGOL

dreadpiratepeter on 2003-03-03T17:27:51

Single best presentation I have ever attended. The code isn't half as interesting as Damian's sideshow-barker style of presenting it.

BTW, be careful when dissecting it, there is signficant whitespace and lack of whitespace. (This is a feature)

Not interested :-(

Matts on 2003-03-03T18:37:07

I think I must be one of the only perl programmers who has absolutely no interest in obfuscated perl. I find *far* more interest in the beauty of a clean program which maybe explores some of the interesting edges of Perl's OO space, yet while still being well written and easy to understand. Something like Pixie for example.

Re:Not interested :-(

marcel on 2003-03-03T21:01:18

Yeah, but you also like XML. :)