🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.lang.rust
514 messages
514 total messages Page 7 of 11 Started by Lynn McGuire Wed, 14 Oct 2026 04:18
Page 7 of 11 • 514 total messages
Re: Re: “The end of software secrecy is almost upon
#306
Author: Scott Dorsey
Date: Sun, 25 Oct 2026 12:10
29 lines
2287 bytes
In article <11bker0$2pa7q$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>On Sat, 24 Oct 2026 13:53:39 -0400 (EDT)
>kludge@panix.com (Scott Dorsey) gabbled:
>>In article <11bhpo6$2lpjl$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>>>Lynn McGuire <lynnmcguire5@gmail.com> gabbled:
>>>>On 10/23/2026 11:06 AM, Peter Flass wrote:
>>>>>> Bill Gates never earned a degree. He seemed to do ok.
>>>>> 
>>>>>  From what I understand, he wasn't a very good programmer, though.
>>>>
>>>>Bill Gates wrote the Microsoft Basic compiler and interpreter for the 
>>>>Altair 8080 in 2K of ram using assembly language.  Take that as you will.
>>>
>>>Gates when he put his mind to it could certainly program. Even Sinclair 
>>>required 4K for BASIC in the ZX80 for example. But some of his technical
>>>(and business) decisions leave a lot to be desired.
>>
>>But the ZX80 (and most later MBASICs) had floating point.
>
>The ZX80 ran Sinclair Basic, it had nothing to do with MS and it was integer
>only. The ZX81 had flowing point basic and had an 8K ROM which is still
>bloody impressive.

I did not realize that the ZX80 was integer only!  I thought it was more
or less like the ZX81 with everything stuffed into an asic.
--scott

-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."
Re: “The end of software secrecy is almost upon
#307
Author: Dan Cross
Date: Sun, 25 Oct 2026 13:32
46 lines
2872 bytes
In article <20261025084234.0000449c@yahoo.com>,
Michael S  <already5chosen@yahoo.com> wrote:
>On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) wrote:
>> In article <20261025011151.000038ef@yahoo.com>,
>> Michael S  <already5chosen@yahoo.com> wrote:
>> >[snip]
>> >Second, while in theory threads can be implemented by C++
>> >compilers+language  support library, in practice I had never seen it
>> >done.  
>> 
>> This is not saying much about anything aside from the countours
>> of your own experience, I'm afraid.

(This statement remains true.)

>[snip history showing a long line of "OS Threads" implemented
> as a library]
>
>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.

The thread models adopted by both C and C++ are based on all of
that prior art.

>I mentioned that in one of my earlier responses to boltar.
>However there exist situation in which system() is not a satisfactory
>replacement for spawn(), most often because overhead of launching shell
>sometimes matters.

Let me reiterate the questions above: what do you think that a
thread is?  What do you think that a process is?  And let me add
to that, what do you think that a "shell" is?

	- Dan C.
Re: “The end of software secrecy is almost upon
#308
Author: Dan Cross
Date: Sun, 25 Oct 2026 13:34
17 lines
1772 bytes
In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>> [snip]
>
>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. There is
>no reason the same can't be done for processes and your irrelevant waffle
>about past issues of threading on *nix don't change that.

You didn't answer my questions.

What do you think that a "thread" is?
What do you think that a "process" is?

	- Dan C.
Re: “The end of software secrecy is almost upon us"
#314
Author: Andreas Eder
Date: Sun, 25 Oct 2026 15:31
17 lines
2634 bytes
On Fr 23 Okt 2026 at 22:49, Lawrence D’Oliveiro wrote:

> On Fri, 23 Oct 2026 21:00:30 -0000 (UTC), Thomas Koenig wrote:
>
>> I have one Fortran program which has an excellent graphics API, it
>> writes Postscript. Works fine. Can't do any mouse clicks on it and
>> expect anything to happen, though :-)
>
> PostScript was a very influential graphics API, but it is only fit for
> the museum nowadays. It was designed for putting marks on paper, not
> for updating pixels on a computer screen.

There was also display postscript from SUN.

'Andreas
-- 
ceterum censeo redmondinem esse delendam
Re: The end of software secrecy is almost upon
#310
Author: Peter Flass
Date: Sun, 25 Oct 2026 15:37
15 lines
2240 bytes
On 10/25/26 02:30, Thomas Koenig wrote:
> Jerry Brown <jerry@jwbrown.co.uk.invalid> schrieb:
> 
>> I supported an IBM 9370 back in the 90s and whatever operating system
>> it ran (completely different to the 3090 mainframe with JCL, etc it
>> was supposed to replace) didn't allow zero length files.
> 
> VM/CMS?
> 

Or some version of DOD/360? They had a couple of versions, I think. They 
kept trying to make it easier to install and maintain, but it was still DOS.

Those times I want to run something now I use VM, because it is so much 
simpler.
Re: “The end of software secrecy is almost upon
#309
Author: Peter Flass
Date: Sun, 25 Oct 2026 15:41
20 lines
2390 bytes
On 10/25/26 06:34, Dan Cross wrote:
> In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>> [snip]
>>
>> 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. There is
>> no reason the same can't be done for processes and your irrelevant waffle
>> about past issues of threading on *nix don't change that.
> 
> You didn't answer my questions.
> 
> What do you think that a "thread" is?
> What do you think that a "process" is?
> 
> 	- Dan C.

I vote that alt.folklore.computers gets pruned from the list of 
recipients, as this discussion seems irrelevant here.
Re: The end of software secrecy is almost upon
#311
Author: Peter Flass
Date: Sun, 25 Oct 2026 15:42
19 lines
2354 bytes
On 10/25/26 08:37, Peter Flass wrote:
> On 10/25/26 02:30, Thomas Koenig wrote:
>> Jerry Brown <jerry@jwbrown.co.uk.invalid> schrieb:
>>
>>> I supported an IBM 9370 back in the 90s and whatever operating system
>>> it ran (completely different to the 3090 mainframe with JCL, etc it
>>> was supposed to replace) didn't allow zero length files.
>>
>> VM/CMS?
>>
> 
> Or some version of DOD/360? They had a couple of versions, I think. They 
> kept trying to make it easier to install and maintain, but it was still 
> DOS.
> 
> Those times I want to run something now I use VM, because it is so much 
> simpler.

DOS, sorry typo.
Re: “The end of software secrecy is almost upon
#312
Author: Scott Lurndal
Date: Sun, 25 Oct 2026 15:56
30 lines
2400 bytes
Michael S <already5chosen@yahoo.com> writes:
>On Sat, 24 Oct 2026 21:24:58 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) wrote:
>

>> 
>> 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...

For which we, thankfully, have POSIX on most non-windows operating
systems.
Re: “The end of software secrecy is almost upon
#313
Author: Scott Lurndal
Date: Sun, 25 Oct 2026 15:59
19 lines
1956 bytes
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).
Re: “The end of software secrecy is almost upon
#315
Author: boltar
Date: Sun, 25 Oct 2026 16:13
28 lines
2588 bytes
On Sun, 25 Oct 2026 13:34:58 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>>On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>> [snip]
>>
>>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. There is
>>no reason the same can't be done for processes and your irrelevant waffle
>>about past issues of threading on *nix don't change that.
>
>You didn't answer my questions.
>
>What do you think that a "thread" is?
>What do you think that a "process" is?

Stop playing games - you don't get to answer a question with a question. 
Given I've been programming on unix for over 30 years and have written dozens
of applications using multi process and multi threading and sometimes using both
I'm quite well aware of the differences. Perhaps you arn't which is why you
need me to tell you. Well go do your own research.

In the meantime I'll ask one last time - why do you think C++ can provide
a threading wrapper API but not a multi process one?

Take your time.
Re: “The end of software secrecy is almost upon
#316
Author: Dan Cross
Date: Sun, 25 Oct 2026 16:15
31 lines
2344 bytes
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.

	- Dan C.
Re: “The end of software secrecy is almost upon
#317
Author: Dan Cross
Date: Sun, 25 Oct 2026 16:17
41 lines
2744 bytes
In article <11bl9qm$10h8f$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>On Sun, 25 Oct 2026 13:34:58 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>>>On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>> [snip]
>>>
>>>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. There is
>>>no reason the same can't be done for processes and your irrelevant waffle
>>>about past issues of threading on *nix don't change that.
>>
>>You didn't answer my questions.
>>
>>What do you think that a "thread" is?
>>What do you think that a "process" is?
>
>Stop playing games - you don't get to answer a question with a question.

In other words, you don't know.

>Given I've been programming on unix for over 30 years and have written dozens
>of applications using multi process and multi threading and sometimes using both
>I'm quite well aware of the differences. Perhaps you arn't which is why you
>need me to tell you. Well go do your own research.

I'm quite sure you don't actually know.

>In the meantime I'll ask one last time - why do you think C++ can provide
>a threading wrapper API but not a multi process one?

You've got system(), right?  What, precisely, do you want this
"multi process" API to look like?

>Take your time.

If you want a serious answer, you've got to define your terms.

	- Dan C.
Re: “The end of software secrecy is almost upon
#318
Author: boltar
Date: Sun, 25 Oct 2026 16:29
35 lines
2821 bytes
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.
Re: “The end of software secrecy is almost upon
#319
Author: boltar
Date: Sun, 25 Oct 2026 16:32
39 lines
2937 bytes
On Sun, 25 Oct 2026 16:17:40 -0000 (UTC)
cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>In article <11bl9qm$10h8f$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>>On Sun, 25 Oct 2026 13:34:58 -0000 (UTC)
>>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>
>>>>On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>>>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>>> [snip]
>>>>
>>>>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. There is
>>>>no reason the same can't be done for processes and your irrelevant waffle
>>>>about past issues of threading on *nix don't change that.
>>>
>>>You didn't answer my questions.
>>>
>>>What do you think that a "thread" is?
>>>What do you think that a "process" is?
>>
>>Stop playing games - you don't get to answer a question with a question.
>
>In other words, you don't know.

Oh do piss off you bore, i'm not going to humour you while you try to unpaint
yourself from a corner. You clearly have no idea why C++ implements one API 
but not the other but you wanted to try and sound clever anyway. Whoops, didn't
turn out quite how you expected did it?

>>In the meantime I'll ask one last time - why do you think C++ can provide
>>a threading wrapper API but not a multi process one?
>
>You've got system(), right?  What, precisely, do you want this

system?? ROTFL!! :)

Oh dear, you really have no clue!
Re: Re: “The end of software secrecy is almost upon
#321
Author: Dan Cross
Date: Sun, 25 Oct 2026 17:06
17 lines
1779 bytes
In article <11bl7vr$3nprb$2@dont-email.me>,
Peter Flass  <Peter@Iron-Spring.com> wrote:
>On 10/25/26 06:34, Dan Cross wrote:
>> [snip]
>> What do you think that a "thread" is?
>> What do you think that a "process" is?
>
>I vote that alt.folklore.computers gets pruned from the list of
>recipients, as this discussion seems irrelevant here.

I'm happy defer to others here, but I disagree with the premise.
Concurrency and parallelism are useful abstractions with a rich
history encompassing both languages and operating systems.  In
that sense they seem eminently relevant to a.f.c.

	- Dan C.
Re: “The end of software secrecy is almost upon
#320
Author: Dan Cross
Date: Sun, 25 Oct 2026 17:14
45 lines
2572 bytes
In article <11blaui$2q6vd$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>On Sun, 25 Oct 2026 16:17:40 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>> [snip]
>>>>You didn't answer my questions.
>>>>
>>>>What do you think that a "thread" is?
>>>>What do you think that a "process" is?
>>>
>>>Stop playing games - you don't get to answer a question
>with a question.
>>
>>In other words, you don't know.
>
>Oh do piss off you bore, i'm not going to humour you while
>you try to unpaint
>yourself from a corner. You clearly have no idea why C++
>implements one API
>but not the other but you wanted to try and sound clever
>anyway. Whoops, didn't
>turn out quite how you expected did it?

Actually, it "turned out" juat about exactly as I expected it
would.

>>>In the meantime I'll ask one last time - why do you think
>C++ can provide
>>>a threading wrapper API but not a multi process one?
>>
>>You've got system(), right?  What, precisely, do you want this
>
>system?? ROTFL!! :)
>
>Oh dear, you really have no clue!

You're snotty little attitude aside, I note that you can't even
arriculate what, exactly, it is that you want.  "Argument by
insult" seems about par for the course here, but using that to
hide your ignorance both doesn't work and makes you look
incredbily insecure.

Anyway, go ahead and keep flailing.  Ta!

	- Dan C.
Re: “The end of software secrecy is almost upon
#322
Author: Dan Cross
Date: Sun, 25 Oct 2026 17:18
20 lines
1851 bytes
In article <11blaoq$2q6jk$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>On Sun, 25 Oct 2026 16:15:21 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>[snip]
>>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.

One last hint: where do you think those thjngs arw stored?  If
you could define what a thread is, maybe you'd have a clue
about how those are handled. :-)

	- Dan C.
Re: “The end of software secrecy is almost upon
#323
Author: Robert Woodward
Date: Sun, 25 Oct 2026 17:19
34 lines
2440 bytes
In article <11bl7vr$3nprb$2@dont-email.me>,
 Peter Flass <Peter@Iron-Spring.com> wrote:

> On 10/25/26 06:34, Dan Cross wrote:
> > In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe> 
> > wrote:
> >> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
> >> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
> >>> [snip]
> >>
> >> 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. There 
> >> is
> >> no reason the same can't be done for processes and your irrelevant waffle
> >> about past issues of threading on *nix don't change that.
> > 
> > You didn't answer my questions.
> > 
> > What do you think that a "thread" is?
> > What do you think that a "process" is?
> > 
> > 	- Dan C.
> 
> I vote that alt.folklore.computers gets pruned from the list of 
> recipients, as this discussion seems irrelevant here.

For that matter, this entire thread has ceased to have anything to do 
with rec.arts.sf.written.

-- 
"We have advanced to new and surprising levels of bafflement."
Imperial Auditor Miles Vorkosigan describes progress in _Komarr_.
—-----------------------------------------------------
Robert Woodward robertaw@drizzle.com
Re: “The end of software secrecy is almost upon
#325
Author: Cryptoengineer
Date: Sun, 25 Oct 2026 17:58
34 lines
3127 bytes
On 10/25/2026 8:10 AM, Scott Dorsey wrote:
> In article <11bker0$2pa7q$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>> On Sat, 24 Oct 2026 13:53:39 -0400 (EDT)
>> kludge@panix.com (Scott Dorsey) gabbled:
>>> In article <11bhpo6$2lpjl$1@dont-email.me>,  <boltar@caprica.universe> wrote:
>>>> Lynn McGuire <lynnmcguire5@gmail.com> gabbled:
>>>>> On 10/23/2026 11:06 AM, Peter Flass wrote:
>>>>>>> Bill Gates never earned a degree. He seemed to do ok.
>>>>>>
>>>>>>   From what I understand, he wasn't a very good programmer, though.
>>>>>
>>>>> Bill Gates wrote the Microsoft Basic compiler and interpreter for the
>>>>> Altair 8080 in 2K of ram using assembly language.  Take that as you will.
>>>>
>>>> Gates when he put his mind to it could certainly program. Even Sinclair
>>>> required 4K for BASIC in the ZX80 for example. But some of his technical
>>>> (and business) decisions leave a lot to be desired.
>>>
>>> But the ZX80 (and most later MBASICs) had floating point.
>>
>> The ZX80 ran Sinclair Basic, it had nothing to do with MS and it was integer
>> only. The ZX81 had flowing point basic and had an 8K ROM which is still
>> bloody impressive.
> 
> I did not realize that the ZX80 was integer only!  I thought it was more
> or less like the ZX81 with everything stuffed into an asic.
> --scott
> 

The Apple ][ was also integer only. The Apple ][+ had floating point.
The top 16k of memory was ROM supporting the OS and BASIC. Relatively
roomy compared to the ZX80/81.

pt
Re: âThe end of software secrecy is almost upon
#324
Author: Cryptoengineer
Date: Sun, 25 Oct 2026 18:03
35 lines
2943 bytes
On 10/25/2026 1:19 PM, Robert Woodward wrote:
> In article <11bl7vr$3nprb$2@dont-email.me>,
>   Peter Flass <Peter@Iron-Spring.com> wrote:
> 
>> On 10/25/26 06:34, Dan Cross wrote:
>>> In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe>
>>> wrote:
>>>> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>>> [snip]
>>>>
>>>> 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. There
>>>> is
>>>> no reason the same can't be done for processes and your irrelevant waffle
>>>> about past issues of threading on *nix don't change that.
>>>
>>> You didn't answer my questions.
>>>
>>> What do you think that a "thread" is?
>>> What do you think that a "process" is?
>>>
>>> 	- Dan C.
>>
>> I vote that alt.folklore.computers gets pruned from the list of
>> recipients, as this discussion seems irrelevant here.
> 
> For that matter, this entire thread has ceased to have anything to do
> with rec.arts.sf.written.
> 

Based on 40+ years of usenet experience, the only thing which will stop
the cross posting is the death of this thread.

pt
Re: âThe end of software secrecy is almost upon
#326
Author: Blaine
Date: Sun, 25 Oct 2026 18:21
50 lines
3531 bytes
Cryptoengineer wrote:
> On 10/25/2026 1:19 PM, Robert Woodward wrote:
>> In article <11bl7vr$3nprb$2@dont-email.me>,
>>   Peter Flass <Peter@Iron-Spring.com> wrote:
>>
>>> On 10/25/26 06:34, Dan Cross wrote:
>>>> In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe>
>>>> wrote:
>>>>> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>>>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>>>> [snip]
>>>>>
>>>>> 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. 
>>>>> There
>>>>> is
>>>>> no reason the same can't be done for processes and your irrelevant 
>>>>> waffle
>>>>> about past issues of threading on *nix don't change that.
>>>>
>>>> You didn't answer my questions.
>>>>
>>>> What do you think that a "thread" is?
>>>> What do you think that a "process" is?
>>>>
>>>>     - Dan C.
>>>
>>> I vote that alt.folklore.computers gets pruned from the list of
>>> recipients, as this discussion seems irrelevant here.
>>
>> For that matter, this entire thread has ceased to have anything to do
>> with rec.arts.sf.written.
>>
> 
> Based on 40+ years of usenet experience, the only thing which will stop
> the cross posting is the death of this thread.
> 
> pt

What struck me about Game of Thrones was that the monarchy existed in 
Game of Thrones for the sole reason of some guys conspiring in Chapter 
One about taking it for themselves. What a bunch of polymaths.

-- 
Can you strip away so we may start again?
"There’s a switch and they don't
seem authentic or themselves. It
feels like I’m an unnecessary
body and it’s a waste of time to
even be there." -- Grim, playful Blaine.
Re: âThe end of software secrecy is almost upon
#327
Author: David Brown
Date: Sun, 25 Oct 2026 18:26
46 lines
3687 bytes
On 25/10/2026 18:19, Robert Woodward wrote:
> In article <11bl7vr$3nprb$2@dont-email.me>,
>   Peter Flass <Peter@Iron-Spring.com> wrote:
> 
>> On 10/25/26 06:34, Dan Cross wrote:
>>> In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe>
>>> wrote:
>>>> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>>> [snip]
>>>>
>>>> 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. There
>>>> is
>>>> no reason the same can't be done for processes and your irrelevant waffle
>>>> about past issues of threading on *nix don't change that.
>>>
>>> You didn't answer my questions.
>>>
>>> What do you think that a "thread" is?
>>> What do you think that a "process" is?
>>>
>>> 	- Dan C.
>>
>> I vote that alt.folklore.computers gets pruned from the list of
>> recipients, as this discussion seems irrelevant here.
> 
> For that matter, this entire thread has ceased to have anything to do
> with rec.arts.sf.written.
> 

Was it ever relevant to that group?  At least one person in this thread 
is renowned for his irritating habit of adding every newsgroup he can 
think of to lists.  "This post is in English - I'll add 
alt.languages.english to the list.  I see there was a number mentioned - 
I've added sci.maths for their thoughts.  I've just thought about 
thoughts, so alt.philosophy is needed too".  Anyone who feels that might 
refer to them could do their part towards making the world a nicer 
place, and either quit that habit, or leave Usenet.

As I don't follow any of these groups other than C++, I can't say if it 
is topical or not in the other groups.  I certainly don't mind if 
irrelevant groups are removed, but there is a real risk that some twit 
will re-add them.  Then you still have the pointless (to you) threads, 
but now they are also fragmented.
Re: âThe end of software secrecy is almost upon
#328
Author: Blaine
Date: Sun, 25 Oct 2026 18:29
52 lines
3801 bytes
David Brown wrote:
> On 25/10/2026 18:19, Robert Woodward wrote:
>> In article <11bl7vr$3nprb$2@dont-email.me>,
>>   Peter Flass <Peter@Iron-Spring.com> wrote:
>>
>>> On 10/25/26 06:34, Dan Cross wrote:
>>>> In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe>
>>>> wrote:
>>>>> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>>>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>>>> [snip]
>>>>>
>>>>> 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. 
>>>>> There
>>>>> is
>>>>> no reason the same can't be done for processes and your irrelevant 
>>>>> waffle
>>>>> about past issues of threading on *nix don't change that.
>>>>
>>>> You didn't answer my questions.
>>>>
>>>> What do you think that a "thread" is?
>>>> What do you think that a "process" is?
>>>>
>>>>     - Dan C.
>>>
>>> I vote that alt.folklore.computers gets pruned from the list of
>>> recipients, as this discussion seems irrelevant here.
>>
>> For that matter, this entire thread has ceased to have anything to do
>> with rec.arts.sf.written.
>>
> 
> Was it ever relevant to that group?  At least one person in this thread 
> is renowned for his irritating habit of adding every newsgroup he can 
> think of to lists.  "This post is in English - I'll add 
> alt.languages.english to the list.  I see there was a number mentioned - 
> I've added sci.maths for their thoughts.  I've just thought about 
> thoughts, so alt.philosophy is needed too".  

Sorry about that. I only did it because Eternal September, if I take 
away one of the Newsgroups: listings, it won't let me post. In such a 
case it only allows 3 newsgroups. That won't do for this thread.

-- 
Can you strip away so we may start again?
"There’s a switch and they don't
seem authentic or themselves. It
feels like I’m an unnecessary
body and it’s a waste of time to
even be there." -- Grim, playful Blaine.
Re: âThe end of software secrecy is almost upon
#329
Author: David Brown
Date: Sun, 25 Oct 2026 18:59
56 lines
4058 bytes
On 25/10/2026 19:29, Blaine wrote:
> David Brown wrote:
>> On 25/10/2026 18:19, Robert Woodward wrote:
>>> In article <11bl7vr$3nprb$2@dont-email.me>,
>>>   Peter Flass <Peter@Iron-Spring.com> wrote:
>>>
>>>> On 10/25/26 06:34, Dan Cross wrote:
>>>>> In article <11bkfcc$104cc$1@dont-email.me>,  <boltar@caprica.universe>
>>>>> wrote:
>>>>>> On Sun, 25 Oct 2026 00:28:19 -0000 (UTC)
>>>>>> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>>>>> [snip]
>>>>>>
>>>>>> 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. 
>>>>>> There
>>>>>> is
>>>>>> no reason the same can't be done for processes and your irrelevant 
>>>>>> waffle
>>>>>> about past issues of threading on *nix don't change that.
>>>>>
>>>>> You didn't answer my questions.
>>>>>
>>>>> What do you think that a "thread" is?
>>>>> What do you think that a "process" is?
>>>>>
>>>>>     - Dan C.
>>>>
>>>> I vote that alt.folklore.computers gets pruned from the list of
>>>> recipients, as this discussion seems irrelevant here.
>>>
>>> For that matter, this entire thread has ceased to have anything to do
>>> with rec.arts.sf.written.
>>>
>>
>> Was it ever relevant to that group?  At least one person in this 
>> thread is renowned for his irritating habit of adding every newsgroup 
>> he can think of to lists.  "This post is in English - I'll add 
>> alt.languages.english to the list.  I see there was a number mentioned 
>> - I've added sci.maths for their thoughts.  I've just thought about 
>> thoughts, so alt.philosophy is needed too". 
> 
> Sorry about that. I only did it because Eternal September, if I take 
> away one of the Newsgroups: listings, it won't let me post. In such a 
> case it only allows 3 newsgroups. That won't do for this thread.
> 

I was not thinking of you.  (And in the case of this thread, the 
original poster cross-posted wildly to start with.)

I've nothing against the occasional cross-post thread, and some threads 
can be relevant to multiple groups.  A comparison to C++ and Fortran 
could easily be relevant to c.l.fortran and c.l.c++.  It's mass 
cross-posting to irrelevant groups that bugs me (and many others).
Re: “The end of software secrecy is almost upon us"
#330
Author: Lawrence D’Oliveiro
Date: Sun, 25 Oct 2026 20:07
19 lines
2797 bytes
On Sun, 25 Oct 2026 16:31:56 +0100, Andreas Eder wrote:

> On Fr 23 Okt 2026 at 22:49, Lawrence D’Oliveiro wrote:
>
>> PostScript was a very influential graphics API, but it is only fit
>> for the museum nowadays. It was designed for putting marks on
>> paper, not for updating pixels on a computer screen.
>
> There was also display postscript from SUN.

Display PostScript was from Adobe.

You could be thinking of NeWS, which was from Sun. It slightly
predated X11, and they pretty much abandoned it after adopting X11
wholesale, like the entire rest of the Unix industry.

But neither Display PostScript nor NeWS made any changes to the
PostScript graphics model; it was still designed around making marks
on paper, not for updating pixels on a computer screen.
Re: “The end of software secrecy is almost upon
#331
Author: Michael S
Date: Sun, 25 Oct 2026 20:24
78 lines
4550 bytes
On Sun, 25 Oct 2026 08:37:22 -0000 (UTC)
boltar@caprica.universe wrote:

> On Sat, 24 Oct 2026 21:24:58 -0000 (UTC)
> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
> >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.  
> 
> Who mentioned C? I was talking about C++ which has a threading API
> already. Do try and keep up.
> 

In that regard, C and C++ are very similar.
Similar primitives modeled mostly on Posix threads were added to both
languages at approximately the same time.
https://en.cppreference.com/c/thread

The difference is not in this specific case, but in generally more
conservative attitude of C committee relatively to its C++ counterpart
w.r.t. extending Standard library.





Re: âThe end of software secrecy is almost upon
#332
Author: Titus G
Date: Sun, 25 Oct 2026 20:43
19 lines
2408 bytes
On 26/10/2026 06:19, Robert Woodward wrote:
> In article <11bl7vr$3nprb$2@dont-email.me>,
>  Peter Flass <Peter@Iron-Spring.com> wrote:

snip

>> I vote that alt.folklore.computers gets pruned from the list of 
>> recipients, as this discussion seems irrelevant here.

> For that matter, this entire thread has ceased to have anything to do 
> with rec.arts.sf.written.

Yes. You are correct, but there are several from r.a.sf.written making a
contribution and although it is mainly above my pay grade, I am still
reading. In Thunderbird, it is extremely easy to mark a thread as
ignored after which you will not be annoyed by further posts on that
topic. Easier than complaining.

Re: “The end of software secrecy is almost upon
#333
Author: Michael S
Date: Sun, 25 Oct 2026 20:56
38 lines
3022 bytes
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.

> There is no reason the same can't be done for processes and your
> irrelevant waffle about past issues of threading on *nix don't change
> that.
> 

Dick-measuring competitions are integral part of Usenet tradition.





Re: “The end of software secrecy is almost upon
#334
Author: Chris M. Thomasson
Date: Sun, 25 Oct 2026 21:19
22 lines
2658 bytes
On 10/25/2026 1:34 AM, boltar@caprica.universe wrote:
> On Sat, 24 Oct 2026 13:57:02 -0400 (EDT)
> kludge@panix.com (Scott Dorsey) gabbled:
>> In article <11bif5s$2pam0$1@dont-email.me>,
>> Peter Flass  <Peter@Iron-Spring.com> wrote:
>>> You can have co-operative threads. IBM CICS used to run lots of threads
>>> (tasks) concurrently, and ran them well.
>>
>> When I learned C, there was no threading and there were only different
>> processes, so you had to do a fork and then synchronize with the other
>> process.  This wasn't a dealbreaker and we did plenty of stuff that way,
>> but having threads available was very nice and made for many operations
>> becoming more convenient to write.
> 
> Unfortunately most win32 programmers don't really understand multiprocess
> programming because the w32 API is so borked so use threads even when
> seperate process would be more appropriate.
> 
> 

Windows has what we need to run multi process. Even for a Mutex... 
Remember WAIT_ABANDONED?
Re: “The end of software secrecy is almost upon
#335
Author: Chris M. Thomasson
Date: Sun, 25 Oct 2026 21:21
21 lines
2610 bytes
On 10/25/2026 1:34 AM, boltar@caprica.universe wrote:
> On Sat, 24 Oct 2026 13:57:02 -0400 (EDT)
> kludge@panix.com (Scott Dorsey) gabbled:
>> In article <11bif5s$2pam0$1@dont-email.me>,
>> Peter Flass  <Peter@Iron-Spring.com> wrote:
>>> You can have co-operative threads. IBM CICS used to run lots of threads
>>> (tasks) concurrently, and ran them well.
>>
>> When I learned C, there was no threading and there were only different
>> processes, so you had to do a fork and then synchronize with the other
>> process.  This wasn't a dealbreaker and we did plenty of stuff that way,
>> but having threads available was very nice and made for many operations
>> becoming more convenient to write.
> 
> Unfortunately most win32 programmers don't really understand multiprocess
> programming because the w32 API is so borked so use threads even when
> seperate process would be more appropriate.
> 
> 

What about separate multi threaded processes?
Re: “The end of software secrecy is almost upon
#336
Author: Chris M. Thomasson
Date: Sun, 25 Oct 2026 21:22
44 lines
3606 bytes
On 10/25/2026 1:31 AM, boltar@caprica.universe wrote:
> On Sat, 24 Oct 2026 16:41:22 -0000 (UTC)
> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>> 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?
> 
> The differences are utterly irrelevant when it comes to prividing a common
> API to the functionality but thank you for demonstrating you had no answer
> to my question.
> 

Ummm... It is relevant. Every process has a single thread of execution, 
but not all processes have multiple threads.
Re: “The end of software secrecy is almost upon
#337
Author: Peter Moylan
Date: Sun, 25 Oct 2026 21:29
10 lines
2057 bytes
On 24/10/26 06:49, Lynn McGuire wrote:
>
> Bill Gates wrote the Microsoft Basic compiler and interpreter for the
> Altair 8080 in 2K of ram using assembly language.  Take that as you will.

Then someone translated it into an African language and called it Mbasic.

-- 
Peter Moylan       peter@pmoylan.org    http://www.pmoylan.org
Newcastle, NSW
Re: “The end of software secrecy is almost upon
#338
Author: Chris M. Thomasson
Date: Sun, 25 Oct 2026 21:31
40 lines
3439 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.
Re: “The end of software secrecy is almost upon us"
#339
Author: Chris M. Thomasson
Date: Sun, 25 Oct 2026 21:36
22 lines
3072 bytes
On 10/25/2026 1:07 PM, Lawrence D’Oliveiro wrote:
> On Sun, 25 Oct 2026 16:31:56 +0100, Andreas Eder wrote:
> 
>> On Fr 23 Okt 2026 at 22:49, Lawrence D’Oliveiro wrote:
>>
>>> PostScript was a very influential graphics API, but it is only fit
>>> for the museum nowadays. It was designed for putting marks on
>>> paper, not for updating pixels on a computer screen.
>>
>> There was also display postscript from SUN.
> 
> Display PostScript was from Adobe.
> 
> You could be thinking of NeWS, which was from Sun. It slightly
> predated X11, and they pretty much abandoned it after adopting X11
> wholesale, like the entire rest of the Unix industry.
> 
> But neither Display PostScript nor NeWS made any changes to the
> PostScript graphics model; it was still designed around making marks
> on paper, not for updating pixels on a computer screen.

Updating pixels on a computer screen? Use a frag shader.
Re: Re: “The end of software secrecy is almost upon
#340
Author: Scott Dorsey
Date: Sun, 25 Oct 2026 23:06
21 lines
1761 bytes
Cryptoengineer  <petertrei@gmail.com> wrote:
>
>The Apple ][ was also integer only. The Apple ][+ had floating point.
>The top 16k of memory was ROM supporting the OS and BASIC. Relatively
>roomy compared to the ZX80/81.

Yes, the INTBASIC was Apple code, while APPLESOFT BASIC was written by
Microsoft on contract to Apple.  APPLESOFT worked pretty well aside from
programmable functions.  It could do realtime FFTs at 0.5 samp/sec which
was good enough for some interesting things.

You could upgrade the roms in your original Apple ][ to the ][+ roms
for what seemed like a fortune to me at the time but which was probably
quite reasonable.  I think you lost Sweet-16 in the process though.
--scott
>
>pt


-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."
Re: “The end of software secrecy is almost upon
#341
Author: Chris M. Thomasson
Date: Sun, 25 Oct 2026 23:16
28 lines
2921 bytes
On 10/22/2026 10:29 PM, Chris M. Thomasson wrote:
> On 10/22/2026 8:19 PM, Lawrence D’Oliveiro wrote:
>> On Thu, 22 Oct 2026 07:26:21 -0700, Peter Flass wrote:
>>
>>> That's why I try to use PL/I AUTOMATIC (stack) storage and not
>>> allocate a lot of stuff. You need to have a disciplined approach if
>>> you allocate random stuff here and there.
>>
>> What if you’re building an object that needs to be returned to the
>> caller?
> 
> Have the caller have the object before hand and call a function to 
> initialize it?

Even analogous, to say, an API that says read n bytes and store into 
buffer. Well, the caller has lifetime of said buffer. The caller makes 
the buffer, calls into the function. The buffer bounds are known. Say a 
metadata stub:

struct foobar_caller_alloc_helper
{
     size_t m_size;
     size_t m_align;
};



Re: “The end of software secrecy is almost upon
#342
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 00:07
23 lines
2560 bytes
On 10/25/2026 4:06 PM, Scott Dorsey wrote:
> Cryptoengineer  <petertrei@gmail.com> wrote:
>>
>> The Apple ][ was also integer only. The Apple ][+ had floating point.
>> The top 16k of memory was ROM supporting the OS and BASIC. Relatively
>> roomy compared to the ZX80/81.
> 
> Yes, the INTBASIC was Apple code, while APPLESOFT BASIC was written by
> Microsoft on contract to Apple.  APPLESOFT worked pretty well aside from
> programmable functions.  It could do realtime FFTs at 0.5 samp/sec which
> was good enough for some interesting things.
> 
> You could upgrade the roms in your original Apple ][ to the ][+ roms
> for what seemed like a fortune to me at the time but which was probably
> quite reasonable.  I think you lost Sweet-16 in the process though.
> --scott
>>
>> pt
> 
> 

IIGS with some extra memory, and a HD, beat a Mac back in the say, iirc, 
Mac SE. The Mac iicx, or iise, well they were pretty fun.
Re: Re: “The end of software secrecy is almost upon
#343
Author: Rich Alderson
Date: Mon, 26 Oct 2026 00:10
26 lines
2335 bytes
Lynn McGuire <lynnmcguire5@gmail.com> writes:

> Bill Gates wrote the Microsoft Basic compiler and interpreter for the 
> Altair 8080 in 2K of ram using assembly language.  Take that as you will.

The original Altair BASIC is only an interpreter; there is no compiler
available.

The interpreter requires 4K minimum to run.

The interpreter is assembled from source on a PDP-10 with at least 128K (and
preferably more) of 36 bit words,because it's implemented as local system call
macros in PDP-10 assembler.

Bill wrote the basic framework, Monte Davidoff wrote the transcendental math
functions, and Paul Allen wrote the PDP-10 code to do the assembly.

NB:  I worked for Paul building Living Computers: Museum+Labs and working there
as an engineer from 2003-2018, then till 2020 when we closed due to the pandemic.
I've seen the original code, with named attributions.

-- 
Rich Alderson					  news@alderson.users.panix.com
      Audendum est, et veritas investiganda; quam etiamsi non assequamur,
	  omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
									--Galen
Re: “The end of software secrecy is almost upon
#344
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 00:22
582 lines
11054 bytes
On 10/25/2026 1:56 PM, Michael S wrote:
> 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.
> 
>> There is no reason the same can't be done for processes and your
>> irrelevant waffle about past issues of threading on *nix don't change
>> that.
>>
> 
> Dick-measuring competitions are integral part of Usenet tradition.
> 
> 
> 
> 
> 
> 

I tried to do a little something, no atomics, but, since I am able to 
access comp.lang.c++ agai, lets see if I can find it:

https://groups.google.com/g/comp.lang.c/c/WPH7ed5uS4Y/m/ohiP-hUWkcAJ

Content:
___________________________________



________________________________________________________________
#if ! defined (CT_C11_THREADS_H_EMULATION_H)
# define CT_C11_THREADS_H_EMULATION_H 1
# if defined (__cplusplus)
extern "C"
{
# endif



#if defined (CT_C11_THREADS_H_PRINTF_LOG)
# include <stdio.h>
# define CT_C11_THREADS_H_PRINTF(mp_exp) printf mp_exp
#else
# define CT_C11_THREADS_H_PRINTF(mp_exp) ((void)(0))
#endif




#include <stdlib.h>
#include <pthread.h>
#include <assert.h>


typedef int (*ct_thrd_start_t) (void*);

struct ct_thrd_user
{
pthread_t ptid;
};


struct ct_thrd_sys
{
ct_thrd_start_t fp_user;
void* user_ctx;
int user_ret;
};


enum ct_thrd_sys_status
{
ct_thrd_success = 0,
ct_thrd_nomem = 1,
ct_thrd_timedout = 2,
ct_thrd_busy = 3,
ct_thrd_error = 4
};





/* low-level system threading API's
__________________________________________________________________*/
static struct ct_thrd_sys*
ct_thrd_sys_create(
ct_thrd_start_t fp_user,
void* user_ctx
);

static void
ct_thrd_sys_destroy(
struct ct_thrd_sys* const self
);

static void*
ct_thrd_sys_entry(
void* self_raw
);



struct ct_thrd_sys*
ct_thrd_sys_create(
ct_thrd_start_t fp_user,
void* user_ctx
){
struct ct_thrd_sys* const self = malloc(sizeof(*self));

if (self)
{
self->fp_user = fp_user;
self->user_ctx = user_ctx;
self->user_ret = 0;
}

CT_C11_THREADS_H_PRINTF(("ct_thrd_sys_create = %p\r\n", (void*)self));

return self;
}

void
ct_thrd_sys_destroy(
struct ct_thrd_sys* const self
){
free(self);

CT_C11_THREADS_H_PRINTF(
("ct_thrd_sys_destroy(self = %p)\r\n", (void*)self)
);
}


void*
ct_thrd_sys_entry(
void* self_raw
){
struct ct_thrd_sys* const self = self_raw;

CT_C11_THREADS_H_PRINTF(
("ct_thrd_sys_entry(self_raw = %p):Enter\r\n", self_raw)
);

self->user_ret = self->fp_user(self->user_ctx);

CT_C11_THREADS_H_PRINTF(
("ct_thrd_sys_entry(self_raw = %p):Exit = %p\r\n", self_raw,
(void*)self)
);

return self;
}






/* C11 emulation API layer
__________________________________________________________________*/


/* Threading API
______________________________________________________________*/
typedef struct ct_thrd_user ct_thrd_t;


static int
ct_thrd_create(
ct_thrd_t* uself,
ct_thrd_start_t fp_user,
void* user_ctx
);

static int
ct_thrd_join(
ct_thrd_t self,
int* user_retv
);


int
ct_thrd_create(
ct_thrd_t* uself,
ct_thrd_start_t fp_user,
void* user_ctx
){
struct ct_thrd_sys* const self =
ct_thrd_sys_create(fp_user, user_ctx);

if (self)
{
int status = pthread_create(&uself->ptid, NULL, ct_thrd_sys_entry,
self);

if (! status)
{
return ct_thrd_success;
}

ct_thrd_sys_destroy(self);
}

return ct_thrd_nomem;
}


int
ct_thrd_join(
ct_thrd_t self,
int* user_retv
){
void* ptjret = NULL;

pthread_join(self.ptid, &ptjret);

if (ptjret)
{
struct ct_thrd_sys* const self = ptjret;

if (user_retv)
{
*user_retv = self->user_ret;
}

ct_thrd_sys_destroy(self);

return ct_thrd_success;
}

return ct_thrd_error;
}




/* Thread Specific Storage API
______________________________________________________________*/
typedef pthread_key_t ct_tss_t;
typedef void(*ct_tss_dtor_t) (void*);

static int
ct_tss_create(
ct_tss_t* self,
ct_tss_dtor_t fp_user_dtor
);

static void
ct_tss_delete(
ct_tss_t self
);

static int
ct_tss_set(
ct_tss_t self,
void* user_ctx
);

#define ct_tss_get(mp_self) pthread_getspecific((mp_self))



int
ct_tss_create(
ct_tss_t* self,
ct_tss_dtor_t fp_user_dtor
){
int status = pthread_key_create(self, fp_user_dtor);

if (!status)
{
return ct_thrd_success;
}

return ct_thrd_error;
}


void
ct_tss_delete(
ct_tss_t self
){
int status = pthread_key_delete(self);

if (! status)
{
return;
}

assert(! status);
}


int
ct_tss_set(
ct_tss_t self,
void* user_ctx
){
int status = pthread_setspecific(self, user_ctx);

if (!status)
{
return ct_thrd_success;
}

return ct_thrd_error;
}




/* Mutex API
______________________________________________________________*/
typedef pthread_mutex_t ct_mtx_t;

enum {
ct_mtx_plain = 1,
ct_mtx_recursive = 2,
ct_mtx_timed = 4
};


int
ct_mtx_init(
ct_mtx_t* self,
int type
){
if (type == ct_mtx_plain)
{
int status = pthread_mutex_init(self, NULL);

if (! status)
{
return ct_thrd_success;
}
}

return ct_thrd_error;
}


void
ct_mtx_destroy(
ct_mtx_t* self
){
int status = pthread_mutex_destroy(self);

if (! status)
{
return;
}

assert(! status);
}


int
ct_mtx_lock(
ct_mtx_t* self
){
int status = pthread_mutex_lock(self);

if (! status)
{
return ct_thrd_success;
}

assert(! status);

return ct_thrd_error;
}


int
ct_mtx_unlock(
ct_mtx_t* self
){
int status = pthread_mutex_unlock(self);

if (!status)
{
return ct_thrd_success;
}

assert(! status);

return ct_thrd_error;
}




/* Mutex API
______________________________________________________________*/
typedef pthread_cond_t ct_cnd_t;

int
ct_cnd_init(
ct_cnd_t* self
){
int status = pthread_cond_init(self, NULL);

if (! status)
{
return ct_thrd_success;
}

return ct_thrd_error;
}


void
ct_cnd_destroy(
ct_cnd_t* self
){
int status = pthread_cond_destroy(self);

if (! status)
{
return;
}

assert(! status);
}


int
ct_cnd_signal(
ct_cnd_t* self
){
int status = pthread_cond_signal(self);

if (! status)
{
return ct_thrd_success;
}

assert(! status);

return ct_thrd_error;
}


int
ct_cnd_broadcast(
ct_cnd_t* self
){
int status = pthread_cond_broadcast(self);

if (! status)
{
return ct_thrd_success;
}

assert(! status);

return ct_thrd_error;
}


int
ct_cnd_wait(
ct_cnd_t* self,
ct_mtx_t* mtx
){
int status = pthread_cond_wait(self, mtx);

if (! status)
{
return ct_thrd_success;
}

assert(! status);

return ct_thrd_error;
}






/* Mock up the final C11 API with some macros... ;^o
______________________________________________________________*/



/* C11 threading API
_________________________________________________*/
#define thrd_success ct_thrd_success
#define thrd_nomem ct_thrd_nomem
#define thrd_timedout ct_thrd_timedout
#define thrd_busy ct_thrd_busy
#define thrd_error ct_thrd_error

#define thrd_t ct_thrd_t

#define thrd_create ct_thrd_create
#define thrd_join ct_thrd_join



/* C11 thread specific storage API
_________________________________________________*/
#define tss_t ct_tss_t

#define tss_create ct_tss_create
#define tss_delete ct_tss_delete
#define tss_set ct_tss_set
#define tss_get ct_tss_get



/* C11 mutex API
_________________________________________________*/
#define mtx_plain ct_mtx_plain
#define mtx_recursive ct_mtx_recursive
#define mtx_timed ct_mtx_timed

#define mtx_t ct_mtx_t

#define mtx_init ct_mtx_init
#define mtx_destroy ct_mtx_destroy
#define mtx_lock ct_mtx_lock
#define mtx_unlock ct_mtx_unlock



/* C11 condition variable API
_________________________________________________*/
#define cnd_t ct_cnd_t

#define cnd_init ct_cnd_init
#define cnd_destroy ct_cnd_destroy
#define cnd_signal ct_cnd_signal
#define cnd_broadcast ct_cnd_broadcast
#define cnd_wait ct_cnd_wait




# if defined (__cplusplus)
}
# endif
#endif
________________________________________________________________



This is in my personal coding style. I am sorry if it ends up pissing you
off!

;^o




Anyway, what do you think?

:^)
Re: “The end of software secrecy is almost upon
#345
Author: Lawrence D’Oliveiro
Date: Mon, 26 Oct 2026 00:42
7 lines
2306 bytes
On Sun, 25 Oct 2026 16:16:26 -0700, Chris M. Thomasson wrote:

> Even analogous, to say, an API that says read n bytes and store into 
> buffer. Well, the caller has lifetime of said buffer. The caller makes 
> the buffer, calls into the function.

So how is the caller supposed to manage that memory?
Re: “The end of software secrecy is almost upon
#346
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 02:01
58 lines
4083 bytes
On 10/25/2026 1:37 AM, boltar@caprica.universe wrote:
> On Sat, 24 Oct 2026 21:24:58 -0000 (UTC)
> cross@spitfire.i.gajendra.net (Dan Cross) gabbled:
>> 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.
> 
> Who mentioned C? I was talking about C++ which has a threading API already.
> Do try and keep up.
> 

So does C11.
Re: “The end of software secrecy is almost upon
#347
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 02:03
24 lines
2604 bytes
On 10/25/2026 1:42 AM, boltar@caprica.universe wrote:
> On Sat, 24 Oct 2026 12:17:47 -0700
> Peter Flass <Peter@Iron-Spring.com> gabbled:
>> On 10/24/26 09:41, Dan Cross wrote:
>>> In article <11bhppd$2lpkc$1@dont-email.me>,  
>>> <boltar@caprica.universe> wrote:
>>> 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.
>>>
>>>     - Dan C.
>>
>> 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?)
> 
> With copy-on-write process models the actual difference is a bit less
> clear cut.
> 

Have you ever tried to sync up multiple processes each running multiple 
threads? When is the last time you used a robust mutex?
Re: “The end of software secrecy is almost upon
#348
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 02:11
19 lines
2703 bytes
On 10/25/2026 5:42 PM, Lawrence D’Oliveiro wrote:
> On Sun, 25 Oct 2026 16:16:26 -0700, Chris M. Thomasson wrote:
> 
>> Even analogous, to say, an API that says read n bytes and store into
>> buffer. Well, the caller has lifetime of said buffer. The caller makes
>> the buffer, calls into the function.
> 
> So how is the caller supposed to manage that memory?

Ummm, say we wanted to have a buffer and use it.

Say:

{
     char buf[2048] = { '\0' };
     size_t bytes= foo_read(self, buf, 1024);
}

A caller provided buffer is normal with a lot of API's out there.
Re: “The end of software secrecy is almost upon
#349
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 02:21
12 lines
2694 bytes
On 10/25/2026 5:42 PM, Lawrence D’Oliveiro wrote:
> On Sun, 25 Oct 2026 16:16:26 -0700, Chris M. Thomasson wrote:
> 
>> Even analogous, to say, an API that says read n bytes and store into
>> buffer. Well, the caller has lifetime of said buffer. The caller makes
>> the buffer, calls into the function.
> 
> So how is the caller supposed to manage that memory?

Managing the memory is the caller’s job in C anyway. That’s the 
trade-off the language makes. read, recv, and mmap all work this way. 
This just applies the same contract to the lib’s own object.
Re: “The end of software secrecy is almost upon
#350
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 02:28
51 lines
4599 bytes
On 10/24/2026 3:32 PM, Lawrence D’Oliveiro wrote:
> I had a quick look at that. It seems to have to do with the reality of
> graphics hardware implementing different kinds of memory with
> different kinds of characteristics, and the impossibility of
> completely such ignoring such issues in real-time 3D rendering.
> 
> I expect higher-level APIs (e.g. game engines) will wrap all this
> behind their own higher-level abstractions, so regular
> programmers/game creators don’t have to worry about it.
> 
> In short, it’s an abstraction that leaks that you accept only because
> you have to, not because it’s a good idea for abstractions in general.
> If you can successfully hide issues of memory and other resource
> allocation behind your abstraction, you would still rather do it than
> not.
> 
> So, to get back to my point, the technique I use is based on a form of
> structured programming called a “Nassi-Shneiderman diagram”. The
> overall structure looks like
> 
>      ... initialize object pointer to NULL ...
>      do /*once*/
>        {
>          ... possible other stuff ...
>          ... allocate object pointer ...
>          if (error occurred)
>              break;
>          ... possible other stuff using object pointer ...
>        }
>      while (false);
>      ... call free(3) (or equivalent) on object pointer ...
> 
> So you can see there is no way out of the inner block without passing
> through the dispose call. Using gotos would contribute nothing except
> make it harder to assure yourself of the simplicity of the control
> flow.
> 
> Looks deceptively simple. But the same technique can scale up to quite
> complex cases.


The graphics case is where the leak is unavoidable, but that’s not why 
I’d want it. A lib that never allocates behind your back is what you 
want in embedded, kernel, and arena code, and a foo_create wrapper on 
top gives you the hidden-allocation version for everyone else. Your 
do-once cleanup idiom works fine with it. You just call deinit and 
reclaim the block the way you made it. It’s a way to structure the 
caller’s error handling, and it doesn’t say anything about who owns the 
memory.

Say memory on a threads stack, no free needed.
Re: “The end of software secrecy is almost upon
#351
Author: Cryptoengineer
Date: Mon, 26 Oct 2026 02:54
23 lines
2509 bytes
On 10/25/2026 7:06 PM, Scott Dorsey wrote:
> Cryptoengineer  <petertrei@gmail.com> wrote:
>>
>> The Apple ][ was also integer only. The Apple ][+ had floating point.
>> The top 16k of memory was ROM supporting the OS and BASIC. Relatively
>> roomy compared to the ZX80/81.
> 
> Yes, the INTBASIC was Apple code, while APPLESOFT BASIC was written by
> Microsoft on contract to Apple.  APPLESOFT worked pretty well aside from
> programmable functions.  It could do realtime FFTs at 0.5 samp/sec which
> was good enough for some interesting things.
> 
> You could upgrade the roms in your original Apple ][ to the ][+ roms
> for what seemed like a fortune to me at the time but which was probably
> quite reasonable.  I think you lost Sweet-16 in the process though.
> --scott
>>
>> pt

I distinctly recall working with Sweet-16 on my ][+ back in the day,
but can't recall the details.

pt
Re: âThe end of software secrecy is almost upon
#352
Author: Peter Flass
Date: Mon, 26 Oct 2026 02:54
20 lines
2494 bytes
On 10/25/26 13:43, Titus G wrote:
> On 26/10/2026 06:19, Robert Woodward wrote:
>> In article <11bl7vr$3nprb$2@dont-email.me>,
>>   Peter Flass <Peter@Iron-Spring.com> wrote:
> 
> snip
> 
>>> I vote that alt.folklore.computers gets pruned from the list of
>>> recipients, as this discussion seems irrelevant here.
> 
>> For that matter, this entire thread has ceased to have anything to do
>> with rec.arts.sf.written.
> 
> Yes. You are correct, but there are several from r.a.sf.written making a
> contribution and although it is mainly above my pay grade, I am still
> reading. In Thunderbird, it is extremely easy to mark a thread as
> ignored after which you will not be annoyed by further posts on that
> topic. Easier than complaining.

But a lot less fun!
Re: “The end of software secrecy is almost upon
#353
Author: Lawrence D’Oliveiro
Date: Mon, 26 Oct 2026 03:39
10 lines
2493 bytes
On Sun, 25 Oct 2026 19:11:48 -0700, Chris M. Thomasson wrote:

> A caller provided buffer is normal with a lot of API's out there.

No it isn’t. It’s not a good way to manage things, anyway: instead of
solving the resource-allocation problem once and for all in the
library API, you are pushing the burden onto all the client code, each
one of which has to solve it for itself.

That’s a dumb way to design things.
Re: “The end of software secrecy is almost upon
#354
Author: Lawrence D’Oliveiro
Date: Mon, 26 Oct 2026 03:40
6 lines
2262 bytes
On Sun, 25 Oct 2026 19:21:00 -0700, Chris M. Thomasson wrote:

> Managing the memory is the caller’s job in C anyway.

Does that apply to the caller of library APIs like malloc(3) and
free(3)?
Re: “The end of software secrecy is almost upon
#355
Author: Lawrence D’Oliveiro
Date: Mon, 26 Oct 2026 03:43
16 lines
2966 bytes
On Sun, 25 Oct 2026 19:28:00 -0700, Chris M. Thomasson wrote:

> A lib that never allocates behind your back is what you
> want in embedded, kernel, and arena code ...

Even kernels want a common memory-management architecture, so addon
modules don’t have to reinvent memory management on their own.

Think of something like allocating low-priority cache memory, for
stuff that can be dumped if necessary: that needs to be managed in the
core of the kernel, so that if apps need regular memory for things
they want to keep in memory, the kernel can free up cache as necessary
to make more memory available.

Stop trying to rationalize away the whole point of dynamic memory
allocation.
Page 7 of 11 • 514 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads