Re: Supercompiled Perl

[email protected] (Helmut Enck-Radana)
Newsgroups perl.ai
Message-ID <[email protected]>
At 19:16 10-08-01, Andrei P. Nemytykh wrote:
>
> >"Andrei P. Nemytykh" wrote:
> >  I remember an idea ( by Sergei Romanenko ). He suggests
> >  to use supercompiler together with a meta-program. The meta-program
> >  has to be a part of a concrete operating system. It is a dispatcher
> >  of supercompilation.
> >  The program has to observe the behavior of users:
> >   - how often a concrete Perl-program is used ?
> >   - maybe, some arguments of a program have a constant intrivial
> >     properties, so its specialized version makes sense ?
> >   - maybe, something else ...
> >
> >  If the meta-program decides to transform a Perl-program, then it does
> >  that and creates a new residual version. After that any call to
> >  the original Perl-program ( within the chosen context ) is replaced
> >  with the residual version automatically.
>
>   This idea solves a number of problems of supercompilation.
>   For example,
>    -1-  Why are we in need to supercompile a program ?
>    -2-  Supercompilation can take much time to do deep transformations,
>         because of users do not wait of ending  the process at all.
>    -3-  What is more, a supercompiler can try different strategies of
>         the transformations to choose the best one.

Is the comparison of the results of applying different strategies based on 
statical analysis or on dynamic tests?

-- Helmut
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.