|
|
|
|
|
by hot_gril
994 days ago
|
|
The only overhead I see in theory is the additional process's kernel resources, which are negligible. Wherever you'd normally write to memory for some unsafe code to mutate, you instead write to the shared memory. Kernel is doing the same virtual mem protection either way, only in this case it opens up access to the child process too. Am I missing something else, like shared mem being slower? Maybe the inability to share CPU caches? |
|