Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl 6 and external libraries

by jonadab (Parson)
on Apr 28, 2007 at 14:25 UTC ( #612552=note: print w/replies, xml ) Need Help??


in reply to Perl 6 and external libraries

I... know that Perl5 cannot

Actually, Perl5 can, if there is a module for it. Writing such a module requires more than surface-level knowledge and usually involves C (and sometimes also XS), but for well-known libraries there is often one already written and available on the CPAN.

Perl6 (err, Parrot, actually) will hopefully make the writing of such modules rather easier, and allow them to be written once (in any language (that targets Parrot)) and used many times (in every language (same caveat)), but I have not closely tracked the progress on that front.

-- 
We're working on a six-year set of freely redistributable Vacation Bible School materials.

Replies are listed 'Best First'.
Re^2: Perl 6 and external libraries
by chromatic (Archbishop) on Apr 29, 2007 at 00:17 UTC

    Parrot does make bindings to shared libraries that use C calling conventions much easier, and that works fairly well at the moment. I suspect that HLLs will all share the native Parrot bindings, but there will be HLL-ish and HLL-specific wrappers around the low-level bindings for individual languages.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://612552]
help
Chatterbox?
[Corion]: Whoa! Somebody forwarded the AnyEvent::Impl:: Prima loop to schmorp and he's even interested in maintaining it himself - that'd be highly convenient for me ;)
[Corion]: (I also have a mail by dk who suggests some additions, which I should add this evening)
[ambrus]: Corion: um, that was me (duh)
[ambrus]: I just can't get you two to cooperate directly because schmorp doesn't want to be in the chatterbox
[ambrus]: maybe you should join his irc channel or something, unless that causes a flame blowup

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2016-12-09 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (151 votes). Check out past polls.