Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-12 Thread Kagamin
Piotr Szturmaj Wrote: > Reactor is event handling pattern, when client specify event handlers > like onRecv() and just wait for the events - these are delivered as soon > as they arrive. Proactor on the other side requires that client issue > each asynchronous operation manually - there will be

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-12 Thread Piotr Szturmaj
Kagamin wrote: Piotr Szturmaj Wrote: Kagamin wrote: eris Wrote: Windows uses a "proactor" model instead of reactor, so it schedules I/O first and then waits for an IO completion flag. I've modified my reactor so that it presents a reactor facade even on Windows systems. Huh? What does it

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-12 Thread Kagamin
Piotr Szturmaj Wrote: > Kagamin wrote: > > eris Wrote: > > > >> Windows uses a "proactor" model instead of reactor, so it schedules I/O > >> first and > >> then waits for an IO completion flag. I've modified my reactor so that it > >> presents > >> a reactor facade even on Windows systems. > > >

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-12 Thread Piotr Szturmaj
Kagamin wrote: eris Wrote: Windows uses a "proactor" model instead of reactor, so it schedules I/O first and then waits for an IO completion flag. I've modified my reactor so that it presents a reactor facade even on Windows systems. Huh? What does it change? IO is done pretty much the same

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-12 Thread Kagamin
eris Wrote: > Windows uses a "proactor" model instead of reactor, so it schedules I/O first > and > then waits for an IO completion flag. I've modified my reactor so that it > presents > a reactor facade even on Windows systems. Huh? What does it change? IO is done pretty much the same on all s

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-11 Thread Nonexistent
eris Wrote: > My library uses a straight-forward reactor approach to handle incoming events > (IO, > timer etc). The library is structured as one-thread-per-core and as many > co-routines (fibers) per thread as memory will allow. The threads communicate > with each other via lock-free single-w

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-11 Thread Nonexistent
eris Wrote: > My library uses a straight-forward reactor approach to handle incoming events > (IO, > timer etc). The library is structured as one-thread-per-core and as many > co-routines (fibers) per thread as memory will allow. The threads communicate > with each other via lock-free single-w

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-11 Thread eris
My library uses a straight-forward reactor approach to handle incoming events (IO, timer etc). The library is structured as one-thread-per-core and as many co-routines (fibers) per thread as memory will allow. The threads communicate with each other via lock-free single-writer, single-reader FI

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-09 Thread nonexistent
Piotr Szturmaj Wrote: > eris wrote: > > I used the Tango Fibers implementation (thanks Sean Kelly I believe) and > > various > > reactor libraries to implement the actor engine. > > I'm working on something similar, e.g. event-driven programming using > fibers. I need it for my upcoming network

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-09 Thread Piotr Szturmaj
eris wrote: I used the Tango Fibers implementation (thanks Sean Kelly I believe) and various reactor libraries to implement the actor engine. I'm working on something similar, e.g. event-driven programming using fibers. I need it for my upcoming network library. But I don't use queue for eac

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread eris
Andrei wrote: > Or early by nine! Ah, yes. Ahem. That's what I meant. I typo'd it. That should read 'for GSOC2012'.

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread Andrei Alexandrescu
On 7/7/11 1:47 PM, David Nadlinger wrote: On 7/7/11 10:50 PM, eris wrote: Is it too late? Unfortunately, yes, by about three months: http://www.google-melange.com/gsoc/events/google/gsoc2011 David Or early by nine! Andrei

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread eris
Sorry for the hasty overview, I was trying to squeeze my request in under the wire (and failed). My previous system (Dendrite) was a D1/Tango implementation of flow-based programming environment similar to the BBC Kamaelia/Axon system implemented in Python. It was moderately challenging and fun,

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread David Nadlinger
On 7/7/11 11:47 PM, dsimcha wrote: == Quote from eris (jvbur...@gmail.com)'s article Walter et al... I'm interested in finishing my proof-of-concept multi-core actor/flow-based programming system and I'd like to do it for D2. I've already implemented a .9 version in D1 and would like to leverag

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread dsimcha
== Quote from eris (jvbur...@gmail.com)'s article > Walter et al... > I'm interested in finishing my proof-of-concept multi-core actor/flow-based > programming system and I'd like to do it for D2. I've already implemented a > .9 version in D1 and would like to leverage the additional features and

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread eris
> Unfortunately, yes, by about three months: Damn their eyes. I'll have to do it anyway just for the fun of it. :-)

Re: Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread David Nadlinger
On 7/7/11 10:50 PM, eris wrote: Is it too late? Unfortunately, yes, by about three months: http://www.google-melange.com/gsoc/events/google/gsoc2011 David

Lock-Free Actor-Based Flow Programming in D2 for GSOC2011?

2011-07-07 Thread eris
Walter et al... I'm interested in finishing my proof-of-concept multi-core actor/flow-based programming system and I'd like to do it for D2. I've already implemented a .9 version in D1 and would like to leverage the additional features and concurrency system in D2. I'm currently tweaking it for