[phobos] std.event / event loop for phobos

Andrei Alexandrescu andrei at erdani.com
Sun Jan 2 14:53:03 PST 2011


On 9/9/10 12:19 AM, Masahiro Nakagawa wrote:
> On Wed, 08 Sep 2010 23:53:13 +0900, Johannes Pfau
> <johannespfau at googlemail.com> wrote:
>
>> On 08.09.2010 16:02, Masahiro Nakagawa wrote:
>>>
>>> I am thinking about std.event.
>>> This module supports system-dependent APIs(kqueue, epoll, etc...) and
>>> abstraction layer.
>>>
>> I think the best solution would be a wrapper / abstraction layer for
>> libev. All of the mentioned APIs (kqueue, epoll, select...) are broken
>> in some way, so writing a new event loop system in D will be painful and
>> it will take a long time until it gets stable. Also libev already has
>> support for more event sources (timer, periodic, signal, stat, ...).
>
> libev is a good library. I often use rev in Ruby programming.
>
> Can Phobos include this library?

To clarify my position: I think it would be great if Phobos included a 
popular event library, but I'm not an expert in any so I can't initiate 
such an effort.

Andrei


More information about the phobos mailing list