[JDEV] Why not GLib ?
Michael Emswiler
memswiler at hotmail.com
Fri Oct 13 19:03:32 CDT 2000
Have you guys looked into SMT as a replacement for PTH? It's a small and portable multi-threading library -- I haven't used it alot, but I did have one project with it and it worked well for that purpose (and was easily compilable on multiple platforms ... they've already got it running on the most common...)
----- Original Message -----
From: Thomas Muldowney
Sent: Friday, October 13, 2000 10:00 PM
To: jdev at jabber.org
Subject: Re: [JDEV] Why not GLib ?
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
> ___________________________________________________________
Get more from your time online. FREE MSN Explorer download : http://explorer.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20001014/24b4bf64/attachment-0002.htm>
More information about the JDev
mailing list