Remix.run Logo
theK an hour ago

Didn't he just say that fork turns out to be comparatively faster to the non-fork samples we get? Ie Linux spawns processes faster than Microsoft's kernels?

mort96 43 minutes ago | parent | next [-]

Didn't I just say that "the problem with fork isn't really that it's slow"? It's all the other OS design choices it forces on you if you want it to be fast.

theK 2 minutes ago | parent [-]

Right, you did. I somehow misread your comment.

nvme0n1p1 an hour ago | parent | prev [-]

We don't have any broadly used non-fork samples. Windows, macOS, and Linux all have fork. So the presence of fork can't be the reason for the performance difference.

(Windows's fork is called ZwCreateProcess)

dcrazy 38 minutes ago | parent [-]

NtCreateProcess does not implement a forking model. It is analogous to posix_spawn.