guile-user
[Top][All Lists]
Advanced

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

Re: [ANN] Guile-Parallel 1.0.0 released


From: Olivier Dion
Subject: Re: [ANN] Guile-Parallel 1.0.0 released
Date: Mon, 02 Jan 2023 15:28:17 -0500

On Mon, 02 Jan 2023, Greg Troxel <gdt@lexort.com> wrote:
> O
> Olivier Dion via General Guile related discussions <guile-user@gnu.org>
> writes:
>
>> I haven't use fibers a lot, but I think that if you ever need to handle
>> asynchronous I/O, for now you should stick with fibers.  Also, fibers
>> was written by peoples that have a way better understanding of Guile
>> internal then I do, so I would expect it to be better in some areas.  It
>> also use epoll(2) instead of select(2), which is way better for events
>> listening.  I will make the change once Guile has native support for
>> epoll(2).  I currently only use select(2) for listening on
>> timerfd_create(2) timers to handle sleeps of userspace threads, so the
>> impact is marginal.
>
> epoll is as I understand it linux only so that's not a reasonable
> dependency.   fibers now works with libevent which wraps multiple
> faclilities and is thus pretty portable.

I typically only develop for Linux.  But I don't mind using an
abstraction that could be portable for other systems.  Do you think
libevent has something similar to timerfd_create(2)?  That is, timers
represented by file descriptor.

-- 
Olivier Dion
oldiob.dev



reply via email to

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