Is there a current ruby binding to libevent?

Is anyone aware of a current binding to libevent?
I’ve been unable to google one up.

Thanks,
reid

On Mon, Jun 14, 2010 at 6:38 AM, Reid T. [email protected]
wrote:

Is anyone aware of a current binding to libevent?
I’ve been unable to google one up.

There have been attempts to make one but it has proven to be more
profitable to create a dedicated Ruby library for event-driven
programming. Try here:

http://rubyeventmachine.com/

On Mon, Jun 14, 2010 at 6:38 AM, Reid T.
[email protected]wrote:

Is anyone aware of a current binding to libevent?

Rev is a binding to libev, which is similar to libevent, but faster:

http://github.com/tarcieri/rev

On 2010-06-14 08:17:51 -0700, Tony A. said:

[Note: parts of this message were removed to make it a legal post.]

On Mon, Jun 14, 2010 at 6:38 AM, Reid T. [email protected]wrote:

Is anyone aware of a current binding to libevent?

Rev is a binding to libev, which is similar to libevent, but faster:

http://github.com/tarcieri/rev

You may also want to check out EventMachine[1], a similar event-driven
system that seems to be the current de facto standard and is the basis
for a number of popular gems including rest-client[2].

[1] http://rubyeventmachine.com/
[2] GitHub - archiloque/rest-client: A link to the new repository

Dominic S. wrote:

Is anyone aware of a current binding to libevent?

Rev is a binding to libev, which is similar to libevent, but faster:

Yes, but the newer version of libevent is going to have IOCP support in
windows so might be better for a mult-platform base event library

libevent bindings would be nice, for just that reason. I also have this
gut feeling that eventmachine isn’t as fast as a “finely tuned” event
implementation could be.

I even added a bounty for it:
http://wiki.github.com/rdp/ruby_bounties/ruby-bounties#libevent

Enjoy.
-rp

Is anyone aware of a current binding to libevent?

Rev is a binding to libev, which is similar to libevent, but faster:

Yes, but the newer version of libevent is going to have IOCP support in
windows so might be better for a mult-platform base event library

On Thu, Jun 17, 2010 at 2:02 PM, Roger P. [email protected]
wrote:

libevent bindings would be nice, for just that reason. I also have this
gut feeling that eventmachine isn’t as fast as a “finely tuned” event
implementation could be.

I even added a bounty for it:
http://wiki.github.com/rdp/ruby_bounties/ruby-bounties#libevent

It shouldn’t be too difficult to take Rev and modify it to use libevent
as
the backend instead of libev. They share extremely similar APIs.

Rev already supports Windows… kind of.

On Tue, Nov 22, 2011 at 02:09:02PM +0900, ruby coder wrote:

GitHub - ayanko/libevent: C extension to libevent library

There are a couple of good event loop libraries in Ruby, probably the
most
popular is EventMachine which has its own event loop system.
http://rubyeventmachine.com/

Another good one is cool.io http://coolio.github.com/ which is a wrapper
around
and includes libev

enjoy,

-jeremy