Article View: comp.lang.c++
Article #506Re: โThe end of software secrecy is almost upon
From: Chris M. Thomasson
Date: Thu, 29 Oct 2026 19:49
Date: Thu, 29 Oct 2026 19:49
49 lines
3528 bytes
3528 bytes
On 10/29/2026 9:19 AM, boltar@caprica.universe wrote: > On Wed, 28 Oct 2026 14:04:02 -0700 > "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >> On 10/28/2026 2:01 AM, boltar@caprica.universe wrote: >>> On Mon, 26 Oct 2026 13:03:25 -0700 >>> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> gabbled: >>>> On 10/26/2026 3:01 AM, boltar@caprica.universe wrote: >>>>> Creating a brand new process is fine if >>>>> you don't need any complicated shared state such as when kicking >>>>> off something >>>>> on the command line or creating a pipe (something else win32 is >>>>> shit at) but >>>>> thats about it. >>>>> >>>> >>>> Shared state? Just use memory mapped files. You don't need pipes/ >>>> sockets etc. You need to know how to properly sync things. >>> >>> Oh really? So you receive an incoming connection to a socket via an >>> accept() >>> call. In unix you can fork() at that point so the connecting client >>> has a >>> server process all to itself with all the state instantly copied from >>> the >>> parent process. HOw do you mimic that in windows? Start the server >>> process >>> from scratch and pass it a ton of state via the command line or using >>> some >>> roll-your-own shared memory nonsense? Give me a break. I guess in >>> windows it >>> spawns a thread leading to the issue of a single thread crashing >>> bringing down >>> the entire application - something multiprocess completely avoids. >>> >> >> On Windows? Get used to >> >> https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf- >> winsock2-wsadup >> licatesocketa >> >> DuplicateHandle > > Right, lets duplicate everything manually - so much easier than one > system call. > And thats just file descriptors. > Do we actually need everything, or just a subset?
Technical Details
Message-ID:
<11c0814$3lc1s$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-mailReferences:
<11amvre$15far$1@dont-email.me> <11bgh17$1s8$1@reader2.panix.com> <11bhppd$2lpkc$1@dont-email.me> <11bif5s$2pam0$1@dont-email.me> <11birhe$bfo$1@panix2.panix.com> <11bkeub$2pa9l$1@dont-email.me> <11blrok$10e$1@dont-email.me> <11bn8ej$2s65h$1@dont-email.me> <11bobmd$ttuj$1@dont-email.me> <11bsdkr$31fn1$1@dont-email.me> <11bto04$2prdo$1@dont-email.me> <11bvrll$16ur7$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: โThe end of software secrecy is almost upon Date: Thu, 29 Oct 2026 12:49:55 -0700 Organization: A noiseless patient Spider Lines: 49 Message-ID: <11c0814$3lc1s$1@dont-email.me> References: <11amvre$15far$1@dont-email.me> <11bgh17$1s8$1@reader2.panix.com> <11bhppd$2lpkc$1@dont-email.me> <11bif5s$2pam0$1@dont-email.me> <11birhe$bfo$1@panix2.panix.com> <11bkeub$2pa9l$1@dont-email.me> <11blrok$10e$1@dont-email.me> <11bn8ej$2s65h$1@dont-email.me> <11bobmd$ttuj$1@dont-email.me> <11bsdkr$31fn1$1@dont-email.me> <11bto04$2prdo$1@dont-email.me> <11bvrll$16ur7$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 29 Oct 2026 19:49:57 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3846204"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+etDQvwKc9xhThDb9g1yfn4yNguV44h2I="; posting-host="d5f959f6bb13f9755c5e27cb65879134" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:+82eFZLucSMu4Yu6vTmQpIKW/7E= sha256:slau525GV1clNMdToRb55DJsduyppoXsLrFceWqCQ5A= sha1:uXdTYNDsr4ogQAhTPwYCCZMJmuw= sha256:6oQApZm6aO3QCgpk65M/+Xngcj+62BrR1AoQH1aXXh8= In-Reply-To: <11bvrll$16ur7$1@dont-email.me> Content-Language: en-US