On Sat, Jul 07, 2001 at 05:51:00PM -0500, Jarkko Hietaniemi wrote:
> > Not that innovative, really. :) Will basic blocks ever be different
> > from scopes?
> 
> The Book of the Red Dragon sayeth, p 528 in my copy:
> 
>       A basic block is a sequence of consecutive statements
>       in which flow of control enters at the beginning and
>       leaves at the end without halt or possibility of
>       branching except at the end.

[...]

I suggested something similar in 1997:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1997-02/msg00229.html

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

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

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net

Reply via email to