Fork() is evil; vfork() is goodness; afork() would be better; clone() is stupid
Fork() is the second worst idea in programming, behind null pointers. Fork() is the reason overcommit exists, which is the reason my web browser crashes if I open too many tabs, and the reason the &quot;safe&quot; Rust programming language leaves software vulnerable to DOS attacks if it uses the standard library. It&#x27;s a clear example of &quot;worse is worse&quot;, and we should have switched to the Microsoft Windows model decades ago.<p>Here&#x27;s a paper from Microsoft Research supporting this point of view:<p><a href="https:&#x2F;&#x2F;www.microsoft.com&#x2F;en-us&#x2F;research&#x2F;uploads&#x2F;prod&#x2F;2019&#x2F;04&#x2F;fork-hotos19.pdf" rel="nofollow">https:&#x2F;&#x2F;www.microsoft.com&#x2F;en-us&#x2F;research&#x2F;uploads&#x2F;prod&#x2F;2019&#x2F;0...</a>