Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S Newsgroups: comp.lang.c Subject: Re: xxd -i vs DIY Was: C23 thoughts and opinions Date: Mon, 3 Jun 2024 11:02:48 +0300 Organization: A noiseless patient Spider Lines: 23 Message-ID: <20240603110248.000042cf@yahoo.com> References: <00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com> <87msoh5uh6.fsf@nosuchdomain.example.com> <87y18047jk.fsf@nosuchdomain.example.com> <87msoe1xxo.fsf@nosuchdomain.example.com> <87ikz11osy.fsf@nosuchdomain.example.com> <20240528144118.00002012@yahoo.com> <20240528185624.00002494@yahoo.com> <20240528232315.00006a58@yahoo.com> <20240529012456.000003ce@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Date: Mon, 03 Jun 2024 10:02:36 +0200 (CEST) Injection-Info: dont-email.me; posting-host="2e115e67b3843932598c276339879624"; logging-data="4002254"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Zuxb2pd8buPUTVZKKq71p8OULwWjSn50=" Cancel-Lock: sha1:p2L8C/fkgpdQvX+yZzv2suITpeY= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 2673 On Mon, 3 Jun 2024 03:15:27 -0000 (UTC) Lawrence D'Oliveiro wrote: > On Thu, 30 May 2024 00:40:07 -0400, Paul wrote: >=20 > > WSL uses containers, so of course it is slow. =20 >=20 > WSL1 had a Linux =E2=80=9Cpersonality=E2=80=9D on top of the NT kernel. S= o this was=20 > emulation, not containers. >=20 > WSL2 uses Hyper-V to run Linux inside a VM. Again, not containers. >=20 > Linux has containers, which are based entirely on namespace isolation > (and cgroups for process management). These are all standard kernel > mechanisms, so there should be very little overhead in using them. The word "container" has many meanings. As far as host FS is concerned, guest FS is a one huge file. Despite very different tech under the hood it equally applies both to WSL and to WSL-2. Calling this file 'container' sounds like proper use of the term.