๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #408

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

#408
From: boltar
Date: Mon, 26 Oct 2026 09:59
32 lines
2808 bytes
On Sun, 25 Oct 2026 22:56:19 +0200
Michael S <already5chosen@yahoo.com> gabbled:
>On Sun, 25 Oct 2026 08:41:48 -0000 (UTC)
>boltar@caprica.universe wrote:
>
>> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>> >In article <20261025011151.000038ef@yahoo.com>,  
>> >>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...  
>> >
>> >POSIX has all of that.  POSIX also has a process model.  Why not
>> >just make POSIX a part of the language, then?  (Answer that and
>> >you may start to understand why this is harder than it looks
>> >for C++ [and C].)  
>> 
>> No, it isn't. How similar do you think the posix and windows threading
>> model/api are? Yet somehow C++ provides a common wrapper for both.
>
>Actually, implementing C++11 (or C11) threads fully in user space on
>pre-Vista Win32 (i.e. before addition of support for conditional
>variables to OS API) would be quite challenging. I don't know if
>anybody bothered.
>I think that it is possible, but if you want it robust then it (cond.
>variables) will cost you significant overhead relatively to "native"
>synchronization primitives.

C++ threading didn't have 3 level locking until 2017 making it effectively 
useless IMO. Perhaps that was down to the lowest common denominator called 
Windows.
Technical Details
Message-ID: <11bn89f$2s5ol$1@dont-email.me>
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> <11bj08r$309uk$1@dont-email.me> <11bj7na$5bt$1@reader2.panix.com> <20261025011151.000038ef@yahoo.com> <11bjif3$7p0$1@reader2.panix.com> <11bkfcc$104cc$1@dont-email.me> <20261025225619.000074a5@yahoo.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: boltar@caprica.universe
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: Mon, 26 Oct 2026 09:59:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <11bn89f$2s5ol$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me>
	<11bj08r$309uk$1@dont-email.me>
	<11bj7na$5bt$1@reader2.panix.com>
	<20261025011151.000038ef@yahoo.com>
	<11bjif3$7p0$1@reader2.panix.com>
	<11bkfcc$104cc$1@dont-email.me>
 <20261025225619.000074a5@yahoo.com>
Content-Type: text/plain; charset=US-ASCII
Injection-Date: Mon, 26 Oct 2026 09:59:12 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3020565"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+iM1wNWBly/g9u6XSRxnqr"; posting-host="60c3073eb060f98052890567c07d1963"
Cancel-Lock: sha1:+/YunMBVavO9XqNEq+ce3VrZ5DE= sha256:DUl9uOcvSt7OK0L4rQR0lhQAcXRr9KurIikZBwr+56s=
	sha1:JO/GolMzLmQoRrSPIrKt/TBmeE4= sha256:Qb4wpssUVoCBSByyGDRP6fPiKfPx6I39IHJRMMAHkac=