News for hackers. Stuff that matters.
Re:A full TCP/IP stack in under 200 LoC (and the power of DSLs) by daeken on Saturday September 26, 2009 @06:27PM (#846191)
Downright impressive. I'm implementing the TCP/IP stack for my OS at the moment, and it's sitting at about 400 lines before TCP (ethernet, IP, DHCP, and ARP). Definitely going to see how I can improve it after this.
Re:A full TCP/IP stack in under 200 LoC (and the power of DSLs) by mahmud on Saturday September 26, 2009 @11:08PM (#846466)
A friend of mine made millions selling his TCP/IP stacks since the mid 80s; he has written tens of them, all in various assembly languages.

Let me add that most of his work was for TCP/IP over serial ..

Re:A full TCP/IP stack in under 200 LoC (and the power of DSLs) by shailesh18feb81 on Saturday September 26, 2009 @07:33PM (#846267)
Hi Daeken,

That's impressive. Are you writing your OS for study purposes or you have something special in mind? I am interested in knowing as I am planning to do the same and might want to consult you.

Re:A full TCP/IP stack in under 200 LoC (and the power of DSLs) by daeken on Saturday September 26, 2009 @08:50PM (#846334)
There's a post about the background and motivation for the OS (Renraku) here: http://daeken.com/renraku-future-os

If you want to talk more about it or OS dev in general, feel free to ping me on IRC (Daeken on freenode) or on AIM (bloomfilter).

Re:A full TCP/IP stack in under 200 LoC (and the power of DSLs) by yr on Sunday September 27, 2009 @12:37AM (#846533)
Are you doing this for fun or do you have something else in mind ? I'm curious :)
Re:A full TCP/IP stack in under 200 LoC (and the power of DSLs) by daeken on Sunday September 27, 2009 @10:35AM (#846878)
Just something that's interested me for years. Might eventually become a part of some commercial embedded devices I've planned, but that's a long way out.