|
|
|
|
|
by kazinator
2628 days ago
|
|
CreateProcess requires an application to initialize from scratch. When you fork, you cheaply inherit the initialized state of the whole application image. Only a few pages that are mutated have to be subject to copy-on-write. Even that copy-on-write is cheaper than calculating the contents of those pages from scratch. |
|
* https://news.ycombinator.com/item?id=9653238
* https://news.ycombinator.com/item?id=18071278
* https://news.ycombinator.com/item?id=19622503