Sujet : Re: xxd -i vs DIY Was: C23 thoughts and opinions
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 03. Jun 2024, 04:15:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3jcgf$3ntcs$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
User-Agent : Pan/0.158 (Avdiivka; )
On Thu, 30 May 2024 00:40:07 -0400, Paul wrote:
WSL uses containers, so of course it is slow.
WSL1 had a Linux “personality” on top of the NT kernel. So this was
emulation, not containers.
WSL2 uses Hyper-V to run Linux inside a VM. Again, not containers.
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.