Deutsch   English   Français   Italiano  
<wwvle0tbkhi.fsf@LkoBDZeT.terraraq.uk>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: Richard Kettlewell <invalid@invalid.invalid>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Sun, 18 Aug 2024 22:15:53 +0100
Organization: terraraq NNTP server
Message-ID: <wwvle0tbkhi.fsf@LkoBDZeT.terraraq.uk>
References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com>
	<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
	<uvbe3m$2cun7$1@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
	<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
	<way-20240413091747@ram.dialup.fu-berlin.de>
	<87il0lldf8.fsf@tudado.org>
	<choices-20240413123957@ram.dialup.fu-berlin.de>
	<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
	<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
	<v9posc$1rpdj$1@dont-email.me> <v9pvoo$1sn55$1@dont-email.me>
	<v9r60h$2289h$2@dont-email.me> <v9sa91$2afht$1@dont-email.me>
	<v9sbf4$2artq$1@dont-email.me> <v9shqt$2bn73$1@dont-email.me>
	<v9t4vm$2eg9b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
	logging-data="74548"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:ZXihO6rn4jPuCv7J+jS4ZZHEtP4=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
     F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
     +r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
Bytes: 2652
Lines: 19

Muttley@dastardlyhq.com writes:
> Most (all?) versions of unix use copy-on-write when forking so while the
> processes are only reading its no different to threading. I doubt windows
> implements CoW since - in user space at least - it can't do fork and you
> wouldn't need it for executing a brand new process from scratch.

It does. It’s still a handy optimization for the mutable parts of
executables and (particularly) shared libraries even in the absence of
fork.

AIUI the kernel API gives you enough to implement fork (and that’s how
the POSIX subsystem worked when that was still a thing), but good luck
finding any public documentation about it.

> Windows sockets are not integers,

They are an unsigned integer type, I think 64 bits currently.

-- 
https://www.greenend.org.uk/rjk/