Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!agate!stanford.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.unix.internals Subject: Re: Regular pipe vs. Named Pipe Message-ID: <3048.Jun1423.16.2891@kramden.acf.nyu.edu> Date: 14 Jun 91 23:16:28 GMT Article-I.D.: kramden.3048.Jun1423.16.2891 References: <25101:Jun1217:29:0291@kramden.acf.nyu.edu> <1991Jun13.143802.3600@chinet.chi.il.us> <19382@rpp386.cactus.org> Organization: IR Lines: 31 In article <19382@rpp386.cactus.org> jfh@rpp386.cactus.org (John F Haugh II) writes: > Dan's statement is pretty much a bunch of nonsense. Since named > pipes predate the current variety of message queues [ or at least > are no newer than ... ] there are at least as many systems which > support named pipes as support System V message queues - and > remember than BSD didn't have the same message quees as System V, > so screw the issue of BSD sockets. That's the most logical argument I've heard from you in a while, John. Parts of it are even grammatical. Anyway, that last bit makes absolutely no sense: a program supporting named pipes and message queues will miss at least 50,000 pure-BSD mainframes on the Internet alone. To handle them (and their millions of users) a program had better support sockets. As for System V named pipes versus System V message queues, with the advent of POSIX you can't even depend on the old named pipe semantics. Programs which actually want to work should use message queues instead. > Named pipes can be implemented with a virtual device driver, in > fact this is one of the first device drivers I ever wrote, and > exactly because I didn't have an IPC mechanism on the platform > I was using. Since named pipes can be simulated with a device > driver, and since all UNIX's have device drivers, Dan's statement > falls flat. That's ridiculous. The average UNIX sysadmin is not going to muck around with the kernel just so he can run a program that only supports named pipes. Your statements will match reality only if and when every UNIX system in the world has been given a Haugh-approved facelift. ---Dan