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.
[ Parent
| on HN ]
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).