Article View: comp.lang.fortran
Article #352Re: โThe end of software secrecy is almost upon
From: Scott Lurndal
Date: Mon, 26 Oct 2026 14:41
Date: Mon, 26 Oct 2026 14:41
44 lines
3107 bytes
3107 bytes
boltar@caprica.universe writes: >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. > Mind defining your terminology? "3 level locking", in particular? Assigning a canonical "lock number" to each lock, and failing a lock request for a lock with a lower number than that already held is a design pattern that has been around since 1980 (in Burroughs mainframes it was implemented in hardware). Easy enough to do prior to C++17 in software. And your assertion that a language that doesn't support it intrinsically is "useless" is ridiculous.
Technical Details
Message-ID:
<SEJDS.60663$GS_e.59175@fx21.iad>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx21.iad.POSTED!not-for-mailReferences:
<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> <11bn89f$2s5ol$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx21.iad.POSTED!not-for-mail X-newsreader: xrn 9.03-beta-14-64bit Sender: scott@dragon.sl.home (Scott Lurndal) From: scott@slp53.sl.home (Scott Lurndal) Reply-To: slp53@pacbell.net Subject: Re: โThe end of software secrecy is almost upon Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers 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> <11bn89f$2s5ol$1@dont-email.me> Lines: 44 Message-ID: <SEJDS.60663$GS_e.59175@fx21.iad> X-Complaints-To: abuse@usenetserver.com NNTP-Posting-Date: Mon, 26 Oct 2026 14:41:54 UTC Organization: UsenetServer - www.usenetserver.com Date: Mon, 26 Oct 2026 14:41:54 GMT X-Received-Bytes: 2914