Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)

2016-06-23 Thread Simon McVittie
On 23/06/16 11:22, Sébastien Wilmet wrote: > On Wed, Jun 22, 2016 at 05:19:19PM +0100, Simon McVittie wrote: >> If there is a compelling advantage to splitting up libraries, of course, >> by all means do so. > > I have an example: gspell: > https://wiki.gnome.org/Projects/gspell To be clear, I'm

Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)

2016-06-23 Thread Sébastien Wilmet
On Wed, Jun 22, 2016 at 05:19:19PM +0100, Simon McVittie wrote: > If there is a compelling advantage to splitting up libraries, of course, > by all means do so. I have an example: gspell: https://wiki.gnome.org/Projects/gspell The non-GUI parts could be implemented in GIO, with an extension point

Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)

2016-06-23 Thread Sébastien Wilmet
On Wed, Jun 22, 2016 at 08:47:02PM +0200, Bastien Nocera wrote: > Link it against gtk-3.0-wayland instead of both the x11 and wayland > versions, and try again? My nautilus links against 25 X libraries, both > the old-school versions and the xcb async versions. And to wayland libs > as well as Wayl

Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)

2016-06-23 Thread Sébastien Wilmet
On Wed, Jun 22, 2016 at 05:19:19PM +0100, Simon McVittie wrote: > On 22/06/16 13:14, Sébastien Wilmet wrote: > > Time for another Project Ridley? > > Maybe; or maybe the benefit of those 30 extra libraries outweighs their > cost (CPUs are faster now than in the GNOME 2 days after all), but we > st

Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)

2016-06-22 Thread Bastien Nocera
On Wed, 2016-06-22 at 14:14 +0200, Sébastien Wilmet wrote: > On Tue, Jun 21, 2016 at 05:07:46PM +0100, Simon McVittie wrote: > > > 2. Add experimental features through external libraries (libsexy > > > and so > > > on?) > > > > > and linking a large number of tiny libraries has a measurable > >

Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)

2016-06-22 Thread Simon McVittie
On 22/06/16 13:14, Sébastien Wilmet wrote: > Time for another Project Ridley? Maybe; or maybe the benefit of those 30 extra libraries outweighs their cost (CPUs are faster now than in the GNOME 2 days after all), but we still shouldn't introduce more without good reasons. If there is a compelling

Number of dynamically linked libraries (Was: Re: Gtk+4.0)

2016-06-22 Thread Sébastien Wilmet
On Tue, Jun 21, 2016 at 05:07:46PM +0100, Simon McVittie wrote: > > 2. Add experimental features through external libraries (libsexy and so > > on?) > and linking a large number of tiny libraries has a measurable startup > cost for applications. https://blogs.gnome.org/alexl/2008/10/07/towards-