<endformationage>
With a seemingly quiet implementation on Scala here: http://reactors.io/
<endformationage>
I wonder if an implemetation of the model could be useful and built as a Pony library.
<endformationage>
I don't think it provides all the solutions and depth of coverage as detailed in the distributed Pony paper (and I've only read a bit of it) but I've found the mental model described in the Reactors paper to be appealing.
<endformationage>
Perhaps because I came to Pony from a Flow-Based 'drive'..
<txdv>
actors are ingrained in the language
<endformationage>
Nevertheless, I thought the descriptions of first-class channel's and event streams, and particularly their composibility, esp. in protocols seemed clean.
<txdv>
what do you mean with first class channels?
<endformationage>
I'm not sure it excludes the same patterns from being applied however..
<endformationage>
And of course that is why I ask here..
<endformationage>
As described in the paper, the equiv. to a 'first class channel' is an actor reference. Which of course is used all the time in Pony.
inoas has joined #ponylang
<endformationage>
However, there is an event stream paired to a channel, and I think a more accurate equiv. in Pony would be sending a particular behavior of an actor.
<endformationage>
The paper makes comparissons with Akka and Erlang, and so its comparisons do not consider the additions Pony has made to the Actor model.
inoas has quit [Quit: inoas]
inoas has joined #ponylang
inoas has quit [Client Quit]
<jdhorwitz>
We use Reactive programming exclusively at work, but I have a hard time picturing it within Pony
jaro has joined #ponylang
<SeanTAllen>
what is hard to picture jdhorwitz. also what does "reactive programming" mean to you?
bimawa has quit [Ping timeout: 240 seconds]
<jdhorwitz>
Stream based, event driven, which , and I'm not sure, seems to try and do the same thing as the Actor model. I could be totally wrong
<SeanTAllen>
What is "stream based"?
<SeanTAllen>
Are you talking about "reactive streams"? Or something more general?
<SeanTAllen>
I'm not into all the "reactive" frameworks and their distinctions but i believe that is inline.
<SeanTAllen>
Reactive largely being thought leader rebranding over ideas that have been around for quite a while
<SeanTAllen>
there's nothing antithetical to the actor model in the basic idea
<SeanTAllen>
a publisher is an actor
<SeanTAllen>
a subscriber is an actor
<SeanTAllen>
they communicate asynchronously, that's messages between actors
<jdhorwitz>
Which is why I thought it wouldn't be of big use in Pony but I was obviously incorrect
<SeanTAllen>
well, i dont see a lot of folks in Pony crying out for it, but it certainly an abstraction you could provide.
bimawa has quit [Ping timeout: 256 seconds]
<endformationage>
The added benefit from what I saw, and not to say it cannot be achieved otherwise, was declarative composition of event streams, which in Pony would be like using some kind of combinator on an actor's behaviors, thereby composing messages (events) recieved by an actor.
bimawa has joined #ponylang
bimawa has quit [Ping timeout: 240 seconds]
lskdjfldjflkdjf has joined #ponylang
bimawa has joined #ponylang
bimawa has quit [Ping timeout: 265 seconds]
bimawa has joined #ponylang
bimawa has quit [Ping timeout: 240 seconds]
aturley has quit [Quit: aturley]
endformationage has quit [Ping timeout: 245 seconds]