Nala Ginrut <nalagin...@gmail.com> writes: > On Thu, Mar 22, 2012 at 6:39 AM, Ludovic Courtès <l...@gnu.org> 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/>