TinyP2P


 

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.

Geek News Central


 

3 Responses to TinyP2P

  1. Keith Bell says:

    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.

  2. HJ says:

    now its down to 6 lines!!

    :D smart people getting smarter…

Leave a Comment

Your email address will not be published.

*