๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #660

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

#660
From: Chris M. Thomasson
Date: Tue, 03 Nov 2026 21:10
58 lines
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.

Technical Details
Message-ID: <11cdik1$58t9$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <20261030005434.00005458@yahoo.com> <11c0v1j$her$1@reader2.panix.com> <20261030105900.000020ce@yahoo.com> <11c1uqd$keq$1@reader2.panix.com> <11c2fcl$19bk2$1@dont-email.me> <11c2rla$hko3$2@dont-email.me> <11c362o$lfc1$1@dont-email.me> <hWdFS.111353$cLL5.22363@fx42.iad> <11c3uqi$rrul$1@dont-email.me> <11c4dfu$39hoo$1@dont-email.me> <20261031195610.00002b01@yahoo.com> <11c6tfa$3bvko$1@dont-email.me> <20261101215941.000000f8@yahoo.com> <11cab3e$1disg$1@dont-email.me> <20261102234658.0000349e@yahoo.com> <11cb4si$3a1ce$4@dont-email.me> <20261103215142.00005755@yahoo.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: โ€œThe end of software secrecy is almost upon
Date: Tue, 3 Nov 2026 13:10:09 -0800
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <11cdik1$58t9$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me>
 <20261030005434.00005458@yahoo.com> <11c0v1j$her$1@reader2.panix.com>
 <20261030105900.000020ce@yahoo.com> <11c1uqd$keq$1@reader2.panix.com>
 <11c2fcl$19bk2$1@dont-email.me> <11c2rla$hko3$2@dont-email.me>
 <11c362o$lfc1$1@dont-email.me> <hWdFS.111353$cLL5.22363@fx42.iad>
 <11c3uqi$rrul$1@dont-email.me> <11c4dfu$39hoo$1@dont-email.me>
 <20261031195610.00002b01@yahoo.com> <11c6tfa$3bvko$1@dont-email.me>
 <20261101215941.000000f8@yahoo.com> <11cab3e$1disg$1@dont-email.me>
 <20261102234658.0000349e@yahoo.com> <11cb4si$3a1ce$4@dont-email.me>
 <20261103215142.00005755@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 03 Nov 2026 21:10:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="172969"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/AauQDTOm0OPJTQrJoYortvV8tMJM85b4="; posting-host="864fa6eb4028aacb9ae2f3445ca90fed"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:w3BkgPeAISAZgNAvimBsvi2cr2E= sha256:NUmdHsKmmRro8H1mkwtOL5myYgI9OUnf64t11+vjY4U=
	sha1:sVLxyhjD2K4SSlhqs3C1Uhd0VMg= sha256:59F9vuiq7XRbb7Oj9uLRN+D71m+vD5Wa4rY45bd3PC8=
In-Reply-To: <20261103215142.00005755@yahoo.com>
Content-Language: en-US