Deutsch English Français Italiano |
<e9GdnduytNdrNaT6nZ2dnZfqnPudnZ2d@earthlink.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 17 Nov 2024 08:27:34 +0000 Subject: Re: The joy of pipes Newsgroups: comp.os.linux.misc 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> <vhc7pg$hhja$1@dont-email.me> From: "186282@ud0s4.net" <186283@ud0s4.net> Organization: wokiesux Date: Sun, 17 Nov 2024 03:27:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <vhc7pg$hhja$1@dont-email.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Message-ID: <e9GdnduytNdrNaT6nZ2dnZfqnPudnZ2d@earthlink.com> Lines: 42 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 99.101.150.97 X-Trace: sv3-JBWq3ryaG5Jt1wXvwgXgN3/2cTLI6LF89wptrrTjJ5xdB4rvX3q/Gfj9pbDIC7SFEoOIRu3Mcz+/How!+cniM4G8wokIkWJmrQ0SAnzKt72hcx5U9o3FH8ty/gc/15n5/M6RwykN09E7GIJ9NpF5rKJANDkl!1ti7U3vYmFV7xV0R09xx X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 3153 On 11/17/24 2:59 AM, Lawrence D'Oliveiro wrote: > 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. What ? Can't figure that out ? :-) Anyway, again as said, I agree that pipes ARE generally much better for these sorts of purposes. You seem to be making a war here where none actually exists.