MozillaZine

Neowin.net Interviews Lead Mozilla Firefox Developer Ben Goodger

Thursday May 27th, 2004

Tom Graham of Neowin.net writes: "Ben Goodger, chief developer of Firefox, has kindly taken the time out of a busy schedule to have a second chat with Neowin.net. Development of Firefox, XUL and the future of Firefox all come up with some interesting answers. Read on for an interesting interview, and thanks again to Ben for taking the time."


#10 Re: Not necessarily.

by bzbarsky

Friday May 28th, 2004 2:40 PM

You are replying to this message

> Memory blocks are never shared (other than core os)

That's incorrect, for modern OSes.

> just for the reason if one app manages to kill a lib,

You don't kill code. You kill an entity called a process. Multiple processes can all have the same physical memory mapped into their virtual memory areas, with the physical memory holding the library code. If a process dies, other processes are not affected.

Note that virtual memory mapping is not at all the same as copying.

> Visual Basic 6 programs would take very little memory since most of the stuff in VB is handled by the runtime.

There's a difference between static footprint (the size of the code) and dynamic footprint (the size of the process data structures). The latter are not shared across processes, typically.