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.
>
>I'm not sure about Parrot, but for Perl 6 Larry has specifically
>said that he intends to extend to Perl "sub" declarations to enable
>them to contain all the information required to link to external
>libraries.

Yep, for libraries we wrap, the prototyped sub declarations should be 
sufficient at module build time to construct a stub interface.

>But that might have to wait for Apocalypse 21.

The only thing that'll wait for A21 is how it looks in perl. We 
should have a working extension system within a few months.

>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.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to