Article View: comp.lang.fortran
Article #415Re: โThe end of software secrecy is almost upon
From: Michael S
Date: Wed, 28 Oct 2026 19:47
Date: Wed, 28 Oct 2026 19:47
56 lines
3528 bytes
3528 bytes
On Wed, 28 Oct 2026 09:06:47 -0000 (UTC) boltar@caprica.universe wrote: > 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. > Oh, and it also > fires up the default shell to do the actual execution making it > hideously inefficient. It matters only when the work delegated to sub-process is both brief and done very often. > No serious unix dev uses system() unless thay > have absolutely no choice or it really is a case of "go run this, I > don't care what happens". > I can't argue about it. Supposedly, it depends on definition of "serious unix dev". In my book, serious dev is one who knows to peek correctly-sized tool to the job rather than one who always uses the most efficient tool. But that's is off topic. Pay attention that I agree with you that system() is not suitable as The Only standard way of support of multiple processes in C++ standard library, even if my reasons for that are different from yours.
Technical Details
Message-ID:
<20261028214746.00004151@yahoo.com>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> <11bl9qm$10h8f$1@dont-email.me> <11bla34$fid$1@reader2.panix.com> <11blaui$2q6vd$1@dont-email.me> <11bldda$ba7$1@reader2.panix.com> <11bn7rn$2s5fj$1@dont-email.me> <20261026220433.00007818@yahoo.com> <11bsdv7$31fvn$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: Michael S <already5chosen@yahoo.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: Wed, 28 Oct 2026 21:47:46 +0200 Organization: A noiseless patient Spider Lines: 56 Message-ID: <20261028214746.00004151@yahoo.com> References: <11amvre$15far$1@dont-email.me> <11bl9qm$10h8f$1@dont-email.me> <11bla34$fid$1@reader2.panix.com> <11blaui$2q6vd$1@dont-email.me> <11bldda$ba7$1@reader2.panix.com> <11bn7rn$2s5fj$1@dont-email.me> <20261026220433.00007818@yahoo.com> <11bsdv7$31fvn$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Wed, 28 Oct 2026 19:47:52 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2850255"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XX75hz+xHQM5iaE3qkL0MmtD8OW0Qe8E="; posting-host="3200a54061ecbbbd9ff00ee3880229c4" Cancel-Lock: sha1:eAE7IHxCNcWiHdzBymwjxi2o5Dc= sha256:DEGf9aGVwL8Cn+87hleCU0J2xbgNu2mYlHqMm3CirP4= sha1:CYjcTESXN2AtuxstKWRJCcyP1o4= sha256:JdZTFZvXw3+ajogTw96JxRWAwMInv0UY8ALvIEN9NMU= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)