>>>>> "RC" == Rocco Caputo <[EMAIL PROTECTED]> writes:

  RC> I suggested something similar in 1997:

  RC> The message proposed a tasking package that would dispatch atomic
  RC> chunks of code.  I eventually wrote one in Perl; it's on the CPAN
  RC> as POE.  In the Perl version, code atoms are just carefully coded
  RC> subs.  They would be basic blocks in a bytecode dispatcher.

  RC> I still like the idea, so a few months ago I wrote a prototype of
  RC> it in C for perl6-internals to tinker with.  It's called "phat",
  RC> there is some discussion about it in the list archive, and the
  RC> working prototype (for prototypical values of "working") is still
  RC> at <http://poe.perl.org/phat/phat.c>.


well, we all agree there will be op code granularity event support in
perl6. you can just set the event flag every time throught the op loop
and a callback per op code can be made. the event handling code would have a
flag set that causes the op loop event flag to be set.

by hooking various callbacks into the event handling code, we can keep
the event checking to a single flag check in the op loop.

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Learn Advanced Object Oriented Perl from Damian Conway - Boston, July 10-11
Class and Registration info:     http://www.sysarch.com/perl/OOP_class.html

Reply via email to