Re: Asynchronous event loop brainstorm at FSF 30

2015-11-19 Thread Chris Vine
On Wed, 18 Nov 2015 10:26:25 + Chris Vine wrote: > On Tue, 17 Nov 2015 11:46:24 -0600 > Christopher Allan Webber wrote: > [snip] > > This sounds very interesting... is the source available? Could you > > point to it? > > > > Thanks! > >

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Mikael Djurfeldt
Yes. I'm sure both you and Mark can judge this better than can, currently. I just didn't think Guile was that thread-unsafe. I imagined you would have to use mutexes around some I/O and common datastructures, and that that would be about it, but I'm probably wrong... Best regards, Mikael On

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Mikael Djurfeldt
Den 4 okt 2015 02:30 skrev "Christopher Allan Webber" < cweb...@dustycloud.org>: > - This would be like asyncio or node.js, asynchronous but *not* OS >thread based (it's too much work to make much of Guile fit around >that for now) Why is this (too much work for threads)?

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Chris Vine
On Tue, 17 Nov 2015 11:46:24 -0600 Christopher Allan Webber wrote: [snip] > This sounds very interesting... is the source available? Could you > point to it? > > Thanks! > - Chris No it's not. I'll email you something. Chris

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Christopher Allan Webber
Mikael Djurfeldt writes: > Den 4 okt 2015 02:30 skrev "Christopher Allan Webber" < > cweb...@dustycloud.org>: >> - This would be like asyncio or node.js, asynchronous but *not* OS >>thread based (it's too much work to make much of Guile fit around >>that for now) > > Why is this (too

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-18 Thread Christopher Allan Webber
Chris Vine writes: > On Tue, 17 Nov 2015 11:46:24 -0600 > Christopher Allan Webber wrote: > [snip] >> This sounds very interesting... is the source available? Could you >> point to it? >> >> Thanks! >> - Chris > > No it's not. I'll email you something. > > Chris

Re: Asynchronous event loop brainstorm at FSF 30

2015-11-17 Thread Christopher Allan Webber
Chris Vine writes: > It is certainly the case that mixing threads with coroutines is usually > best avoided, otherwise it becomes very difficult to know what code > ends up running in which particular thread and thread safety becomes a > nightmare. However, it would be good to allow a worker

Re: Asynchronous event loop brainstorm at FSF 30

2015-10-04 Thread Amirouche Boubekki
Héllo, Please excuse my layman question in advance. I find the idea awesome to work on asynchronous framework for Guile. Le 2015-10-04 00:29, Christopher Allan Webber a écrit : So David Thompson, Mark Weaver, Andrew Engelbrecht and I sat down to talk over how we might go about an asynchronous

Re: Asynchronous event loop brainstorm at FSF 30

2015-10-04 Thread Nala Ginrut
Hi Christopher! I'm one of guys who's interested in this topic, say, async IO in Guile. On Sat, 2015-10-03 at 17:29 -0500, Christopher Allan Webber wrote: > - This would be like asyncio or node.js, asynchronous but *not* OS >thread based (it's too much work to make much of Guile fit around >

Re: Asynchronous event loop brainstorm at FSF 30

2015-10-04 Thread Chris Vine
On Sat, 03 Oct 2015 17:29:16 -0500 Christopher Allan Webber wrote: > So David Thompson, Mark Weaver, Andrew Engelbrecht and I sat down to > talk over how we might go about an asynchronous event loop in Guile > that might be fairly extensible. Here are some of what we

Asynchronous event loop brainstorm at FSF 30

2015-10-03 Thread Christopher Allan Webber
So David Thompson, Mark Weaver, Andrew Engelbrecht and I sat down to talk over how we might go about an asynchronous event loop in Guile that might be fairly extensible. Here are some of what we discussed, in bullet points: - General idea is to do something coroutine based. - This would be