๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #277

Re: โ€œThe end of software secrecy is almost upon

#277
From: Michael S
Date: Sat, 24 Oct 2026 22:11
84 lines
4479 bytes
On Sat, 24 Oct 2026 21:24:58 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) wrote:

> In article <11bj08r$309uk$1@dont-email.me>,
> Peter Flass  <Peter@Iron-Spring.com> wrote:
> >On 10/24/26 09:41, Dan Cross wrote:  
> >> In article <11bhppd$2lpkc$1@dont-email.me>,
> >> <boltar@caprica.universe> wrote:  
> >>> On Fri, 23 Oct 2026 20:45:27 -0000 (UTC)
> >>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:  
> >>>> In article <11bf4d1$skul$1@dont-email.me>,
> >>>> <boltar@caprica.universe> wrote:  
> >>>>> On Thu, 22 Oct 2026 16:22:30 -0000 (UTC)
> >>>>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:  
> >>>>>> In article <11bd7rg$2cvfs$1@dont-email.me>,
> >>>>>> <boltar@battlestar.co.uk> wrote:  
> >>>>  
> >>>>>>> You need an OS to do threading properly too. Theres a reason
> >>>>>>> green threads in java were a joke.  
> >>>>>>
> >>>>>> Weird that you think you need a operating system for threads,
> >>>>>> yet you want C to standardize processes which also ... need an
> >>>>>> operating system.  I mean, POSIX already does an ok job of
> >>>>>> standardizing the sorts of process-y things you would expect
> >>>>>> from, you know, an operating system.  
> >>>>>
> >>>>> I'm simply pointing out the inconsistency in having a threading
> >>>>> library but not a process library. Its perfectly possible to
> >>>>> simulate a multiprocess enviroment.  
> >>>>
> >>>> So write a simulator in your language of choice.  You don't need
> >>>> the language to standardize a process model for that.  
> >>>
> >>> Ditto threads. So why does C++ have a threading library?
> >>>
> >>> Take your time...  
> >> 
> >> What, pray tell, do you think that a _thread_ is?  And how is it
> >> different from a _process_?  For that matter, what do you think
> >> that a _process_ is?
> >> 
> >> Please, take all the time you need to answer.  
> >
> >Threads share resources such as address space, files, etc. A process 
> >runs in its own address space. (at least these days, before virtual 
> >memory, who knows?)  
> 
> Indeed, but I'm hoping Mr Boltar will chime in with his answers,
> so that we can understand why thinks that a language like C
> should introduce a *process* model, and how threads are similar.
> 
> 	- Dan C.
> 

First, he was talking about C++. Unlike me, he does not appear to care
about C.
Second, while in theory threads can be implemented by C++
compilers+language  support library, in practice I had never seen it
done. All I had seen is C++ threads implemented in library as thin
wrapper atop of the OS (or RT executive) implementation.
I can not see while the same can't be done for processes, with
API modeled on posix_spawn() or Windows CreateProcess().
It does not look like variety in this field is bigger than in case of
threads. More like it is smaller.

Now, would it be the first thing I would want like addition to C++
standard library? No it would not be.
The first thing would be IPv4 communication, sockets, poll etc...















Technical Details
Message-ID: <20261025011151.000038ef@yahoo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11bhppd$2lpkc$1@dont-email.me> <11bin3i$ma9$1@reader2.panix.com> <11bj08r$309uk$1@dont-email.me> <11bj7na$5bt$1@reader2.panix.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Michael S <already5chosen@yahoo.com>
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: โ€œThe end of software secrecy is almost upon
Date: Sun, 25 Oct 2026 01:11:51 +0300
Organization: A noiseless patient Spider
Lines: 84
Message-ID: <20261025011151.000038ef@yahoo.com>
References: <11amvre$15far$1@dont-email.me>
	<11bhppd$2lpkc$1@dont-email.me>
	<11bin3i$ma9$1@reader2.panix.com>
	<11bj08r$309uk$1@dont-email.me>
	<11bj7na$5bt$1@reader2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Oct 2026 22:11:57 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3273734"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19gR2EzVeplBqaVmVBn+lVdYoC2qu+9t5s="; posting-host="c06a0770b3f3144566321cac84fc01bf"
Cancel-Lock: sha1:jDEaH59MeuxjdnZq3+jEyPcV5Cw= sha256:cL3cNM6Xp7P5pa+0Z7CVF4cL//fVdb1WGUBdGEJmFyY=
	sha1:JImDxid+4whBtupvKM7DWq0gWPE= sha256:oys/qzHQpyeqJA04TXqvNWsikiYdOoQ81+XEfNuuEEU=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)