[JDEV] Why not GLib ?
Thomas Muldowney
temas at box5.net
Fri Oct 13 15:52:24 CDT 2000
I've been an advocate of this for a while now, and I think it will probalby
get reevaluated again for 1.3. As a side note, pth is gonna be gone.
--temas
On Fri, Oct 13, 2000 at 01:04:04PM -0600, Dave Smith wrote:
> Well..glib has come up a number of times when we need data structures. The
> primary reason that we haven't used it is that the added dependency that
> GLib would bring outweighs the actual functionality that we would actually
> use from it. :)
>
> Jabber isn't all that complicated and we like to keep the codebase as small
> and dependent-free as possible.
>
> D.
>
> On Fri, Oct 13, 2000 at 06:57:50PM +0200, David Le Corfec wrote:
> > Why not use the GLib for jabber2 ?
> >
> > It has nice abstract types for lists, hashes ...
> > (see libjabber/src/genhash.c)
> > Plus nice portability/utility functions, and
> > handy macros (g_return_if_fail() kind of macros
> > can save life by ensuring preconditions and writing
> > a nice log message if it fails, instead of silently
> > returning)
> >
> > http://developer.gnome.org/doc/API/glib/index.html
> >
> > If there's no strong reason against it, it could
> > be progressively used in libxode/libjabber/jabber2 ...
> > (I would like to cleanup most of the code in a GLib
> > fashion :)
> >
> > Or at least some ideas could be reused (like
> > those preconditions checks ...)
> >
> > It also is a good example of programming,
> > take a look at the sources :)
> >
> > --
> > David Le Corfec
> > Disclaimer : I love the GLib :)
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> >
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20001013/67bd4d5c/attachment-0002.pgp>
More information about the JDev
mailing list