Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
coroutines
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt Fowles  
View profile  
 More options Jun 30 2005, 3:55 pm
Newsgroups: perl.perl6.internals
From: uberm...@gmail.com (Matt Fowles)
Date: Thu, 30 Jun 2005 15:55:58 -0400
Local: Thurs, Jun 30 2005 3:55 pm
Subject: Re: coroutines
Leo~

On 6/30/05, Leopold Toetsch <l...@toetsch.at> wrote:

> Nice summary with examples:

> ftp://ftp.inf.puc-rio.br/pub/docs/techreports/04_15_moura.pdf

> and we still have to define semantics of parrot couroutines, e.g. WRT
> argument passing. See also Dan's blogs about couroutines,

I prefer the option of repassing arguments to coroutines.  It is
slightly easier to emulate not repassing with repassing then vice
versa.  That and it just feels more powerful to me.

Matt
--
"Computer Science is merely the post-Turing Decline of Formal Systems Theory."
-???


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Jun 30 2005, 3:47 pm
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Thu, 30 Jun 2005 21:47:10 +0200
Local: Thurs, Jun 30 2005 3:47 pm
Subject: coroutines
Nice summary with examples:

ftp://ftp.inf.puc-rio.br/pub/docs/techreports/04_15_moura.pdf

and we still have to define semantics of parrot couroutines, e.g. WRT
argument passing. See also Dan's blogs about couroutines,

leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Jun 30 2005, 4:40 pm
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Thu, 30 Jun 2005 22:40:07 +0200
Local: Thurs, Jun 30 2005 4:40 pm
Subject: Re: coroutines

On Jun 30, 2005, at 21:55, Matt Fowles wrote:

> Leo~

> On 6/30/05, Leopold Toetsch <l...@toetsch.at> wrote:
>> Nice summary with examples:

>> ftp://ftp.inf.puc-rio.br/pub/docs/techreports/04_15_moura.pdf

>> and we still have to define semantics of parrot couroutines, e.g. WRT
>> argument passing. See also Dan's blogs about couroutines,

> I prefer the option of repassing arguments to coroutines.  It is
> slightly easier to emulate not repassing with repassing then vice
> versa.  That and it just feels more powerful to me.

Sounds reasonable.

Given the 3 operations of the paper:

   create    ... newsub Px, .Coroutine, *Pfunc*
   resume    ... invoke Px
   yield         invoke Px # inside the coro

and

   return        returncc  # terminate coro - invalidate

and the combinations of argument passing i.e. inserting appropriate
set_args/_returns and get_params/get_results, we can express all these
semantics.

I think we need a howto and tests ;-)

> Matt

leo

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »