On Fri, Dec 14, 2007 at 02:04:22AM +0100, Chris Brody <[EMAIL PROTECTED]> wrote:
> Despite the power and simplicity of the ev++.h API, I will have
> trouble to keep using the libev at work for the time being
sounds like political problems, as, if it were technical you'd surely slap
them aorund my face :)
> returning to libevent (with eventxx). As a partial workaround, I have
> started a C++ compatibility API in an attempt to combine the best of
> both worlds from ev++.h and libevent/eventxx.
that sounds interesting. I hope leandro can take advantage of your work (I
read his mail).
in any case, we all follow slightly different agendas - mine was to arrive
at a suitable perl interface and also replace my older "io_manager"
module which worked fine but extremely inefficient. ev++.h was designed
to replace io_manager in spriit for use it my projects (the actual syntax
became quite different in the end, but it still fully reflects the
io_manager interface style).
eventxx on the other hand provides more generic callback functions, and
certainly more overall functionality (such as the dispatcher). i would
hope that at one point eventxx fills the "overall full powered interface"
niche while ev++.h stays a very primitive event-struct-only wrapper with
less but more streamlined functionality.
> Any feedback would be appreciated at this point.
"whole seconds" (as used in ioevent.h) sounds a bit limiting, even if it
works for you.
apart from that, I couldn't detect anything that looks offensive to me :)
(it has to work for your use cases, after all).
> the coming days. I also have some other personal projects, for which I
> can embed and test libev along with the C++ intefaces even more.
That sounds great, as usual. Do not feel compelled to use libev unless
you are curious. Its still a somewhat moving target, and still I find the
occasional bug (like the rceent timer heap corruption).
Of course I would like more widespread acceptance in millions of projects,
but as libev+EV actually fulfills all my personal needs in *my* projects.
Maybe what you need to do is write your own event library at one point. It
took me almost a decade to realise this, and I only realiased it once I
actually wrote the second one :)
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev