Submit your breaking news stories and original articles to us by contacting us
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.
Category: Uncategorized
3 Responses for "TinyP2P"
December 17th, 2004 at 7:49 am
1You 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.
December 17th, 2004 at 7:51 am
2Agh! Stupid. I left out the Matthew Skala
http://ansuz.sooke.bc.ca/software/molester/index.php
January 6th, 2005 at 9:28 pm
3now its down to 6 lines!!
:D smart people getting smarter…
RSS feed for comments on this post
Leave a reply