๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.arts.sf.written
Article #646

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

#646
From: Chris M. Thomasson
Date: Sun, 25 Oct 2026 21:31
40 lines
3290 bytes
On 10/25/2026 9:29 AM, boltar@caprica.universe wrote:
> On Sun, 25 Oct 2026 16:15:21 -0000 (UTC)
> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>> In article <YHpDS.27364$9b8f.4666@fx39.iad>,
>> Scott Lurndal <slp53@pacbell.net> wrote:
>>> cross@spitfire.i.gajendra.net (Dan Cross) writes:
>>>> In article <20261025084234.0000449c@yahoo.com>,
>>>> Michael S  <already5chosen@yahoo.com> wrote:
>>> <snip>
>>>>> How any of this trivia has anything to do with real-world
>>>>> implementations of C++11 threads?
>>>>
>>>> Your statement, "while in theory threads can be implemented by
>>>> C++ compilers+language support library, in practice I had never
>>>> seen it done" is probably strictly true: you, individually, have
>>>> never seen it done.
>>>>
>>>> But that does not imply that it has never been done.  In
>>>> fact, it has; many times over.  There are complications, but it
>>>> can be done.  That is what I was telling you, supported by
>>>> examples.
>>>
>>> Although it does, generally, rely on specific operating system
>>> interfaces (e.g. makecontext, setcontext, et alia).
>>
>> That's true.  But no one said that one can use strict ISO C++ to
>> implement the C++ standard library.
>>
>> Regardless, if you can set the stack pointer, you can build a
>> reasonable cooperative threading library purely in userspace,
>> without the OS caring.
> 
> Oh really? You seem to have forgotten about the program counter not to
> mentioning pushing and popping all the other cpu registers and flags at context
> switch.
> 

Make Fibers in 100% pure C++? But those are not threads. Multiple fibers 
can run on a single thread. Although, I think they can run on multiple 
threads as well. So, multiple threads, multiple fibers per thread.
Technical Details
Message-ID: <11blsg5$8pm$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> <20261025084234.0000449c@yahoo.com> <11bl0e6$68c$1@reader2.panix.com> <YHpDS.27364$9b8f.4666@fx39.iad> <11bl9up$bh1$1@reader2.panix.com> <11blaoq$2q6jk$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!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.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 14:31:49 -0700
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <11blsg5$8pm$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me>
 <20261025084234.0000449c@yahoo.com> <11bl0e6$68c$1@reader2.panix.com>
 <YHpDS.27364$9b8f.4666@fx39.iad> <11bl9up$bh1$1@reader2.panix.com>
 <11blaoq$2q6jk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Oct 2026 21:31:50 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="9014"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/IyVal4zXznXC0WtNB4mKUxbH6sjgFTN4="; posting-host="792908fec4aa45dbc14a04382b76f62a"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mV9HnVAo7FbzkNcVDkPpR4QE5xg= sha256:0mm05isvBMHiwSh9jMvj0cap6NzfkeEmWn6ZEOTmDRI=
	sha1:esKtK7jH7TP8hTW9+q9AJWxzfIs= sha256:es+d6SmFXQlPbJnGsb+1vhek7MpKoc6ely5bP8ZJzr4=
Content-Language: en-US
In-Reply-To: <11blaoq$2q6jk$1@dont-email.me>