Hacker News new | ask | show | jobs
by mananaysiempre 1286 days ago
> Forking processes seems like a rather elegant concept, to me.

Forking is good because it saves you a rich process manipulation API, and because generally speaking doing things to an execution environment always ends up more clunky than doing things in one. (Cleaning up after doing them is another matter.)

Forking is bad[1] because it (essentially if not literally) forces memory overcommit on you, at which point resource accounting becomes hopeless.

[1] https://lwn.net/Articles/785430/