Dnia 2008-07-15, wto o godzinie 15:07 -0700, Mark Doliner pisze: > I just thought I'd throw this idea out there... has anyone ever > thought of changing jabberd to use libevent or GLib?
Yes. Many times. :-) > libevent is [...] It's probably not worth the effort, but if > libevent existed when jabberd was first written it seems like someone > could have saved themselves a good bit of time. Please remember that jabberd2 was an experimental toy project at the beginning. Many things was reimplemented instead of reusing, just for the fun of it. :-) > http://monkey.org/~provos/libevent/ There's also libev, which does > basically the same thing but is purportedly a tad bit faster. Yes. libevent is pretty heavy. I would prefer libev or http://www.corpit.ru/mjt/event.html But the event loop I really love is GLib Main Event Loop. :-) Sadly it lacks support for modern, fast event notification mechanisms. > I've used GLib a lot and I love it. It's fantastic. You can see the > documentation at http://library.gnome.org/devel/glib/stable/ Same here. Especially supplanted with Vala ( http://vala-project.org/ ) But see a comment about a toy project. > Anyway, probably not something we want to dive into now. I mostly > just wanted to make people aware of the existence of the two > libraries. I wondered many times about introducing GLib into jabberd2. But as soon I realized that doing this would pretty much mean rewriting the whole thing, I decided to actually write the thing from scratch and started Crux http://crux.xiaoka.com/ -- /\_./o__ Tomasz Sterna (/^/(_^^' http://www.xiaoka.com/ ._.(_.)_ im:[EMAIL PROTECTED] -- To unsubscribe send a mail to [EMAIL PROTECTED]
