Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

fglock (5723)

fglock
  (email not shown publicly)

Journal of fglock (5723)

Monday April 12, 2010
02:32 PM

Fun with "go routines" in Perl 6

[ #40310 ]

I've just added experimental support to "go routines" to Perlito's Go backend:

$ perl mp6.pl -Bgo -e ' go sub { say 123; say "aaa" }; go sub { say 456; say "bbb" }; say "here"; say "now"; '

here123456

nowaaabbb

Go "Channels" are not supported yet.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Great to see you're keeping working on this project! :D

    Is there any plan to add a lua backend?

    We're currently working on ngx_lua which embeds lua into the nginx core. And we're thinking about compiling your miniperl6 down to lua and running it in our web service platform ;)

    -agentzh