Thread View: alt.folklore.computers
533 messages
533 total messages
Page 11 of 11
Started by Johann 'Myrkraverk' Oskarsson
Wed, 14 Oct 2026 11:59
Page 11 of 11 • 533 total messages
Re: "The end of software secrecy is almost upon us"
Author: Scott Lurndal
Date: Mon, 19 Oct 2026 21:02
Date: Mon, 19 Oct 2026 21:02
11 lines
1486 bytes
1486 bytes
Bob Eager <throwaway0008@eager.cx> writes: >On Mon, 19 Oct 2026 14:35:40 +0000, Scott Lurndal wrote: > >> The VAX Pascal was certainly good enough for production systems >> software, given the access to the starlet interface library. > >There was a complete mail system written in it, although the name escales >me. I wrote a print symbiont in VAX Pascal, as well as usage accounting utilities and a few other tools.
Re: what's a process, was The end of software secrecy is almost
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 20:19
Date: Mon, 26 Oct 2026 20:19
40 lines
3181 bytes
3181 bytes
On 10/26/2026 9:19 AM, boltar@caprica.universe wrote: > On Mon, 26 Oct 2026 03:53:45 -0700 > Peter Flass <Peter@Iron-Spring.com> gabbled: >> On 10/26/26 02:57, boltar@caprica.universe wrote: >>> On Sun, 25 Oct 2026 18:17:44 -0000 (UTC) >>> John Levine <johnl@taugh.com> gabbled: >>>> According to <boltar@caprica.universe>: >>>>>> 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. >>>> >>>> Copy-on-write (or on some older systems copy-on-touch) is an >>>> implementation >>>> detail. Neither process can look inside the other even if they >>>> share some >>>> unwritten or untouched pages. >>> >>> The point is they are sharing memory. In a reference implementation >>> processes >> >>> don't share any virtual memory at all - everything is copied to a new >> location >>> at fork - so you can't use sharing memory as a way to demarcate >> multithreading >>> and multiprocess. >> >> In the old days before IUCV or VMCF I did a multi-process application >> on VM by using a file to pass data among processes. Surprisingly, it >> worked well. > > I'd be interested how you'd implement fork() using that method given you > need to copy the state of all file descriptors, heap, stack and global > memory, current working directory, enviroment variables and a ton of other > things I can't remember without googling. > Why even do that? Sigh.
Re: what's a process, was The end of software secrecy is almost
Author: Chris M. Thomasson
Date: Mon, 26 Oct 2026 20:19
Date: Mon, 26 Oct 2026 20:19
45 lines
3486 bytes
3486 bytes
On 10/26/2026 11:46 AM, Peter Flass wrote: > On 10/26/26 09:19, boltar@caprica.universe wrote: >> On Mon, 26 Oct 2026 03:53:45 -0700 >> Peter Flass <Peter@Iron-Spring.com> gabbled: >>> On 10/26/26 02:57, boltar@caprica.universe wrote: >>>> On Sun, 25 Oct 2026 18:17:44 -0000 (UTC) >>>> John Levine <johnl@taugh.com> gabbled: >>>>> According to <boltar@caprica.universe>: >>>>>>> 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. >>>>> >>>>> Copy-on-write (or on some older systems copy-on-touch) is an >>>>> implementation >>>>> detail. Neither process can look inside the other even if they >>>>> share some >>>>> unwritten or untouched pages. >>>> >>>> The point is they are sharing memory. In a reference implementation >>>> processes >>> >>>> don't share any virtual memory at all - everything is copied to a new >>> location >>>> at fork - so you can't use sharing memory as a way to demarcate >>> multithreading >>>> and multiprocess. >>> >>> In the old days before IUCV or VMCF I did a multi-process application >>> on VM by using a file to pass data among processes. Surprisingly, it >>> worked well. >> >> I'd be interested how you'd implement fork() using that method given you >> need to copy the state of all file descriptors, heap, stack and global >> memory, current working directory, enviroment variables and a ton of >> other >> things I can't remember without googling. > > No fork. Each VM had a single thread of execution. I was happy to get > multiple processes to cooperate. It was a master process (virtual > machine) that distributed work to worker machines. That works well.
Re: what's a process, was The end of software secrecy is almost upon
Author: Lynn Wheeler
Date: Mon, 26 Oct 2026 23:36
Date: Mon, 26 Oct 2026 23:36
46 lines
4000 bytes
4000 bytes
Peter Flass <Peter@Iron-Spring.com> writes: > In the old days before IUCV or VMCF I did a multi-process application > on VM by using a file to pass data among processes. Surprisingly, it > worked well. Some of the MIT CTSS/7094 people went to the 5th flr for Multics (which spawns unix). Others went to the 4th flr for IBM Cambridge Scientific Center and did virtual machines (originally wanted 360/50 to hardware mods adding virtual memory, but all the spare ones were going to FAA ATC effort, so they had to settle for 360/40 and did CP40/CMS, which morphs into CP67/CMS when 360/67 standard with virtual memory becomes available), science center wide-area network which mophs into the internal corporate network RSCS/VNET (larger than arpanet/internet from the beginning until sometime mid/late 80s about the time it was force to convert to SNA/VTAM), performance and online apps (including email, ctss runoff became "script", invented GML in 1969 and GML tags added to script), etc. SPM was done by IBM Pisa Scientific Center for CP/67. In the decision to add virtual memory to all 370s, some of the CSC people went to 3rd flr taking over the IBM Boston Programming Center for the vm370 development group, in the morph of CP67->VM370 lots of stuff was simplified and/or dropped. When I joined IBM, one of my hobbies was enhanced production operating systems for internal datacenters. For VM370R2-base, I started adding lots of stuff back in for my CSC/VM (and it included SPM) Then for VM370R3-base CSC/VM, I added lot more stuff back in, including multiprocessor support. The development group had introduced VMCF in VM370R3. Then the head of POK (high-end 370s) had convinced corporate to kill VM370, shutdown the development group and transfer all the people to POK for MVS/XA. Endicott (mid-range 370s) was able to acquire the VM370 product mission but had to recreate a development group from scratch. For VM370, Endicott introduces IUCV and SMSG. However, one of the issues was that SPM (from CP67) was a superset of VMCF, IUCV, and SMSG. trivia: The REXX author did a multi-user, client/server, SPM-based spacewar game and since RSCS/VNET had full SPM support, clients weren't limited to the same physical machine as the server (anywhere on internal network). note: almost immediately robot clients appeared beating all human clients. the server then was tweaked to increase power use non-linear as client responses dropped below human threasholds. -- virtualization experience starting Jan1968, online at home since Mar1970
Threads and processes (Re: “The end of software secrecy is almost upon)
Author: Lars Poulsen
Date: Tue, 27 Oct 2026 02:14
Date: Tue, 27 Oct 2026 02:14
42 lines
3672 bytes
3672 bytes
On 10/22/2026 07:50, boltar@battlestar.co.uk wrote: > On Wed, 21 Oct 2026 19:01:38 -0000 (UTC) > cross@spitfire.i.gajendra.net (Dan Cross) wrote: >> In article <11bb1da$qfn9$1@dont-email.me>, <boltar@battlestar.co.uk> wrote: >>> Not sure why you think its conspiracy anything. I use the language on a >>> daily basis and everytime a new version comes out I hope they've added >>> something useful but since 2014 its been a law of diminishing returns. >>> Plus there's unexplained omissions - eg threads have been part of the core >>> language since 2011. Great, but what about processes? When do we get them? >>> Sure, I could just use fork() but then I could also just use pthread_create() >>> too. >> >> One can implement a pretty reasonable threads library given the >> virtual machine model of standard C or C++. Processes? With > > Virtual machine? Wrong language , comp.lang.java is that way ---> > >> their own address spaces, credentials, resource limits, IPC >> mechanisms, potentially running different programs, and so on? >> >> Not so much. You need an operating system for that, son. > > You need an OS to do threading properly too. Theres a reason green threads > in java were a joke. Processes are almost self-contained virtual machines. Unix has one of the cleanest implementations around, and the fork() system call combined with copy-on-write is very elegant. None of the other operating system I have worked with have anything remotely like it. VMS was also quite elegant, but so different that I think it would be impossible to simulate one on the other (in either direction). Threads are much simpler. Multiple strands of execution in a shared address space. All the language needs to do is provide one shared vocabulary to allow code portability. To me it is obvious that threads can and should be standardized, while processes are generally not portable. But if you hotheads can't agree on that, can you please now agree to disagree and shut up! -- Lars Poulsen - an old geek in Santa Barbara, California
Re: Threads and processes (Re: “The end of software secrecy is almost upon)
Author: Lawrence D’Oliveiro
Date: Tue, 27 Oct 2026 06:08
Date: Tue, 27 Oct 2026 06:08
45 lines
3618 bytes
3618 bytes
On Mon, 26 Oct 2026 19:14:57 -0700, Lars Poulsen wrote: > Processes are almost self-contained virtual machines. Unix has one > of the cleanest implementations around, and the fork() system call > combined with copy-on-write is very elegant. None of the other > operating system I have worked with have anything remotely like it. > VMS was also quite elegant, but so different that I think it would > be impossible to simulate one on the other (in either direction). Remember that copy-on-write was a later addition. Early Unix systems had much more primitive memory management than VMS. But they did catch up. VMS had this odd distinction between “subprocesses” and “detached processes”. You didn’t need special privilege to create the former (though it was limited by a process quota), but you did for the latter. And there were the idiosyncrasies of the “UIC” business, which were a hangover from RSX-11. Why were login processes initially created under a UIC of [10,40]? (In octal, no less.) The one clever thing about VMS that I miss most on Linux systems was the terminal driver. The functionality of that was a wonder to behold. > Threads are much simpler. Multiple strands of execution in a shared > address space. All the language needs to do is provide one shared > vocabulary to allow code portability. There are some gotchas. Threads can be a notorious source of hard-to-find bugs. Note how the POSIX spec defines “cancellation points”, which are a detailed list of system service/userland API calls where the thread could potentially get force-terminated on request from another process thread, as opposed to having it happen at any time. > To me it is obvious that threads can and should be standardized, while > processes are generally not portable. What about a system like Linux, where the two are really just points on a spectrum of possibilities? <https://manpages.debian.org/clone(2)> is the underlying common kernel call that is used to implement both fork(2) and pthread_create(3) on Linux.
Re: what's a process, was The end of software secrecy is almost
Author: boltar
Date: Wed, 28 Oct 2026 09:09
Date: Wed, 28 Oct 2026 09:09
13 lines
1937 bytes
1937 bytes
On Mon, 26 Oct 2026 13:19:14 -0700 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 10/26/2026 9:19 AM, boltar@caprica.universe wrote: >> I'd be interested how you'd implement fork() using that method given you >> need to copy the state of all file descriptors, heap, stack and global >> memory, current working directory, enviroment variables and a ton of other >> things I can't remember without googling. >> > >Why even do that? Sigh. Why don't you go and find out and educate yourself.
Re: “The end of software secrecy is almost upon
Author: Scott Lurndal
Date: Wed, 28 Oct 2026 20:26
Date: Wed, 28 Oct 2026 20:26
45 lines
3002 bytes
3002 bytes
Michael S <already5chosen@yahoo.com> writes: >On Wed, 28 Oct 2026 09:06:47 -0000 (UTC) >boltar@caprica.universe wrote: > <CROSSPOSTING REMOVED> >> On Mon, 26 Oct 2026 22:04:33 +0200 >> Michael S <already5chosen@yahoo.com> gabbled: >> >On Mon, 26 Oct 2026 09:51:51 -0000 (UTC) >> >boltar@caprica.universe wrote: >> >> Go ahead and remain clueless. >> >> >> > >> > >> >system() can do most of the same things as spawn() family. >> >> Rubbish, you clearly didn't bother to spend 2 mins googling. >> >> >The problem with system() is not that. Often not even an efficiency. >> >The problem with system() identified most easily if we ask ourself >> >"Why do we want xyz in standard library?" >> >> The problem with system is its fire and forget - all you can do with >> it is collect its exit code when its done. You can't communicate with >> it via pipes, you can't control it via signals (well, not easily), >> you can't set its process group, tty and on and on. > >Actually, if you are creative enough you can do most of the >above-mentioned things. Of course, what you can and what you can't do >depends on capabilities of your default shell. >And of course the way by which you achieve your goals via system() is >VERY OS-dependent. Indeed. Prior to 2017, POSIX didn't require that the system function invoke a shell, simply that it would execute an implementation defined command string. I must admit that I had pushed for the latter definition when part of the base working group for XPG5 (1994ish) (I was, at the time, working for Unisys for which POSIX support was being considered on the Large Systems line, which had no equivalent of the unix shell). By 2017 the world was limited to Linux and Windows from the POSIX perspective, so wording was added to require support for a POSIX shell and the POSIX commands.
Re: what's a process, was The end of software secrecy is almost
Author: Chris M. Thomasson
Date: Wed, 28 Oct 2026 21:10
Date: Wed, 28 Oct 2026 21:10
17 lines
2309 bytes
2309 bytes
On 10/28/2026 2:09 AM, boltar@caprica.universe wrote: > On Mon, 26 Oct 2026 13:19:14 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 10/26/2026 9:19 AM, boltar@caprica.universe wrote: >>> I'd be interested how you'd implement fork() using that method given you >>> need to copy the state of all file descriptors, heap, stack and >>> global memory, current working directory, enviroment variables and a >>> ton of other >>> things I can't remember without googling. >>> >> >> Why even do that? Sigh. > > Why don't you go and find out and educate yourself. > I know how to use windows, and fork is the last thing on my mind.
POSIX system() function (was: The end of software secrecy ...)
Author: Geoff Clare
Date: Thu, 29 Oct 2026 14:26
Date: Thu, 29 Oct 2026 14:26
44 lines
3344 bytes
3344 bytes
Scott Lurndal wrote:
> Prior to 2017, POSIX didn't require that the system function
> invoke a shell, simply that it would execute an implementation defined
> command string. I must admit that I had pushed for the latter definition
> when part of the base working group for XPG5 (1994ish) (I was, at the time,
> working for Unisys for which POSIX support was being considered on the
> Large Systems line, which had no equivalent of the unix shell).
You are misremembering POSIX/XPG/SUS history. The following is from the
original POSIX.2-1992 standard (B.3.1.2 page 723):
The system() function shall execute the command specified by the
string pointed to by command. The environment of the executed
command shall be as if a child process were created using the
POSIX.1 {8} fork() function, and the child process invoked the sh
utility (see 4.56) using the POSIX.1 {8} execl() function as follows:
execl(<shell path>, "sh", "-c", command, (char ∗)0);
where <shell path> is an unspecified pathname for the sh utility.
The same requirement was included in XPG4 and SUSv1 - SUSv4. In SUSv5
(POSIX.1-2024) it changed to:
execl(<shell path>, "sh", "-c", "--", command, (char ∗)0);
so that if the command string begins with "-" it is not parsed as an
option string.
The only thing that was (and still is) unspecified is where the POSIX sh
utility is located (e.g. on Solaris it was /usr/xpg4/bin/sh).
Perhaps what you're thinking of is that in XPG4, SUSv1 and SUSv2 the
requirement was conditional on the "Commands and Utilities" volume (XCU)
of the standard being supported. It was possible to certify a system as
conforming to only the C language stuff (XSH) in which case calling
system(NULL) would return zero to indicate no command processor is
available if XCU was not supported. This changed in SUSv3 (2001) when
the conditional was removed and the requirement "The system() function
shall always return non-zero when command is NULL" was added.
--
Geoff Clare <netnews@gclare.org.uk>
Re: Whilst All The Computer Experts are Visiting r.a.sf.w.
Author: Nuno Silva
Date: Sat, 31 Oct 2026 11:40
Date: Sat, 31 Oct 2026 11:40
44 lines
3335 bytes
3335 bytes
[ I'm removing the comp.lang.* groups from this reply. ] On 2026-10-24, Johann 'Myrkraverk' Oskarsson wrote: > 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? Several keys were found to be under 256, not 256 bits, the number 256. Just 8 bits, tops. (Ok, I see the article already mentions this!) Somebody made a neat plot of the private keys: <https://files.cloudisland.nz/media_attachments/files/117/476/240/597/299/609/original/93a9704c02f45104.png> From: <https://cloudisland.nz/@yaakov/117476242408958038> > 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. Did it ever go away? :-) (New SeaMonkey release including a built-in certificate store update should be coming soon, <news://news.blueworldhosting.com/nka82hFeaemU1@mid.individual.net>) > Best wishes, and happy browser wars! -- Nuno Silva
Re: “The end of software secrecy is almost upon
Author: Michael S
Date: Tue, 03 Nov 2026 19:51
Date: Tue, 03 Nov 2026 19:51
52 lines
3880 bytes
3880 bytes
On Mon, 2 Nov 2026 15:03:44 -0800 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: > On 11/2/2026 1:46 PM, Michael S wrote: > > On Mon, 2 Nov 2026 15:43:42 -0000 (UTC) > > boltar@caprica.universe wrote: > > > >> On Sun, 1 Nov 2026 21:59:41 +0200 > >> Michael S <already5chosen@yahoo.com> gabbled: > >>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) > >>> boltar@caprica.universe wrote: > >>>> On this one where you see code that is only multithreaded in > >>>> order to serve individual sockets, not because it needs to be. > >>>> > >>> > >>> That's because many people unable to implement state machines. Or > >>> able, but don't like them. > >>> It has nothing to do with availability and functionality of > >>> select/poll on Windows. > >> > >> Last time I had the misfortune to use win32 it couldn't multiplex > >> on sockets. > >> > > > > That's nonsense. That part of Winsock2 API did not change since > > 1993. That is, in early 2000s they added poll() (WAASAPoll), but > > select() is the same BSD select() from the very beginning, just a > > little easier to use than original, because nfds is DNC. > > Now, if you woulds say that on Winsock2 select() can't multiplex > > waiting for socket I/O with waiting for other sorts of I/O (files > > and pipes) then your statement would make more sense*. > > But it does not sound like you really want to make sense. You > > strongly prefer mindless bashing. > > > > ---- > > * - Although, > > 1) of course, there (in Win32) exist not too complicated alternative > > methods to achieve such multiplexing as well. Just not via select(). > > 2) today, with nearly all file I/O deeply cached, multiplexing > > waiting for file I/O with waiting for sockets is a bad idea. OTOH, > > Multiplexing sockets with pipes could still make sense, > > infrequently. > > > > > > Have you ever used IOCP on windows? No, I didn't. IMHO, IO compleiion ports "solve" problems that do not exist today and mostly did not exist since 15-20 years ago.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Tue, 03 Nov 2026 21:10
Date: Tue, 03 Nov 2026 21:10
58 lines
4189 bytes
4189 bytes
On 11/3/2026 11:51 AM, Michael S wrote: > On Mon, 2 Nov 2026 15:03:44 -0800 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> wrote: > >> On 11/2/2026 1:46 PM, Michael S wrote: >>> On Mon, 2 Nov 2026 15:43:42 -0000 (UTC) >>> boltar@caprica.universe wrote: >>> >>>> On Sun, 1 Nov 2026 21:59:41 +0200 >>>> Michael S <already5chosen@yahoo.com> gabbled: >>>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) >>>>> boltar@caprica.universe wrote: >>>>>> On this one where you see code that is only multithreaded in >>>>>> order to serve individual sockets, not because it needs to be. >>>>>> >>>>> >>>>> That's because many people unable to implement state machines. Or >>>>> able, but don't like them. >>>>> It has nothing to do with availability and functionality of >>>>> select/poll on Windows. >>>> >>>> Last time I had the misfortune to use win32 it couldn't multiplex >>>> on sockets. >>>> >>> >>> That's nonsense. That part of Winsock2 API did not change since >>> 1993. That is, in early 2000s they added poll() (WAASAPoll), but >>> select() is the same BSD select() from the very beginning, just a >>> little easier to use than original, because nfds is DNC. >>> Now, if you woulds say that on Winsock2 select() can't multiplex >>> waiting for socket I/O with waiting for other sorts of I/O (files >>> and pipes) then your statement would make more sense*. >>> But it does not sound like you really want to make sense. You >>> strongly prefer mindless bashing. >>> >>> ---- >>> * - Although, >>> 1) of course, there (in Win32) exist not too complicated alternative >>> methods to achieve such multiplexing as well. Just not via select(). >>> 2) today, with nearly all file I/O deeply cached, multiplexing >>> waiting for file I/O with waiting for sockets is a bad idea. OTOH, >>> Multiplexing sockets with pipes could still make sense, >>> infrequently. >>> >>> >> >> Have you ever used IOCP on windows? > > No, I didn't. > IMHO, IO compleiion ports "solve" problems that do not exist today > and mostly did not exist since 15-20 years ago. > Are you suggesting that IOCP is useless? What about AIO or io_uring? AIO is basically IOCP anyway. io_uring is special, but still uses a "completion" setup.
Re: “The end of software secrecy is almost upon
Author: boltar
Date: Wed, 04 Nov 2026 08:48
Date: Wed, 04 Nov 2026 08:48
29 lines
2644 bytes
2644 bytes
On Mon, 02 Nov 2026 16:51:47 GMT Charlie Gibbs <cgibbs@kltpzyxm.invalid> gabbled: >On 2026-11-02, boltar@caprica.universe <boltar@caprica.universe> wrote: > >> On Sun, 1 Nov 2026 21:59:41 +0200 >> >> Michael S <already5chosen@yahoo.com> gabbled: >> >>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) >>> boltar@caprica.universe wrote: >>> >>>> On this one where you see code that is only multithreaded in order to >>>> serve individual sockets, not because it needs to be. >>> >>> That's because many people unable to implement state machines. Or able, >>> but don't like them. >>> It has nothing to do with availability and functionality of select/poll >>> on Windows. >> >> Last time I had the misfortune to use win32 it couldn't multiplex on sockets. > > >By "multiplex on sockets" do you mean supporting more then one connection >on a single socket? Serious question here: could you tell me how this can >be useful? No I don't mean that and I can't be bother explaining what multiplexing means to someone who's clearly never used it.
Re: “The end of software secrecy is almost upon
Author: boltar
Date: Wed, 04 Nov 2026 08:54
Date: Wed, 04 Nov 2026 08:54
26 lines
2750 bytes
2750 bytes
On Mon, 2 Nov 2026 23:46:58 +0200 Michael S <already5chosen@yahoo.com> gabbled: >On Mon, 2 Nov 2026 15:43:42 -0000 (UTC) >boltar@caprica.universe wrote: >> Last time I had the misfortune to use win32 it couldn't multiplex on >> sockets. >> > >That's nonsense. That part of Winsock2 API did not change since 1993. >That is, in early 2000s they added poll() (WAASAPoll), but select() is > the same BSD select() from the very beginning, just a little easier to >use than original, because nfds is DNC. >Now, if you woulds say that on Winsock2 select() can't multiplex >waiting for socket I/O with waiting for other sorts of I/O (files and >pipes) then your statement would make more sense*. Yes, for some bizarre reason MS implemented the userspace sockets as some kind of handle instead of an integer file descriptor like every other sockets library. >2) today, with nearly all file I/O deeply cached, multiplexing waiting >for file I/O with waiting for sockets is a bad idea. OTOH, Multiplexing >sockets with pipes could still make sense, infrequently. Depends on the use case.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Wed, 04 Nov 2026 08:54
Date: Wed, 04 Nov 2026 08:54
31 lines
2850 bytes
2850 bytes
On Mon, 2 Nov 2026 14:59:26 -0800 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 11/1/2026 1:32 AM, boltar@caprica.universe wrote: >> On Sat, 31 Oct 2026 19:56:10 +0200 >> Michael S <already5chosen@yahoo.com> gabbled: >>> On Sat, 31 Oct 2026 09:47:42 -0000 (UTC) >>> boltar@caprica.universe wrote: >>> >>>> On Sat, 31 Oct 2026 05:37:23 -0000 (UTC) >>>> Lawrence =3D?iso-8859-13?q?D=3DFFOliveiro?=3D <ldo@nz.invalid> gabbled: >>>>> Here=E2=80=99s a fun little thing: if you set a socket to nonblocking and >>>>> then do the connect(2) call, it will seemingly fail with an >>>>> EINPROGRESS error. But in fact, the connection attempt gets >>>>> initiated, and you can monitor its subsequent progress from your >>>>> event loop. =20 >>>> =20 >>>> Far too many devs don't know about or don't understand multiplexing >>>> using select() or poll(). Admittedly these are borked on Windows as >>>> you can't use sockets with them=20 >>> >>> On what planet? >> >> On this one where you see code that is only multithreaded in order to serve >> individual sockets, not because it needs to be. >> > >Either you are trolling or don't have a clue? Seems to be your standard response to anyone you disagree with. Go back under your bridge.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Wed, 04 Nov 2026 10:22
Date: Wed, 04 Nov 2026 10:22
39 lines
3283 bytes
3283 bytes
On 11/4/2026 12:54 AM, boltar@caprica.universe wrote: > On Mon, 2 Nov 2026 14:59:26 -0800 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 11/1/2026 1:32 AM, boltar@caprica.universe wrote: >>> On Sat, 31 Oct 2026 19:56:10 +0200 >>> Michael S <already5chosen@yahoo.com> gabbled: >>>> On Sat, 31 Oct 2026 09:47:42 -0000 (UTC) >>>> boltar@caprica.universe wrote: >>>> >>>>> On Sat, 31 Oct 2026 05:37:23 -0000 (UTC) >>>>> Lawrence =3D?iso-8859-13?q?D=3DFFOliveiro?=3D <ldo@nz.invalid> >>>>> gabbled: >>>>>> Here=E2=80=99s a fun little thing: if you set a socket to >>>>>> nonblocking and >>>>>> then do the connect(2) call, it will seemingly fail with an >>>>>> EINPROGRESS error. But in fact, the connection attempt gets >>>>>> initiated, and you can monitor its subsequent progress from your >>>>>> event loop. =20 >>>>> =20 >>>>> Far too many devs don't know about or don't understand multiplexing >>>>> using select() or poll(). Admittedly these are borked on Windows as >>>>> you can't use sockets with them=20 >>>> >>>> On what planet? >>> >>> On this one where you see code that is only multithreaded in order to >>> serve >>> individual sockets, not because it needs to be. >>> >> >> Either you are trolling or don't have a clue? > > Seems to be your standard response to anyone you disagree with. Go back > under > your bridge. > Really? Why do you have a hatred for say, IOCP? If so, you must also HATE AIO, or io_uring?
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Wed, 04 Nov 2026 10:24
Date: Wed, 04 Nov 2026 10:24
43 lines
3377 bytes
3377 bytes
On 11/4/2026 12:54 AM, boltar@caprica.universe wrote: > On Mon, 2 Nov 2026 14:59:26 -0800 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 11/1/2026 1:32 AM, boltar@caprica.universe wrote: >>> On Sat, 31 Oct 2026 19:56:10 +0200 >>> Michael S <already5chosen@yahoo.com> gabbled: >>>> On Sat, 31 Oct 2026 09:47:42 -0000 (UTC) >>>> boltar@caprica.universe wrote: >>>> >>>>> On Sat, 31 Oct 2026 05:37:23 -0000 (UTC) >>>>> Lawrence =3D?iso-8859-13?q?D=3DFFOliveiro?=3D <ldo@nz.invalid> >>>>> gabbled: >>>>>> Here=E2=80=99s a fun little thing: if you set a socket to >>>>>> nonblocking and >>>>>> then do the connect(2) call, it will seemingly fail with an >>>>>> EINPROGRESS error. But in fact, the connection attempt gets >>>>>> initiated, and you can monitor its subsequent progress from your >>>>>> event loop. =20 >>>>> =20 >>>>> Far too many devs don't know about or don't understand multiplexing >>>>> using select() or poll(). Admittedly these are borked on Windows as >>>>> you can't use sockets with them=20 >>>> >>>> On what planet? >>> >>> On this one where you see code that is only multithreaded in order to >>> serve >>> individual sockets, not because it needs to be. >>> >> >> Either you are trolling or don't have a clue? > > Seems to be your standard response to anyone you disagree with. Go back > under > your bridge. > Before you listen to this, be sure to not in a mood to get really pissed off: https://youtu.be/mrKKBBUQnYg ;^) too late. Your fate of windows is misguided. It has some fun things.
Re: “The end of software secrecy is almost upon
Author: Jeroen Belleman
Date: Wed, 04 Nov 2026 10:24
Date: Wed, 04 Nov 2026 10:24
38 lines
3256 bytes
3256 bytes
On 11/4/26 09:48, boltar@caprica.universe wrote: > On Mon, 02 Nov 2026 16:51:47 GMT > Charlie Gibbs <cgibbs@kltpzyxm.invalid> gabbled: >> On 2026-11-02, boltar@caprica.universe <boltar@caprica.universe> wrote: >> >>> On Sun, 1 Nov 2026 21:59:41 +0200 >>> >>> Michael S <already5chosen@yahoo.com> gabbled: >>> >>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) >>>> boltar@caprica.universe wrote: >>>> >>>>> On this one where you see code that is only multithreaded in order to >>>>> serve individual sockets, not because it needs to be. >>>> >>>> That's because many people unable to implement state machines. Or able, >>>> but don't like them. >>>> It has nothing to do with availability and functionality of select/poll >>>> on Windows. >>> >>> Last time I had the misfortune to use win32 it couldn't multiplex on sockets. >> >> >> By "multiplex on sockets" do you mean supporting more then one connection >> on a single socket? Serious question here: could you tell me how this can >> be useful? > > No I don't mean that and I can't be bother explaining what multiplexing means > to someone who's clearly never used it. > Don't be so smug. You could at least give him a hint. If you bother enough to reply, you might as well show that you know. Like, search for "unix select", or something? Jeroen Belleman
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Wed, 04 Nov 2026 10:34
Date: Wed, 04 Nov 2026 10:34
46 lines
3744 bytes
3744 bytes
On 10/27/2026 8:03 AM, Scott Lurndal wrote: > cross@spitfire.i.gajendra.net (Dan Cross) writes: >> In article <20261027102255.00006052@yahoo.com>, >> Michael S <already5chosen@yahoo.com> wrote: >>> On Tue, 27 Oct 2026 09:06:26 +0100 >>> David Brown <david.brown@hesbynett.no> wrote: >>>> [snip] >>>> And there are languages like Erlang that divide everything into >>>> micro-processes, and use the same mechanisms for controlling and >>>> passing data around regardless of whether this little processes are >>>> in the same thread, or different threads, different OS processes, or >>>> different computers. That works because there are very narrow and >>>> tightly controlled mechanisms for sharing data. >>>> >>>> Note that these are both languages that run on a VM, not compiled >>>> languages. >>> >>> What you wrote about Erlang resembles MPI, which of course is readily >>> available for many compiled or jitted languages, including Fortran, C >>> and C++. >>> I tried to utilize MPI 20 years ago, but the thinking behind it is to >>> different from mine, so I ran away in horror. >> >> Erlang uses the "actor" model to represent concurrency; state is >> held by each actor, and actors communicate via message passing, >> potentially changing state in response to messages. This is a >> model for _concurrency_, in which multiple independent threads >> of execution are coordinated to some in a single system. > > Chorus (the microkernel) worked in a similar fashion. The > microkernel coordinated between actors using message passing. > > The actors implemented the higher level operating system > functionality. The Amadeus project, for example, implemented > a version of unix on top of the microkernel using message > passing between actors (The Object manager handled files and > filesystems, the Process actor handled the POSIX process > and thread (SVR4.2ES/MP threads) interfaces including fork, > and light-weight processes that implemented threads, and > the Streams actor provide system V streams support and > networking. > > Unisys released the OS as part of their massively parallel > OPUS computer system. There are many ways to handle proper sync in multiprocess systems. Indeed.
Re: “The end of software secrecy is almost upon us”
Author: Chris M. Thomasson
Date: Wed, 04 Nov 2026 10:36
Date: Wed, 04 Nov 2026 10:36
46 lines
4080 bytes
4080 bytes
On 10/26/2026 10:56 PM, Lawrence D’Oliveiro wrote: > On Mon, 26 Oct 2026 19:51:23 -0700, Chris M. Thomasson wrote: > >> On 10/23/2026 8:39 PM, Lawrence D’Oliveiro wrote: >>> >>> On Fri, 23 Oct 2026 16:58:04 -0700, Chris M. Thomasson wrote: >>>> >>>> Keeping them up to date is, afaict, manual. >>> >>> In the Linux world, we have “development” packages versus “runtime” >>> packages. >>> >>> The development package contains the source includes, pkg-config >>> info etc. The runtime version includes the actual shared library. >>> So your built package has a dependency on the latter; when a user >>> tries to install your package, it should automatically pull in the >>> latter as necessary. >>> >>> Example from my system: >>> >>> lrwxrwxrwx 1 root root 13 Apr 24 2026 /usr/lib/x86_64-linux-gnu/libcairo.so -> libcairo.so.2 >>> lrwxrwxrwx 1 root root 21 Apr 24 2026 /usr/lib/x86_64-linux-gnu/libcairo.so.2 -> libcairo.so.2.11804.4 >>> -rw-r--r-- 1 root root 1366728 Apr 24 2026 /usr/lib/x86_64-linux-gnu/libcairo.so.2.11804.4 >>> >>> Where did these come from? >>> >>> root@theon:~ # dpkg-query -S /usr/lib/x86_64-linux-gnu/libcairo.so.2 >>> libcairo2:amd64: /usr/lib/x86_64-linux-gnu/libcairo.so.2 >>> >>> root@theon:~ # dpkg-query -S /usr/lib/x86_64-linux-gnu/libcairo.so >>> libcairo2-dev:amd64: /usr/lib/x86_64-linux-gnu/libcairo.so >>> >>> Notice how the development library is not versioned, but is just a >>> symlink to a versioned library. >>> >>> The runtime library is always versioned. This allows multiple >>> versions of the library to be present at once, with some older >>> packages, that haven’t been rebuilt, still depending on an older >>> version, while up-to-date packages make use of the newer version. >> >> I was in the linux world for a whiel, along with solaris, etc. But >> Windows, oh my. vcpkg is a big turn. > > Windows isn’t even in the same league, is it. Windows is there. :^D
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Wed, 04 Nov 2026 10:38
Date: Wed, 04 Nov 2026 10:38
7 lines
1958 bytes
1958 bytes
On 10/22/2026 12:20 AM, David Brown wrote: [...] > For the particular case of why C++ supports threads but not processes, > the answer should be obvious. Indeed!
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Wed, 04 Nov 2026 10:48
Date: Wed, 04 Nov 2026 10:48
41 lines
3735 bytes
3735 bytes
On 10/27/2026 11:36 AM, Scott Lurndal wrote: > Peter Flass <Peter@Iron-Spring.com> writes: >> On 10/27/26 08:00, James Kuyper wrote: >>> On 2026-10-26 17:45, Lawrence D’Oliveiro wrote: >>>> On Mon, 26 Oct 2026 13:26:38 -0700, Chris M. Thomasson wrote: >>> [restore snippage]>> On 2026-10-25 23:39, Lawrence D’Oliveiro wrote: >>>>>> 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. >>> >>>>> HUH? How do you call say, fread without a user provided buffer? >>>> >>>> Relevance being? >>> >>> fread() uses a caller-provided buffer, which, according to your previous >>> comment, "push[es] the burden onto all the client code, each one of >>> which has to solve it for itself", so according to you, "That's a dumb >>> way to design things"..If that isn't your actual opinion of fread(), >>> your comments need to be at least a little more nuanced to avoid >>> applying to fread(). >> >> The difference is that the size of the buffer for fread() is the maximum >> you want/expect to read. The size of an object is the size it is, not >> necessarily what you expect. If you don't provide enough space you will >> truncate. > > Which isn't a significant issue with fread, since the underlying stdio > buffer (or kernel file cache or terminal driver buffer) will hold the > unread information for the next call to fread. > > fread(3) is basically obsolete for most high-performance applications > which map the file directly into the process address space (mmap). Ditto.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Wed, 04 Nov 2026 16:22
Date: Wed, 04 Nov 2026 16:22
14 lines
2130 bytes
2130 bytes
On Wed, 4 Nov 2026 02:22:52 -0800 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 11/4/2026 12:54 AM, boltar@caprica.universe wrote: >> Seems to be your standard response to anyone you disagree with. Go back >> under >> your bridge. >> > >Really? Why do you have a hatred for say, IOCP? If so, you must also >HATE AIO, or io_uring? I never mentioned IOCP but looking at it, yeah, looks like your standard Windows approach of chucking threads at everything.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Wed, 04 Nov 2026 16:24
Date: Wed, 04 Nov 2026 16:24
42 lines
3203 bytes
3203 bytes
On Wed, 4 Nov 2026 11:24:54 +0100 Jeroen Belleman <jeroen@nospam.please> gabbled: >On 11/4/26 09:48, boltar@caprica.universe wrote: >> On Mon, 02 Nov 2026 16:51:47 GMT >> Charlie Gibbs <cgibbs@kltpzyxm.invalid> gabbled: >>> On 2026-11-02, boltar@caprica.universe <boltar@caprica.universe> wrote: >>> >>>> On Sun, 1 Nov 2026 21:59:41 +0200 >>>> >>>> Michael S <already5chosen@yahoo.com> gabbled: >>>> >>>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) >>>>> boltar@caprica.universe wrote: >>>>> >>>>>> On this one where you see code that is only multithreaded in order to >>>>>> serve individual sockets, not because it needs to be. >>>>> >>>>> That's because many people unable to implement state machines. Or able, >>>>> but don't like them. >>>>> It has nothing to do with availability and functionality of select/poll >>>>> on Windows. >>>> >>>> Last time I had the misfortune to use win32 it couldn't multiplex on >sockets. >>> >>> >>> By "multiplex on sockets" do you mean supporting more then one connection >>> on a single socket? Serious question here: could you tell me how this can >>> be useful? >> >> No I don't mean that and I can't be bother explaining what multiplexing means > >> to someone who's clearly never used it. >> > >Don't be so smug. You could at least give him a hint. >If you bother enough to reply, you might as well show >that you know. Right, because typing "IO multiplexing" into google or an AI is such an arduous task.
Re: “The end of software secrecy is almost upon
Author: Chris M. Thomasson
Date: Wed, 04 Nov 2026 18:56
Date: Wed, 04 Nov 2026 18:56
21 lines
2603 bytes
2603 bytes
On 11/4/2026 8:22 AM, boltar@caprica.universe wrote: > On Wed, 4 Nov 2026 02:22:52 -0800 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 11/4/2026 12:54 AM, boltar@caprica.universe wrote: >>> Seems to be your standard response to anyone you disagree with. Go >>> back under >>> your bridge. >>> >> >> Really? Why do you have a hatred for say, IOCP? If so, you must also >> HATE AIO, or io_uring? > > I never mentioned IOCP but looking at it, yeah, looks like your standard > Windows approach of chucking threads at everything. > Huh? You mean a thread pool, sometimes we can oversubscribe and use hardware threads * 2 I don't think you should mock IOCP. Then you would be mocking AIO, or io_uring.
Re: Re: “The end of software secrecy is almost upon
Author: boltar
Date: Wed, 04 Nov 2026 19:53
Date: Wed, 04 Nov 2026 19:53
31 lines
2928 bytes
2928 bytes
On Wed, 4 Nov 2026 10:56:20 -0800 "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >On 11/4/2026 8:22 AM, boltar@caprica.universe wrote: >> On Wed, 4 Nov 2026 02:22:52 -0800 >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>> On 11/4/2026 12:54 AM, boltar@caprica.universe wrote: >>>> Seems to be your standard response to anyone you disagree with. Go >>>> back under >>>> your bridge. >>>> >>> >>> Really? Why do you have a hatred for say, IOCP? If so, you must also >>> HATE AIO, or io_uring? >> >> I never mentioned IOCP but looking at it, yeah, looks like your standard >> Windows approach of chucking threads at everything. >> > >Huh? You mean a thread pool, sometimes we can oversubscribe and use >hardware threads * 2 I don't care if its a thread ocean, its still threads being used where they're possibly not needed. Obviously depends on load. But if I'm writing a client such as ssh where the only I/O is via stdin and the socket I'm going to multiplex them in select() or poll(), not have 2 seperate threads. >I don't think you should mock IOCP. Then you would be mocking AIO, or >io_uring. I don't give a toss about IOCP, its a windows thing.
Re: “The end of software secrecy is almost upon
Author: Gary Scott
Date: Wed, 04 Nov 2026 20:17
Date: Wed, 04 Nov 2026 20:17
34 lines
3313 bytes
3313 bytes
On 11/4/2026 1:53 PM, boltar@caprica.universe wrote: > On Wed, 4 Nov 2026 10:56:20 -0800 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 11/4/2026 8:22 AM, boltar@caprica.universe wrote: >>> On Wed, 4 Nov 2026 02:22:52 -0800 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> On 11/4/2026 12:54 AM, boltar@caprica.universe wrote: >>>>> Seems to be your standard response to anyone you disagree with. Go >>>>> back under >>>>> your bridge. >>>>> >>>> >>>> Really? Why do you have a hatred for say, IOCP? If so, you must also >>>> HATE AIO, or io_uring? >>> >>> I never mentioned IOCP but looking at it, yeah, looks like your standard >>> Windows approach of chucking threads at everything. >>> >> >> Huh? You mean a thread pool, sometimes we can oversubscribe and use >> hardware threads * 2 > > I don't care if its a thread ocean, its still threads being used where > they're > possibly not needed. Obviously depends on load. But if I'm writing a client > such as ssh where the only I/O is via stdin and the socket I'm going to > multiplex them in select() or poll(), not have 2 seperate threads. > >> I don't think you should mock IOCP. Then you would be mocking AIO, or >> io_uring. > > I don't give a toss about IOCP, its a windows thing. I sometimes just reserve space in the page file and let the OS lazy write/read.
Re: “The end of software secrecy is almost upon
Author: Jeroen Belleman
Date: Wed, 04 Nov 2026 22:53
Date: Wed, 04 Nov 2026 22:53
59 lines
3851 bytes
3851 bytes
On 11/4/26 17:24, boltar@caprica.universe wrote: > On Wed, 4 Nov 2026 11:24:54 +0100 > Jeroen Belleman <jeroen@nospam.please> gabbled: >> On 11/4/26 09:48, boltar@caprica.universe wrote: >>> On Mon, 02 Nov 2026 16:51:47 GMT >>> Charlie Gibbs <cgibbs@kltpzyxm.invalid> gabbled: >>>> On 2026-11-02, boltar@caprica.universe <boltar@caprica.universe> wrote: >>>> >>>>> On Sun, 1 Nov 2026 21:59:41 +0200 >>>>> >>>>> Michael S <already5chosen@yahoo.com> gabbled: >>>>> >>>>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) >>>>>> boltar@caprica.universe wrote: >>>>>> >>>>>>> On this one where you see code that is only multithreaded in >>>>>>> order to >>>>>>> serve individual sockets, not because it needs to be. >>>>>> >>>>>> That's because many people unable to implement state machines. Or >>>>>> able, >>>>>> but don't like them. >>>>>> It has nothing to do with availability and functionality of >>>>>> select/poll >>>>>> on Windows. >>>>> >>>>> Last time I had the misfortune to use win32 it couldn't multiplex on >> sockets. >>>> >>>> >>>> By "multiplex on sockets" do you mean supporting more then one >>>> connection >>>> on a single socket? Serious question here: could you tell me how >>>> this can >>>> be useful? >>> >>> No I don't mean that and I can't be bother explaining what >>> multiplexing means >> >>> to someone who's clearly never used it. >>> >> >> Don't be so smug. You could at least give him a hint. >> If you bother enough to reply, you might as well show >> that you know. > > Right, because typing "IO multiplexing" into google or an AI is such an > arduous task. > That's fine too, as a hint, no issue there. 'Multiplexing' is a copiously overloaded concept, so a little bit of help to steer him into the right direction is not out of place. Let's leave it at that. Jeroen Belleman
Re: “The end of software secrecy is almost upon
Author: Michael S
Date: Fri, 06 Nov 2026 13:38
Date: Fri, 06 Nov 2026 13:38
70 lines
4246 bytes
4246 bytes
On Wed, 4 Nov 2026 23:53:55 +0100 Jeroen Belleman <jeroen@nospam.please> wrote: > On 11/4/26 17:24, boltar@caprica.universe wrote: > > On Wed, 4 Nov 2026 11:24:54 +0100 > > Jeroen Belleman <jeroen@nospam.please> gabbled: > >> On 11/4/26 09:48, boltar@caprica.universe wrote: > >>> On Mon, 02 Nov 2026 16:51:47 GMT > >>> Charlie Gibbs <cgibbs@kltpzyxm.invalid> gabbled: > >>>> On 2026-11-02, boltar@caprica.universe <boltar@caprica.universe> > >>>> wrote: > >>>>> On Sun, 1 Nov 2026 21:59:41 +0200 > >>>>> > >>>>> Michael S <already5chosen@yahoo.com> gabbled: > >>>>> > >>>>>> On Sun, 1 Nov 2026 08:32:42 -0000 (UTC) > >>>>>> boltar@caprica.universe wrote: > >>>>>> > >>>>>>> On this one where you see code that is only multithreaded in > >>>>>>> order to > >>>>>>> serve individual sockets, not because it needs to be. > >>>>>> > >>>>>> That's because many people unable to implement state machines. > >>>>>> Or able, > >>>>>> but don't like them. > >>>>>> It has nothing to do with availability and functionality of > >>>>>> select/poll > >>>>>> on Windows. > >>>>> > >>>>> Last time I had the misfortune to use win32 it couldn't > >>>>> multiplex on > >> sockets. > >>>> > >>>> > >>>> By "multiplex on sockets" do you mean supporting more then one > >>>> connection > >>>> on a single socket? Serious question here: could you tell me > >>>> how this can > >>>> be useful? > >>> > >>> No I don't mean that and I can't be bother explaining what > >>> multiplexing means > >> > >>> to someone who's clearly never used it. > >>> > >> > >> Don't be so smug. You could at least give him a hint. > >> If you bother enough to reply, you might as well show > >> that you know. > > > > Right, because typing "IO multiplexing" into google or an AI is > > such an arduous task. > > > > That's fine too, as a hint, no issue there. > > 'Multiplexing' is a copiously overloaded concept, so a little > bit of help to steer him into the right direction is not out > of place. > > Let's leave it at that. > > Jeroen Belleman Unless you didn't pay attention yet, boltar is asshole and proud at that. Or arshole? I'm not sure what is a correct spelling in his area.
Re: “The end of software secrecy is almost upon
Author: boltar
Date: Fri, 06 Nov 2026 16:39
Date: Fri, 06 Nov 2026 16:39
20 lines
2495 bytes
2495 bytes
On Fri, 6 Nov 2026 15:38:55 +0200 Michael S <already5chosen@yahoo.com> gabbled: >On Wed, 4 Nov 2026 23:53:55 +0100 >Jeroen Belleman <jeroen@nospam.please> wrote: >> 'Multiplexing' is a copiously overloaded concept, so a little >> bit of help to steer him into the right direction is not out >> of place. >>=20 >> Let's leave it at that. >>=20 >> Jeroen Belleman > >Unless you didn't pay attention yet, boltar is asshole and proud at >that. >Or arshole? I'm not sure what is a correct spelling in his area. Neither, but don't worry about it. When you've finished your little sucky thumb tantrum maybe mummy will pick up all the toys around your pram for you.
Re: “The end of software secrecy is almost upon us”
Author: Chris M. Thomasson
Date: Sat, 07 Nov 2026 03:22
Date: Sat, 07 Nov 2026 03:22
47 lines
3649 bytes
3649 bytes
On 11/2/2026 11:15 PM, Charlie Gibbs wrote: > On 2026-11-03, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote: > >> On 11/2/2026 6:42 PM, Charlie Gibbs wrote: >> >>> On 2026-11-02, Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote: >>> >>>> On 11/1/2026 11:40 AM, Charlie Gibbs wrote: >>>> >>>>> I was already setting the socket to non-blocking before calling >>>>> connect() - and yet there were times when the API blocked anyway. >>>>> I never did figure out why, and we had a customer getting impatient, >>>>> so I just spun off another thread and moved on to other things. >>>> >>>> connect? On Windows we use ConnectEx. >>>> >>>> https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nc-mswsock-lpfn_connectex >>>> >>>> For accept, AcceptEx: >>>> >>>> https://learn.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-acceptex >>> >>> Ah, but then we come to that critical clause: >>> >>> Note This function is a Microsoft-specific extension to the Windows Sockets specification. >>> >>> Yes, one more attempt to close the open socket model with >>> Microsoft proprietary extensions. My code has to run under >>> Linux as well. Opening the socket in a separate thread is >>> guaranteed to avoid hangs, regardless of operating system. >> >> These are for high performance systems. But, they solve a lot of >> problems. Say your program starts to gain a lot of users? > > In our environment that should never happen. then using the high performance API's is not necessary for your "current" use case. But, well, what happens if it does happen? > The only legitimate > users are those that are other elements of our software package. > Any others (or too many seemingly legitimate users) get a rejection > message, followed by disconnection. >
Page 11 of 11 • 533 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