Re: Coroutines

2015-09-01 Thread Matija Papec
comes out. regards 14.08.2015, 19:09, "Timo Paulssen" : > On 08/14/2015 12:04 PM, Matija Papec wrote: >>  Hi, >> >>  I'm looking for single threaded coroutines in perl6. Will hyper/race make >> them possible? >>  Will 2015 production Rakudo in

Re: Coroutines

2015-08-14 Thread Timo Paulssen
On 08/14/2015 12:04 PM, Matija Papec wrote: > Hi, > > I'm looking for single threaded coroutines in perl6. Will hyper/race make > them possible? > Will 2015 production Rakudo include async IO? > > Right now I'm considering golang for scalable websocket service, bu

Coroutines

2015-08-14 Thread Matija Papec
Hi, I'm looking for single threaded coroutines in perl6. Will hyper/race make them possible? Will 2015 production Rakudo include async IO? Right now I'm considering golang for scalable websocket service, but also wonder if perl6 would (and how) make such thing possible. ps. I

Coroutines in Perl 6 (Was: Re: Converting a Perl 5 "pseudo-continuation" to Perl 6)

2009-01-02 Thread Daniel Ruoso
Em Qui, 2009-01-01 às 12:34 -0800, Geoffrey Broadwell escreveu: > In the below Perl 5 code, I refactored to pull the two halves of the PID > file handling out of init_server(), but to do so, I had to return a sub > from pid_file_handler() that acted as a "continuation". The syntax is a > bit ugly,

Re: Coroutines in Perl 6 (Was: Re: Converting a Perl 5 "pseudo-continuation" to Perl 6)

2009-01-02 Thread Daniel Ruoso
Em Sex, 2009-01-02 às 08:34 -0300, Daniel Ruoso escreveu: > token routine_def: {...} Actually, I was just looking at STD, and the correct token would be token routine_declarator:coro { } I was also looking at the spec files, and I realized that DRAFT S17 mentions coroutines, but