[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Comments on ‘wip-nio’

From: Ludovic Courtès
Subject: Re: Comments on ‘wip-nio’
Date: Thu, 22 Mar 2012 21:40:50 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)


Nala Ginrut <address@hidden> skribis:

> On Thu, Mar 22, 2012 at 6:39 AM, Ludovic Courtès <address@hidden> wrote:
>> Hello,
>> I had a quick look at ‘wip-nio’, and here are initial comments.
>>  • epoll is Linux-specific.  Any idea how a more multi-platform API
>>    could be provided?  I guess libevent could be used, but we don’t
>>    want to add one more dependency in 2.0.  How much is (ice-9 nio)
>>    dependent on epoll vs. poll, for instance?
> Maybe add a module named "(ice-9 linux)"? And we may add more
> Linux-specific things.

I’d rather have (ice-9 event) or such, and do our best to provide a
portable implementation of the feature.


>  • ‘nio’ doesn’t seem very descriptive to me; ‘nbio’ maybe?
> In my server project, I named it "aio" since it's asynchronous.

Right, that’s also the name of the POSIX API for that, so it’s probably
a good choice.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]