Thread View: rec.arts.sf.written
313 messages
313 total messages
Page 4 of 7
Started by Lynn McGuire
Wed, 14 Oct 2026 04:18
Page 4 of 7 • 313 total messages
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Fri, 23 Oct 2026 23:56
Date: Fri, 23 Oct 2026 23:56
32 lines
3288 bytes
3288 bytes
On 10/23/2026 3:50 PM, James Kuyper wrote: > On 2026-10-23 17:40, William Hyde wrote: >> Michael S wrote: > ...>> My experience in industry beats yours by few years. >>> And my statistics differ - CS graduates are not majority of computer >>> programmers. >> >> In the 70s and early 80s there was little demand for people with >> graduate degrees in physics. Most of my fellow students went on to work >> in computer science or drove taxis when their postdoctoral positions >> expired. >> >> I am a lousy driver and so-so programmer (at best) so I was forced to >> stick with it. > I studied to be a physicist, got a BS from Caltech, and did postgraduate > work at Cambridge. I reached that point in the 90s. I learned computer > programming only with the intent of using it as a tool in support of my > physics. That idea foundered on two rocks: while I am very good at > understanding advanced physics, I'm not particularly good at the > practicalities of experimental physics, and my imagination isn't good > enough to make a good theoretical physicist. I ended up being a > programmer who specialized in scientific programming, rather than a > scientist who uses computer programs. Sounds good! When I got into fractals and vector fields back in 2010'ish, I started getting really happy. It was funner than lock/wait free systems stuff. Here is an older work of mine from 12 years ago: https://youtu.be/D9XBDNVTlFE My vector field work is neat. It can be used for different things. It can use real sensor data.
Whilst All The Computer Experts are Visiting r.a.sf.w.
Author: Titus G
Date: Sat, 24 Oct 2026 03:12
Date: Sat, 24 Oct 2026 03:12
15 lines
2436 bytes
2436 bytes
Why does Mozilla Firefox update itself just about every week? I use Firefox because it came installed with the Linux version I use. The most recent update now requires me to sign in with my Firefox account address ...@yahooxtra that I lost without warning over ten years ago when Yahoo and Xtra parted company and my address became ...@xtra.co.nz Google Chrome has over 60% of the market. Is there any reason why I shouldn't change to Chrome? Why does the Freedesktop Platform replace everything, (999 MB) every time Calibre is updated? How do I find out if this Platform services anything other than Calibre on my desktop? I can't think of any reason not to update Calibre using Calibre itself when it advises of updates.
Re: “The end of software secrecy is almost upon us"
Author: Lynn McGuire
Date: Sat, 24 Oct 2026 05:27
Date: Sat, 24 Oct 2026 05:27
43 lines
2997 bytes
2997 bytes
On 10/15/2026 8:35 PM, Jay Morris wrote: > On 10/15/2026 2:13 PM, Lynn McGuire wrote: >> On 10/15/2026 10:05 AM, Scott Dorsey wrote: >>> Lynn McGuire <lynnmcguire5@gmail.com> wrote: >>>> Huh, so somebody has actually built a decent decompiler. Why do I >>>> doubt >>>> this even though ESR says otherwise? >>> >>> Because decompiling some languages isn't that hard. Humans can do it >>> pretty >>> well, although it's harder for machines. It helps a lot if you have >>> a symbol >>> table (which it sounds like they did in the example ESR cites). >>> >>> Now... that said... I wouldn't trust anything ESR ever says and I >>> would not >>> hold him up as an authority. >>> >>>> And he has a translator from Borland Pascal to Rust? >>> >>> That seems like a step down, doesn't it? >>> --scott >> >> Yes on the step down to Rust. I wrote a lot of Turbo Pascal code back >> in the 1980s but I have to admit that I am a C++ fanboi through and >> through. And at my age, it will hard to change my mind on that unless >> you are writing embedded code. >> >> I have translated over 200,000 lines of Fortran 66/77 code to C++ this >> year so far. Trying to get to 300,000 lines of Fortran 66/77 code >> before the end of the year. >> >> Lynn > > Be sure to let us know, we'll throw a party. > > Actually, I'm close enough that that's possible. I would not hold my breath. This week has been slogging through the mud of 2,000 line Fortran 66 subroutines with hundreds of gotos. Lynn
Re: Whilst All The Computer Experts are Visiting r.a.sf.w.
Author: Johann 'Myrkraverk' Oskarsson
Date: Sat, 24 Oct 2026 07:22
Date: Sat, 24 Oct 2026 07:22
28 lines
2714 bytes
2714 bytes
On 10/24/2026 11:12 AM, Titus G wrote: > Why does Mozilla Firefox update itself just about every week? There was an emergency Firefox update a few days ago, I believe, because of the e-something-or-other in India screwed up root key generation for their certificate authority. You can read the details at Ars Technica or elsewhere. https://arstechnica.com/security/2026/10/disgraced-emudhra-drops-out-of-tls-business-following-certificate-debacle/ One of the keys was literally 4, according to the article. I wonder if they threw a six sided die? I cannot help with your Firefox account, other than say I am not using one yet, so there may still be a way to bypass the need. However, I cannot say how since I don't care about the Firefox user interface after they started to move everything around all the time. If you bring back Netscape 7 let me know. Best wishes, and happy browser wars! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sat, 24 Oct 2026 08:20
Date: Sat, 24 Oct 2026 08:20
15 lines
1999 bytes
1999 bytes
On Fri, 23 Oct 2026 14:49:23 -0500 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.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sat, 24 Oct 2026 08:21
Date: Sat, 24 Oct 2026 08:21
27 lines
2374 bytes
2374 bytes
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...
Re: “The end of software secrecy is almost upon
Author: Gary R. Schmidt
Date: Sat, 24 Oct 2026 14:03
Date: Sat, 24 Oct 2026 14:03
55 lines
3328 bytes
3328 bytes
On 24/10/2026 03:06, Peter Flass wrote: > On 10/23/26 01:01, boltar@caprica.universe wrote: >> On Thu, 22 Oct 2026 12:19:49 -0400 (EDT) >> kludge@panix.com (Scott Dorsey) gabbled: >>> In article <11bd7tj$rh4f$1@dont-email.me>, <boltar@battlestar.co.uk> >>> wrote: >>>> >>>> Most of us have a CS degree. But then we go out into the real world, >>>> get a >>>> job and find out what real programming on real products entails, not >>>> a load >>>> of virtual academic naval gazing. >>> >>> That's because it's not a trade school degree. It's not there to teach >>> you to program, it's there to teach you the fundamentals that you >>> need to >>> properly understand programming. >> >> No, it teaches you fundamentals of certain aspects of computer >> paradigms such >> as databases, graphics, AI. Most people into computers learn actual >> programming >> long before they hit university. >> >>> Engineering schools are even more that way. They don't teach you much >>> engineering, but they give you all the background that you need to learn >>> engineering. >> >> Programming isn't pure engineering - its a combination of engineering, >> logic, >> art and a trade. >> >>> If you just want a job, getting one of these degrees is not for you. >>> It's >>> not there for that. >> >> Bill Gates never earned a degree. He seemed to do ok. > > From what I understand, he wasn't a very good programmer, though. A story I heard thirty-odd years ago about Bill Gates' purported programming ability: When MS started making money from their MSBASIC compiler, they started hiring real staff. One of them was tasked with working through the various functions that BASIC does, such as opening files, sorting arrays, and the like. When he looked at the sort routine, he exclaimed, loudly, "What idiot wrote this, it doesn't do anything!" Bill was in the room at the time, wandered over and had a look at what they were working on, and said, "Oh, the sort routine. I could never get that to work." Apparently it was not a career-limiting action by the programmer. Cheers, Gary B-)
Re: Re: “The end of software secrecy is almost upon
Author: Scott Lurndal
Date: Sat, 24 Oct 2026 14:25
Date: Sat, 24 Oct 2026 14:25
28 lines
2334 bytes
2334 bytes
boltar@caprica.universe writes: >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? It doesn't. It does have an abstraction wrapper around whatever threading support the target host has.
Re: “The end of software secrecy is almost upon
Author: Peter Flass
Date: Sat, 24 Oct 2026 14:26
Date: Sat, 24 Oct 2026 14:26
30 lines
2838 bytes
2838 bytes
On 10/24/26 01:21, 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... You can have co-operative threads. IBM CICS used to run lots of threads (tasks) concurrently, and ran them well.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sat, 24 Oct 2026 14:51
Date: Sat, 24 Oct 2026 14:51
35 lines
2773 bytes
2773 bytes
On Sat, 24 Oct 2026 14:25:36 GMT scott@slp53.sl.home (Scott Lurndal) gabbled: >boltar@caprica.universe writes: >>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? > >It doesn't. It does have an abstraction wrapper around >whatever threading support the target host has. And iostream is an abstraction around low level C I/O, whats your point?
Re: “The end of software secrecy is almost upon
Author: Johann 'Myrkraverk' Oskarsson
Date: Sat, 24 Oct 2026 14:55
Date: Sat, 24 Oct 2026 14:55
49 lines
3630 bytes
3630 bytes
On 10/24/2026 10:25 PM, Scott Lurndal wrote: > boltar@caprica.universe writes: >> 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? > > It doesn't. It does have an abstraction wrapper around > whatever threading support the target host has. I don't think that's true. I currently believe, and I'm very welcoming of an alt.folklore.computers expert to correct me, that the Vista+ threading model that looks extremely much like the Posix threads, only the names of the routines were changed, was put in place exactly to sup- port the C++ threading model. I mean, /why else/ would Microsoft bend backwards and admit their ear- lier Win32 threading model was flawed? And why have a subset of the Po- six threads and not the full thing? A side by side comparison of the C++ threading model might be enlightening, but I have not done this textbook exercise myself just yet. What do you think, Scott? -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: Re: “The end of software secrecy is almost upon
Author: Dan Cross
Date: Sat, 24 Oct 2026 16:41
Date: Sat, 24 Oct 2026 16:41
36 lines
2493 bytes
2493 bytes
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. - Dan C.
Re: “The end of software secrecy is almost upon
Author: Scott Dorsey
Date: Sat, 24 Oct 2026 17:47
Date: Sat, 24 Oct 2026 17:47
10 lines
1180 bytes
1180 bytes
Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: > >Still, somebody had to decide to make the MS-DOS COPY command refuse >to copy zero-length files - something which CP/M's PIP did happily. That's a bug and not a feature. Sometimes you want to have a zero-length file in place as a semaphore. --scott -- "C'est un Nagra. C'est suisse, et tres, tres precis."
Re: Re: “The end of software secrecy is almost upon
Author: Scott Dorsey
Date: Sat, 24 Oct 2026 17:53
Date: Sat, 24 Oct 2026 17:53
18 lines
1625 bytes
1625 bytes
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. --scott -- "C'est un Nagra. C'est suisse, et tres, tres precis."
Re: Re: “The end of software secrecy is almost upon
Author: Scott Dorsey
Date: Sat, 24 Oct 2026 17:57
Date: Sat, 24 Oct 2026 17:57
41 lines
2710 bytes
2710 bytes
In article <11bif5s$2pam0$1@dont-email.me>, Peter Flass <Peter@Iron-Spring.com> wrote: >On 10/24/26 01:21, 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... > >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. --scott -- "C'est un Nagra. C'est suisse, et tres, tres precis."
Re: “The end of software secrecy is almost upon
Author: Blaine
Date: Sat, 24 Oct 2026 18:07
Date: Sat, 24 Oct 2026 18:07
28 lines
2613 bytes
2613 bytes
Scott Dorsey wrote: > 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. > --scott > Gates had a guy from Harvard do the math works. He was only with the company 10 weeks. -- 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
Author: Peter Flass
Date: Sat, 24 Oct 2026 19:17
Date: Sat, 24 Oct 2026 19:17
40 lines
3178 bytes
3178 bytes
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. > > - 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?)
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Sat, 24 Oct 2026 20:07
Date: Sat, 24 Oct 2026 20:07
34 lines
3097 bytes
3097 bytes
On 10/24/2026 7:25 AM, Scott Lurndal wrote: > boltar@caprica.universe writes: >> 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? > > It doesn't. It does have an abstraction wrapper around > whatever threading support the target host has. But at least they are std now since C++11? Before it was use POSIX and hope the compiler is compliant. Actually, the most import aspect, imvvho, is std::atomic.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Sat, 24 Oct 2026 20:12
Date: Sat, 24 Oct 2026 20:12
39 lines
3200 bytes
3200 bytes
On 10/24/2026 9:41 AM, 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? Well, if a thread crashes, segfaults, etc it can destroy the whole process. But, in multi process. If a process dies, the things can be recovered and still run. Take a look at robust mutexes. EOWNERDEAD ? [...]
Re: Re: “The end of software secrecy is almost upon
Author: Dan Cross
Date: Sat, 24 Oct 2026 21:24
Date: Sat, 24 Oct 2026 21:24
47 lines
3076 bytes
3076 bytes
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.
Re: “The end of software secrecy is almost upon
Author: Charlie Gibbs
Date: Sat, 24 Oct 2026 21:38
Date: Sat, 24 Oct 2026 21:38
21 lines
1685 bytes
1685 bytes
On 2026-10-24, Scott Dorsey <kludge@panix.com> wrote: > Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: > >> Still, somebody had to decide to make the MS-DOS COPY command refuse >> to copy zero-length files - something which CP/M's PIP did happily. > > That's a bug and not a feature. Sometimes you want to have a zero-length > file in place as a semaphore. Exactly. Another case is a month-to-date accumulator at the beginning of the month. Still, I've heard some pretty amazing attempts to justify this design flaw as a feature. -- /~\ Charlie Gibbs | In this world there are \ / <cgibbs@kltpzyxm.invalid> | two kinds of people: X I'm really at ac.dekanfrus | 1. Those who can extrapolate / \ if you read it the right way. | from incomplete data.
Re: “The end of software secrecy is almost upon
Author: Michael S
Date: Sat, 24 Oct 2026 22:11
Date: Sat, 24 Oct 2026 22:11
84 lines
4479 bytes
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...
Re: “The end of software secrecy is almost upon
Author: Dan Cross
Date: Sun, 25 Oct 2026 00:28
Date: Sun, 25 Oct 2026 00:28
137 lines
7012 bytes
7012 bytes
In article <20261025011151.000038ef@yahoo.com>, Michael S <already5chosen@yahoo.com> wrote: >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. First, he's a big boy, and I'm sure he can answer for himself. But ok then, C++, not C. The questions still stand. >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. >All I had seen is C++ threads implemented in library as thin >wrapper atop of the OS (or RT executive) implementation. In the late 1990s, into the early 2000s, most "threads" on Unix-style systems were implemented in userspace, in the C library, often by exposing the "normal" system call endpoints in the library, but making them thin wrappers around equivalent asynchronous system calls. There was even a paper about using the Xinu pedagogical system from Doug Comer to implement something very close to threads on 4.2BSD, with signals and a context saving/restoration primitive to approximate a timer interrupt. For a more recent historical example the FreeBSD MP library was initially implemented this way, as were pre-LinuxThreasd threads on Linux; Solaris threads up until Solaris 2.6 or so similarly. Of course, it wasn't a great way to do things because if something _did_ block...well, there went your concurrency. Making Unix systems multithreaded was challenging because of decades of software that was written assuming a single-threaded userspace environment (the kernel had been "multithreaded" since very near the start, even if much of the system was written assuming a single processor; but parallelism is not the same thing as concurrency), and this was compounded because people were trying to implement complex M:N threading models; Sun did this, and FreeBSD tried with their KSEs; the Linux people did not. While cool in theory, M:N threading relied on very specific usage patterns to work well in practice, and almost no one actually wrote software that way, so you ended up with userspace threads fighting the kernel scheeduler, and vice versa. More recently, the Akaros research system introduced the notion of a "many-core process" and pushed fine-grained "thread" scheduling entirely to userspace; the kernel is totally unaware of how userspace schedules anything. That system uses an N:C model, where $C$ is the number of *cores* assigned to a process (all system calls in Akaros are asychronous by design, to avoid the pitfalls of user-threads blocking on synchronous kernel services that beset Unix). >I can not see while the same can't be done for processes, with >API modeled on posix_spawn() or Windows CreateProcess(). C, and C++, have had `system()` for as long as I can remember, if you just want to run a program (note that both `posix_spawn` and `CreateProcess` take the names of programs to run in that new process). >It does not look like variety in this field is bigger than in case of >threads. More like it is smaller. Nope. But if you think differently, see the questions above. >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].) - Dan C.
Re: “The end of software secrecy is almost upon
Author: Michael S
Date: Sun, 25 Oct 2026 06:42
Date: Sun, 25 Oct 2026 06:42
158 lines
8273 bytes
8273 bytes
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: > >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. > > First, he's a big boy, and I'm sure he can answer for himself. > But ok then, C++, not C. The questions still stand. > > >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. > > >All I had seen is C++ threads implemented in library as thin > >wrapper atop of the OS (or RT executive) implementation. > > In the late 1990s, into the early 2000s, most "threads" on > Unix-style systems were implemented in userspace, in the C > library, often by exposing the "normal" system call endpoints > in the library, but making them thin wrappers around equivalent > asynchronous system calls. > > There was even a paper about using the Xinu pedagogical system > from Doug Comer to implement something very close to threads on > 4.2BSD, with signals and a context saving/restoration primitive > to approximate a timer interrupt. > > For a more recent historical example the FreeBSD MP library was > initially implemented this way, as were pre-LinuxThreasd threads > on Linux; Solaris threads up until Solaris 2.6 or so similarly. > > Of course, it wasn't a great way to do things because if > something _did_ block...well, there went your concurrency. > > Making Unix systems multithreaded was challenging because of > decades of software that was written assuming a single-threaded > userspace environment (the kernel had been "multithreaded" since > very near the start, even if much of the system was written > assuming a single processor; but parallelism is not the same > thing as concurrency), and this was compounded because people > were trying to implement complex M:N threading models; Sun did > this, and FreeBSD tried with their KSEs; the Linux people did > not. While cool in theory, M:N threading relied on very > specific usage patterns to work well in practice, and almost no > one actually wrote software that way, so you ended up with > userspace threads fighting the kernel scheeduler, and vice > versa. > > More recently, the Akaros research system introduced the notion > of a "many-core process" and pushed fine-grained "thread" > scheduling entirely to userspace; the kernel is totally unaware > of how userspace schedules anything. That system uses an N:C > model, where $C$ is the number of *cores* assigned to a process > (all system calls in Akaros are asychronous by design, to avoid > the pitfalls of user-threads blocking on synchronous kernel > services that beset Unix). > How any of this trivia has anything to do with real-world implementations of C++11 threads? > >I can not see while the same can't be done for processes, with > >API modeled on posix_spawn() or Windows CreateProcess(). > > C, and C++, have had `system()` for as long as I can remember, > if you just want to run a program (note that both `posix_spawn` > and `CreateProcess` take the names of programs to run in that > new process). > 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. > >It does not look like variety in this field is bigger than in case of > >threads. More like it is smaller. > > Nope. But if you think differently, see the questions above. > > >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].) > > - Dan C. > It (both spawn and IPv4) is not harder (and not easier) than fopen/fread/fwrite or than time-related functions.
Re: The end of software secrecy is almost upon
Author: Jerry Brown
Date: Sun, 25 Oct 2026 08:11
Date: Sun, 25 Oct 2026 08:11
28 lines
2456 bytes
2456 bytes
On Sat, 24 Oct 2026 21:38:43 GMT, Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: >On 2026-10-24, Scott Dorsey <kludge@panix.com> wrote: > >> Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote: >> >>> Still, somebody had to decide to make the MS-DOS COPY command refuse >>> to copy zero-length files - something which CP/M's PIP did happily. >> >> That's a bug and not a feature. Sometimes you want to have a zero-length >> file in place as a semaphore. > >Exactly. Another case is a month-to-date accumulator >at the beginning of the month. > >Still, I've heard some pretty amazing attempts to justify this >design flaw as a feature. 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. -- Jerry Brown A cat may look at a king (but probably won't bother)
Re: “The end of software secrecy is almost upon
Author: Ian
Date: Sun, 25 Oct 2026 08:22
Date: Sun, 25 Oct 2026 08:22
24 lines
2326 bytes
2326 bytes
On 2026-10-24, Scott Dorsey <kludge@panix.com> wrote: > 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. > --scott The ZX80 did not have floating point in its stock BASIC ROM. The ZX81 did. -- Ian "Tamahome!!!" - "Miaka!!!"
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sun, 25 Oct 2026 08:31
Date: Sun, 25 Oct 2026 08:31
40 lines
2935 bytes
2935 bytes
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.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sun, 25 Oct 2026 08:32
Date: Sun, 25 Oct 2026 08:32
22 lines
2228 bytes
2228 bytes
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.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sun, 25 Oct 2026 08:34
Date: Sun, 25 Oct 2026 08:34
18 lines
2051 bytes
2051 bytes
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.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sun, 25 Oct 2026 08:37
Date: Sun, 25 Oct 2026 08:37
55 lines
3515 bytes
3515 bytes
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.
Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sun, 25 Oct 2026 08:41
Date: Sun, 25 Oct 2026 08:41
17 lines
2050 bytes
2050 bytes
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. 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.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Sun, 25 Oct 2026 08:42
Date: Sun, 25 Oct 2026 08:42
19 lines
2008 bytes
2008 bytes
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.
Re: The end of software secrecy is almost upon
Author: Thomas Koenig
Date: Sun, 25 Oct 2026 09:30
Date: Sun, 25 Oct 2026 09:30
12 lines
1806 bytes
1806 bytes
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? -- This USENET posting was made without artificial intelligence, artificial impertinence, artificial arrogance, artificial stupidity, artificial flavorings or artificial colorants.
Re: “The end of software secrecy is almost upon
Author: David Brown
Date: Sun, 25 Oct 2026 09:45
Date: Sun, 25 Oct 2026 09:45
119 lines
6989 bytes
6989 bytes
On 25/10/2026 00:11, Michael S wrote: > 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. > No one is suggesting that the threads themselves are implemented in pure, standard, portable C++. You need an underlying OS or support of some sort if you are going to have preemptable threads. It's the same principle as IO and file access. But the difference between threads and processes is very simple from the viewpoint of C and C++. Suppose you have a global (i.e., external linkage) variable : int x; Two threads that have "int a = x;" see the same "x" (ignoring data races and synchronisation). Two processes see completely different "x". With threads, you are still within the same program execution - the same code, the same data. Thus it is appropriate that the language can describe the threads, and provide an execution model that can describe what is safe and unsafe for sharing the data. It is then highly useful for the programmer to have some standard data types and functions for doing this safe access, and wrappers around common OS functions for threads. With processes, you have two separate programs. Usually it is different code and data (with a spawn), sometimes it is the same code and a copy of the data (with a fork). But the programs are separate. C and C++ model programs, not systems of programs. It is not more part of C and C++ than details of the filesystem. Of course the standard library could provide some standard wrappers for spawn, fork, and related process control functions. But what use would they be? Many of the details are OS-specific - for example, you'd either have to say that C++ programmers on Linux don't get "fork", or that C++ programmers on Windows get "fork" without realising the massive overheads involved in emulating it. It would be possible, of course, to have some standard library classes and functions here - with optional parts to make it useable on common OS'es. But it is very different from threading, which is integral to the execution model of C++ and C (since C++11 and C11) - it is that model that makes threading integration important. Wrappers around common OS calls is unlikely to give programmers anything significant. > 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... > That's more realistic, and potentially more useful. And it is in progress. (I haven't tracked the progress for the networking TS - but it seems to be a lot more work than originally anticipated.)
Re: Re: “The end of software secrecy is almost upon
Author: Scott Dorsey
Date: Sun, 25 Oct 2026 12:10
Date: Sun, 25 Oct 2026 12:10
29 lines
2138 bytes
2138 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
Author: Dan Cross
Date: Sun, 25 Oct 2026 13:32
Date: Sun, 25 Oct 2026 13:32
46 lines
2723 bytes
2723 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
Author: Dan Cross
Date: Sun, 25 Oct 2026 13:34
Date: Sun, 25 Oct 2026 13:34
17 lines
1623 bytes
1623 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
Author: Peter Flass
Date: Sun, 25 Oct 2026 15:37
Date: Sun, 25 Oct 2026 15:37
15 lines
2091 bytes
2091 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
Author: Peter Flass
Date: Sun, 25 Oct 2026 15:41
Date: Sun, 25 Oct 2026 15:41
20 lines
2241 bytes
2241 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
Author: Peter Flass
Date: Sun, 25 Oct 2026 15:42
Date: Sun, 25 Oct 2026 15:42
19 lines
2205 bytes
2205 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
Author: Scott Lurndal
Date: Sun, 25 Oct 2026 15:56
Date: Sun, 25 Oct 2026 15:56
30 lines
2251 bytes
2251 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
Author: Scott Lurndal
Date: Sun, 25 Oct 2026 15:59
Date: Sun, 25 Oct 2026 15:59
19 lines
1807 bytes
1807 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
Author: boltar
Date: Sun, 25 Oct 2026 16:13
Date: Sun, 25 Oct 2026 16:13
28 lines
2439 bytes
2439 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
Author: Dan Cross
Date: Sun, 25 Oct 2026 16:15
Date: Sun, 25 Oct 2026 16:15
31 lines
2195 bytes
2195 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
Author: Dan Cross
Date: Sun, 25 Oct 2026 16:17
Date: Sun, 25 Oct 2026 16:17
41 lines
2595 bytes
2595 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
Author: boltar
Date: Sun, 25 Oct 2026 16:29
Date: Sun, 25 Oct 2026 16:29
35 lines
2672 bytes
2672 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
Author: boltar
Date: Sun, 25 Oct 2026 16:32
Date: Sun, 25 Oct 2026 16:32
39 lines
2788 bytes
2788 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
Author: Dan Cross
Date: Sun, 25 Oct 2026 17:06
Date: Sun, 25 Oct 2026 17:06
17 lines
1630 bytes
1630 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
Author: Dan Cross
Date: Sun, 25 Oct 2026 17:14
Date: Sun, 25 Oct 2026 17:14
45 lines
2423 bytes
2423 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
Author: Robert Woodward
Date: Sun, 25 Oct 2026 17:19
Date: Sun, 25 Oct 2026 17:19
34 lines
2291 bytes
2291 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
Page 4 of 7 • 313 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