๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.rust
Article #434

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

#434
From: boltar
Date: Thu, 29 Oct 2026 16:19
40 lines
3267 bytes
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.
Technical Details
Message-ID: <11bvrll$16ur7$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> <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>

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: boltar@caprica.universe
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: Re: โ€œThe end of software secrecy is almost upon
Date: Thu, 29 Oct 2026 16:19:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <11bvrll$16ur7$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>
Content-Type: text/plain; charset=UTF-8; format=flowed
Injection-Date: Thu, 29 Oct 2026 16:19:02 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1276775"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/lQCDilv4kd7J5sZTQSezM"; posting-host="52219c97e28fef1ac3491b65fea4c56f"
Cancel-Lock: sha1:DcwmnxzutkWa+Ce9Pt32BBPX3Co= sha256:d66RtB1zKMY7l8beJOxYMXypoGey1uLqcREAWrnLXPE=
	sha1:0nw4AWXovUyEuPYWySyNyRvPzN0= sha256:WKFuoCFByhCJzk1n8I9FCELdVxFi5A7gYWz5Bcao6uM=