Linux kernel design patterns - part 3
Linux kernel design patterns - part 3
Posted Jun 23, 2009 10:39 UTC (Tue) by marcH (subscriber, #57642)In reply to: Linux kernel design patterns - part 3 by johill
Parent article: Linux kernel design patterns - part 3
Well, since I am not sure either what you are trying to say, I guess we are even ;-)
So let me rephrase and summarize my point: TCP/IP is incredibly successful. Does this prove or invalidate the midlayer anti-pattern?
I think TCP/IP´s success proves that the midlayer is an anti-pattern, because:
- TCP is not a midlayer but an (optional) library;
- IP has been shrunk to the smallest possible network midlayer 3. Unlike for other subsystems, it is unfortunately practically impossible to shrink a network midlayer 3 down to zero. You need a mimimum set of conventions, and IP is good at reaching this minimum.
- the BSD socket API sucks but it is not really relevant to this question.
What I am NOT saying: IP is the best network layer 3. There are other aspects than this midlayer question.
Linux kernel design patterns - part 3
Posted Jun 23, 2009 10:59 UTC (Tue)
by johill (subscriber, #25196)
[Link] (1 responses)
Posted Jun 23, 2009 10:59 UTC (Tue) by johill (subscriber, #25196) [Link] (1 responses)
Linux kernel design patterns - part 3
Posted Jun 23, 2009 12:09 UTC (Tue)
by marcH (subscriber, #57642)
[Link]
Posted Jun 23, 2009 12:09 UTC (Tue) by marcH (subscriber, #57642) [Link]