[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comments on ‘wip-nio’
From: |
Andreas Rottmann |
Subject: |
Re: Comments on ‘wip-nio’ |
Date: |
Sun, 25 Mar 2012 12:46:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Nala Ginrut <address@hidden> writes:
> 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.
> Also "(ice-9 bsd)" which provides "kqueue" or other interesting things.
> If users try to use BSD-specific modules under Linux, we may throw an
> exception. And functions like
> "under-bsd?" or "under-linux?" maybe helpful.
> Anyway, libevent for Guile is also a good idea. But I don't think libevent
> should integrate into Guile. We can write
> a standalone guile-libevent.
>
I've been looking a bit at C event loop libraries, and just wanted to
note that libev[0] seems like a viable alternative to libevent.
[0] http://software.schmorp.de/pkg/libev.html
Regards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>
Re: Comments on ‘wip-nio’,
Andreas Rottmann <=
Re: Comments on ‘wip-nio’, Andy Wingo, 2012/03/23