On Tue, Jan 15, 2013 at 2:26 PM, Gregory Szorc <g...@mozilla.com> wrote:

> If I were writing Gecko from scratch today and took the world view that
> Gecko is an operating system, I would certainly be tempted to design
> XPCOM/Gecko services as Upstart/SMF-like services.
>

If I were, I would identify all the XPCOM services that we're sure to need
almost immediately (which is most of them, for Gecko core), and just
hardcode their initialization and dispense with XPCOM service machinery
altogether.

The system you describe may be great, but you really should limit it to the
optional services only. For everything else it's just overhead. Like the
XPCOM overhead that we're gradually getting rid of.

Rob
-- 
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to