develooper Front page | perl.perl6.language | Postings from October 2004

Re: Perl6/Parrot and Backwards Compatability

Thread Previous
From:
Brent 'Dax' Royal-Gordon
Date:
October 31, 2004 08:33
Subject:
Re: Perl6/Parrot and Backwards Compatability
Message ID:
b8b9a5110410310833148b9605@mail.gmail.com
Matthew Walton <matthew@alledora.co.uk> wrote:
> I suggest you read more about Parrot... it's designed to allow these
> things. There is a project (Ponie) to make Perl 5 run on Parrot, and
> there will be other languages as well - which will be able to call each
> others libraries. Making the Perl 5 libraries available to Perl 6 being
> a primary motivation. I'm not sure about how well XS will work on Ponie,
> but I assume that it will be made to work if at all possible.

XS modules that use the proper macros to deal with Perl 5 SVs should
work fine with Ponie.  Ones that muck around in the internals of SVs,
or deal with things like the parse tree (B::*), will need to be
rewritten.  (But many of those things are necessary because Parrot
does them very differently--e.g. it uses bytecode instead of executing
the parse tree directly.)

--
Brent 'Dax' Royal-Gordon <brent@brentdax.com>
Perl and Parrot hacker

There is no cabal.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About