groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: About actor syntax for Groovy 3
Date Sun, 08 Jan 2017 03:44:47 GMT
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.be/articles/concurrency-in-erlang-scala/)? We can
> use <- to indicate sending messages(Erlang and Scala uses !). The initial
> idea is shown as follows:

frankly, I donĀ“t think we need a new syntax for this. I was thinking 
about implementing something like async-await for Groovy, but that too 
will not require a grammar change

bye Jochen

Mime
View raw message