Re: About actor syntax for Groovy 3

2017-01-08 Thread Jochen Theodorou
On 08.01.2017 13:08, Daniel Sun wrote: Hi Jochen, I'm looking for a new syntax for concurrency programming, which should be able to hide complex for developers. As you said, the actor syntax is not necessary. I agree with you, because it just replaces 'send' method with '<<', but I wish

Re: About actor syntax for Groovy 3

2017-01-08 Thread Daniel Sun
ic could let us think about the concurrency programming syntax. Cheers, Daniel.Sun -- View this message in context: http://groovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574p5737598.html Sent from the Groovy Dev mailing list archive at Nabble.com.

Re: About actor syntax for Groovy 3

2017-01-07 Thread Jochen Theodorou
On 07.01.2017 18:16, Daniel Sun wrote: Hi all, As we all know, GPars is awesome in concurrency programming. How about introducing a new syntax for GPars's actor(http://www.gpars.org/guide/guide/actors.html) to support concurrency programming better like Erlang and Scala(https://rocketeer.

Re: About actor syntax for Groovy 3

2017-01-07 Thread Russel Winder
On Sat, 2017-01-07 at 18:30 +0100, Jesper Steen Møller wrote: > But > > Wouldn’t << be a natural choice which would work today? > > -Jesper > All pull requests against the jdk8 branch will be reviewed. -- Russel. = Dr

Re: About actor syntax for Groovy 3

2017-01-07 Thread Russel Winder
> > should be modified as: > > > > > > class ActorTest  { > > >    public static void main(String[] args) { > > >    def counter = new Counter() > > >    counter.start() > > > > > >    for (i in

Re: About actor syntax for Groovy 3

2017-01-07 Thread jim northrop
gt; >counter <- i// send message to the counter actor > >} > > } > > > > should be modified as: > > > > class ActorTest { > >public static void main(String[] args) { > >def counter = n

Re: About actor syntax for Groovy 3

2017-01-07 Thread Andres Almiray
unter() > > counter.start() > > > >for (i in 0 .. 10) { > > counter <- i// send message to the counter actor > >} > >} > > } > > > > > > > > -- > > View this message i

Re: About actor syntax for Groovy 3

2017-01-07 Thread Daniel Sun
i// send message to the counter actor > } >} > } > > > > -- > View this message in context: > http://groovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574p5737575.html > Sent from the Groovy Dev mailing list archive at Nabble.com.

Re: About actor syntax for Groovy 3

2017-01-07 Thread Daniel Sun
Any thoughts? > > Cheers, > Daniel.Sun > > > > -- > View this message in context: > http://groovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574.html > Sent from the Groovy Dev mailing list archive at Nabble.com. ____________ If

Re: About actor syntax for Groovy 3

2017-01-07 Thread Daniel Sun
) > >for (i in 0 .. 10) { > counter <- i// send message to the counter actor > } >} > } > > > > -- > View this message in context: > http://groovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574p5737575.html

Re: About actor syntax for Groovy 3

2017-01-07 Thread jim northrop
t; > > > class ActorTest { > >def counter = new Counter() > >counter.start() > > > >for (i in 0 .. 10) { > >counter <- i // send message to the counter actor > >} > > } > > > > Any thoughts? > > > > Cheers, > > Daniel.Sun > > > > > > > > -- > > View this message in context: http://groovy.329449.n5. > nabble.com/About-actor-syntax-for-Groovy-3-tp5737574.html > > Sent from the Groovy Dev mailing list archive at Nabble.com. > >

Re: About actor syntax for Groovy 3

2017-01-07 Thread jim northrop
>for (i in 0 .. 10) { > >counter <- i // send message to the counter actor > >} > > } > > > > Any thoughts? > > > > Cheers, > > Daniel.Sun > > > > > > > > -- > > View this message in context: http://groovy.329449.n5. > nabble.com/About-actor-syntax-for-Groovy-3-tp5737574.html > > Sent from the Groovy Dev mailing list archive at Nabble.com. > >

Re: About actor syntax for Groovy 3

2017-01-07 Thread jim northrop
t; > > should be modified as: > > > > class ActorTest { > >public static void main(String[] args) { > >def counter = new Counter() > >counter.start() > > > >for (i in 0 .. 10) { > > counter <- i

Re: About actor syntax for Groovy 3

2017-01-07 Thread Jesper Steen Møller
unter = new Counter() >counter.start() > >for (i in 0 .. 10) { >counter <- i// send message to the counter actor >} > } > > Any thoughts? > > Cheers, > Daniel.Sun > > > > -- > View this message in context: > http://groovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574.html > Sent from the Groovy Dev mailing list archive at Nabble.com.

Re: About actor syntax for Groovy 3

2017-01-07 Thread Andres Almiray
o the counter actor >} >} > } > > > > -- > View this message in context: > http://groovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574p5737575.html > Sent from the Groovy Dev mailing list archive at Nabble.com.

Re: About actor syntax for Groovy 3

2017-01-07 Thread Daniel Sun
ter() counter.start() for (i in 0 .. 10) { counter <- i// send message to the counter actor } } } -- View this message in context: http://groovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574p5737575.html Sent from the Groovy Dev m

About actor syntax for Groovy 3

2017-01-07 Thread Daniel Sun
oovy.329449.n5.nabble.com/About-actor-syntax-for-Groovy-3-tp5737574.html Sent from the Groovy Dev mailing list archive at Nabble.com.