On Mon, 4 Mar 2002, Dan Sugalski wrote: > At 10:00 AM +0000 3/4/02, Tim Bunce wrote: > >On Fri, Mar 01, 2002 at 05:17:28AM -0800, Brent Dax wrote: > >> After banging my head against a wall for a few hours with Perl 5's XS, I > >> have an idea for how Parrot can do it better. > > >Also, on a tangent, I hope someone is pondering, or planning to > >ponder, the practicallity of some kind of perl5 XS to perl6 interface > >that would enable perl5 extensions to be ported to perl6 with less > >effort than a complete rewrite. It needn't be clean, elegant, or > >fast, but I think there's too much good work on CPAN to ignore. > > I was hoping to avoid that, since the current interface is a mess, > but we might be able to deal with at least some of the current API. > I'll see what we can do.
At the very worst we can extend a dodgy hack I played with a few weeks ago and embed a perl interpreter into parrot, then we only need to write parrot <=> perl5 glue (essentially pmc->sv mappings) and many things might be able to fly with a minimum of problems. That said, a) there must a better solution and b) I'm undoubtedly on crack with this one. Nevertheless, it appeals to me although I'm slighty worried by this. Alex Gough -- The universe can't lie; it just does what it does, and there's nothing else to it. People are the very opposite. There's nothing to which we'll devote more time, and energy, and cunning, than burying the truth.
