Deutsch English Français Italiano |
<vhc7pg$hhja$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.os.linux.misc Subject: Re: The joy of pipes Date: Sun, 17 Nov 2024 07:59:44 -0000 (UTC) Organization: A noiseless patient Spider Lines: 31 Message-ID: <vhc7pg$hhja$1@dont-email.me> References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com> <e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net> <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf> <20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me> <hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad> <wwvr07bpizm.fsf@LkoBDZeT.terraraq.uk> <JJOdnfSeXoej5aT6nZ2dnZfqnPSdnZ2d@earthlink.com> <vhbv11$g397$1@dont-email.me> <LhadnVAfppIrGqT6nZ2dnZfqnPidnZ2d@earthlink.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 17 Nov 2024 08:59:45 +0100 (CET) Injection-Info: dont-email.me; posting-host="0e079645d656fd43a936f8dae4bc7735"; logging-data="575082"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/i/6yTow30Gf5EEDSzcSnO" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:JuYUWG6pRB21BppwOwqll8XV/Js= Bytes: 2544 On Sun, 17 Nov 2024 01:05:20 -0500, 186282@ud0s4.net wrote: > On 11/17/24 12:30 AM, Lawrence D'Oliveiro wrote: >> On Sat, 16 Nov 2024 23:59:41 -0500, 186282@ud0s4.net wrote: >> >>> On 11/16/24 5:31 AM, Richard Kettlewell wrote: >>>> >>>> “Temporary files the parent can access” is not a good model for a >>>> couple of reasons: >>>> >>>> * The semantics are different. Bytes read from a regular file are >>>> still there to be read again if you rewind the file; bytes read >>>> from a pipe are gone. Empty/full files behave differently to >>>> empty/full pipes. >>>> >>>> * Temporary regular files can already be accessed by other processes >>>> by name, by file descriptor inheritance, or file descriptor passing. >>> >>> Didn't say temp disk files were necessarily SUPERIOR, just that they >>> CAN do most of the stuff pipes are used for and in an easier >>> user/code-friendly fashion. >> >> Not really, no. >> >>> SIZE is almost unlimited too. >> >> That is another reason they don’t work. > > It's a block of info, just by one means over another. You’re forgetting the sequencing and synchronization aspects.