Johan Tibell <johan.tib...@gmail.com> writes:

> Hi Aran,
>
> On Fri, Apr 30, 2010 at 9:28 PM, Aran Donohue <aran.dono...@gmail.com> wrote:
>
>     Thanks for the excellent links, that's exactly what I wanted. It's
>     interesting that they've chosen not to base the new work on
>     libevent. 
>
> The reason was mostly performance concerns due to libev(ent) using
> callbacks to signal events. Callbacks from C into Haskell can be
> inefficient. From the FFI addendum:

Anecdotally, I can confirm this; we're using the FFI binding to libev in
a project and for typical workloads it's actually a little slower than
the plain-jane select()-based Haskell version. It scales better as you
add connections of course.

G
-- 
Gregory Collins <g...@gregorycollins.net>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to