Slashdot Mirror


TwIP - An IP Stack In a Tweet

Adam Dunkels writes "Inspired by the Twitter-sized program that crashes Mac OS X, I just wrote a really, really rudimentary IP stack called twIP, small enough to fit in a Twitter tweet. Although twIP is very far away from a real IP stack, it can do the first task of any IP stack: respond to pings. The entire source code can be found in this 128-character-long tweet. For those who are interested in low-level network programming, a code walkthrough with instructions on how to run the code under FreeBSD is available here. The FAQ: Q: why? A: for fun."

4 of 81 comments (clear)

  1. Re:Pretty Cool by buchner.johannes · · Score: 2, Informative

    Awesome, I love the difference between the first two approaches!

    If you're not sure whether to click the link: It is a competition to compress images into 140 chars.

    --
    NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
  2. Cool yet small... by Spatial · · Score: 2, Informative

    ...is big in the demoscene.

    Check out this 4KB realtime demo called 'Receptor'. (Download / Video)

  3. Re:Addendum by cyberstealth1024 · · Score: 4, Informative

    where are you seeing these "rating colors"?

    i didn't know either, so i looked it up -- it's the /. firehose quality filter. When you're logged in, you can see the popularity color on the left side of the summary heading. You can also increase/decrease this rating. See screen cap. Also, when browsing the front page of /., you can filter based on the color...see top-right of screenshot. The rating colors are ROYGBIV + Black. Red is the highest (most popular), black is the lowest. submitted articles initially have the color rating of blue.

    I had seen the color filtering before on the front page, but never looked into enough to find out. I learned something new. Hope you did too!

  4. Re:I hope this isn't a new trend. by loconet · · Score: 2, Informative

    I hope this isn't a new trend of 7337 |-|@(|0%$ to try to brag of their mad skill by seeing what code can fit in a Tweet.

    Oh it is.

    --
    [alk]