Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
aerzen
19d ago
0 comments
Save
Share
Spawning processes should not be on the hot path of any program.
0 comments
6 comments · 2 top-level
top
newest
oldest
1718627440
19d ago
· 3 in thread
Why? That's a very useful processing primitive.
lokar
19d ago
It’s a hack with many disadvantages. Sometimes a hack is the right answer, but the kernel should it add a primitive for it.
MBCook
19d ago
Should bash link in every program the user might want? Load them up as dynamic libraries?
2 more replies
sanderjd
18d ago
Aren't we discussing just such a primitive?
1 more reply
pizlonator
19d ago
· 1 in thread
It ends up on the hot path of programs that use process isolation aggressively
lokar
18d ago
Sure, and there a primary thing you want is a whole new environment/context for the child (new environment, fds, memory, cgroups, namespaces, etc).
j
/
k
navigate · click thread line to collapse