On Tuesday, 21 May 2013 at 00:00:13 UTC, deadalnix wrote:
On Monday, 20 May 2013 at 22:52:33 UTC, Diggory wrote:
And that would work on all modern OSes, plus you don't have the overhead of creating a new process or even a new thread. Also immutable memory doesn't need to be mapped, the GC thread can access it directly.

Copy on WRITE usually don't happen on immutable memory.

I never said it did... I said that when using fork the immutable memory must be mapped into the new process, when using a thread it does not since threads share the same address space.

Reply via email to