Fascinated by how peer-to-peer applications work? Wondering how many lines of code are needed to produce such a wondeful application? Well apparently it only takes 15 lines of Python.
TinyP2P is a functional peer-to-peer file sharing application, written in fifteen lines of code, in the Python programming language. I wrote TinyP2P to illustrate the difficulty of regulating peer-to-peer applications. Peer-to-peer apps can be very simple, and any moderately skilled programmer can write one, so attempts to ban their creation would be fruitless.
I love to see smart people doing smart things. Python really seems to be the defacto language of choice for geeks today.







You might have seen it by now, but Matthew Skala has risen to the challenge and written a P2P app in just 8 lines of Perl, and without using any protocol libraries (unlike TinyP2P).
I get tickled by people doing smart stuf like this too.
Agh! Stupid. I left out the Matthew Skala
http://ansuz.sooke.bc.ca/software/molester/index.php
now its down to 6 lines!!
:D smart people getting smarter…