Re: [dev] [st] will global-less changes be wanted upstream?

From: Roberto E. Vargas Caballero <>
Date: Sun, 17 Aug 2014 22:12:13 +0200

On Sun, Aug 17, 2014 at 09:22:31PM +0200, wrote:
> This is OS X specific and weird in my opinion, if you want multiple windows
> lauch multiple processes. It is safer, you can limit the impact of a crash
> to a single window. It is also memory efficient thanks to (haters gonna
> hate) dynamic link.

Sorry, it is efficient due to text sharing and, in some cases, to
copy on write. When you run multiple instances of a static linked program
usual OS make that all these process share the pages of the text segment.
If all the process are spawn from a common parent then they also share
data pages until they modified them (that sometime is never). you can see
that dynamic linking doesn't help in this case (same instances of the
same program). Dynamic libraries can help sharing pages between process
of diferent executables.


Roberto E. Vargas Caballero
Received on Sun Aug 17 2014 - 22:12:13 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 17 2014 - 22:24:08 CEST