News for hackers. Stuff that matters.
Re:Rob Pike comments on Ryan Dahl's rant by adestefan on Wednesday October 05, 2011 @10:13AM (#3075666)
BSD sockets has somehow made it's way through the entire computing world and we're never going to get rid of it. Even the tiniest of embedded systems have decides that sockets are the one-true-way of network programming.
Re:Rob Pike comments on Ryan Dahl's rant by yxhuvud on Wednesday October 05, 2011 @01:27PM (#3076597)
I'm curious: What is the alternative?
Re:Rob Pike comments on Ryan Dahl's rant by quadhome on Thursday October 06, 2011 @11:06AM (#3080331)
Re:Rob Pike comments on Ryan Dahl's rant by uriel on Wednesday October 05, 2011 @11:02AM (#3075921)
And this is so sad.

By the way, Plan 9 doesn't have sockets, it has /net: http://man.cat-v.org/plan_9/3/ip with the dial API built on top: http://man.cat-v.org/plan_9/2/dial

This means that for example, Plan 9 applications that do networking are not tied to a specific network stack, you can mount multiple network stacks concurrently, you can have 'virtual' network stacks (for example running in user space and proxying to a remote host, or doing other neat tricks), and the apps don't need to care.

Also when Ipv6 was added to the Plan 9 stack, no application code had to be modified, because the API nicely abstracts network addresses.