Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

TwIP - An IP Stack In a Tweet 81

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."
This discussion has been archived. No new comments can be posted.

TwIP - An IP Stack In a Tweet

Comments Filter:
  • Geek alert (Score:1, Informative)

    by Anonymous Coward on Sunday August 30, 2009 @06:32PM (#29255081)

    I knew I picked the right man when I cited this guy's PhD thesis in my dissertation. Folk who write things like this know their shit, and are probably safe citations, despite the use of Twitter.

    I'd have thought that someone that spent his time studying and implementing minimal-waste embedded network stacks and coming up with something like Contiki would be annoyed by the huge waste of bytes that is Twitter.

  • by Anonymous Coward on Sunday August 30, 2009 @06:33PM (#29255083)

    ... in low level system programming, I recommend reading a good book, like this [amazon.com], and not spending any more time reading this.

    Seriously.

  • Re:Pretty Cool (Score:3, Informative)

    by buchner.johannes ( 1139593 ) on Sunday August 30, 2009 @08:45PM (#29255971) Homepage Journal

    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.

  • Cool yet small... (Score:3, Informative)

    by Spatial ( 1235392 ) on Sunday August 30, 2009 @09:11PM (#29256121)
    ...is big in the demoscene.

    Check out this 4KB realtime demo called 'Receptor'. (Download [daimi.au.dk] / Video [capped.tv])
  • Re:Addendum (Score:4, Informative)

    by cyberstealth1024 ( 860459 ) on Sunday August 30, 2009 @09:15PM (#29256133)

    where are you seeing these "rating colors"?

    i didn't know either, so i looked it up -- it's the /. firehose quality filter [slashdot.org]. 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 [tinypic.com]. 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!

  • by loconet ( 415875 ) on Sunday August 30, 2009 @09:16PM (#29256145) Homepage

    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. [twitter.com]

FORTRAN is not a flower but a weed -- it is hardy, occasionally blooms, and grows in every computer. -- A.J. Perlis

Working...