Deutsch   English   Français   Italiano  
<vhfujm$1bub8$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: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: The joy of pipes
Date: Mon, 18 Nov 2024 17:47:34 +0000
Organization: A little, after lunch
Lines: 37
Message-ID: <vhfujm$1bub8$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>
 <wwvwmh2z1y3.fsf@LkoBDZeT.terraraq.uk>
 <Uv-dnfY4yvgPJKf6nZ2dnZfqnPSdnZ2d@earthlink.com>
 <vhelgl$142m9$2@dont-email.me>
 <UricnZ0glICSeaf6nZ2dnZfqn_adnZ2d@earthlink.com>
 <vhf0sn$15fdk$1@dont-email.me> <vhf1qg$165g7$1@dont-email.me>
 <vhf70v$16jpu$1@dont-email.me> <vhfgem$191cl$1@dont-email.me>
 <vhfs33$1b3a5$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Nov 2024 18:47:42 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2e917996ec38cf17340bfff54bed5c0b";
	logging-data="1440104"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19g/Ng9mX5+rd5z+1TkcZ+t0FA02YRidC0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Zo6NBkFwkAY6FfqCnW60P+ZoXkE=
Content-Language: en-GB
In-Reply-To: <vhfs33$1b3a5$3@dont-email.me>
Bytes: 3092

On 18/11/2024 17:04, Pancho wrote:
> On 11/18/24 13:45, The Natural Philosopher wrote:
>> On 18/11/2024 11:05, Pancho wrote:
>>> I do remember looking at named pipes and deciding it was appropriate 
>>> for some task, but I have no memory of actually implementing it. 
>>> Which could mean it just worked and I never thought about it again, 
>>> or it could mean I didn't do it.
>>
>> Similar here.
>> I've tended to use ramdisk files ... for interprocess communication. 
>> Not idiot proof, but can be made fit for purpose.
>>
> 
> I guess simpler than shared memory sections.

A ram disk IS effectively a shared memory section.
But with well known ways to access it - and well known issues about race 
conditions if two+ processes try to write to it
In the end the issues are just the same, only the coding and sometimes 
access speed is different.

> 
> One of my golden rules of programming was - show me some RAM and I will 
> squander it on a cache. :-) Although, my crime was mainly in memory 
> databases.
> 
RAM space has never ever been as problem for me when using low level 
languages.

> 

-- 
Renewable energy: Expensive solutions that don't work to a problem that 
doesn't exist instituted by self legalising protection rackets that 
don't protect,  masquerading as public servants who don't serve the public.