in reply to Re: "I can now use Perl 5's DBI in Perl 6 :)"
in thread "I can now use Perl 5's DBI in Perl 6 :)"

There are basically 3 sane ways to do P5/Rakudo interop:

  1. let Rakudo parse Perl5 (-> v5)
  2. call into libperl via Rakudo's C FFI (-> Inline::Perl5)
  3. properly integrate the Perl5 object system into 6model (-> diakopter's grant)

All of these approaches have their pros and cons.

  • Comment on Re^2: "I can now use Perl 5's DBI in Perl 6 :)"

Replies are listed 'Best First'.
Re^3: "I can now use Perl 5's DBI in Perl 6 :)"
by BrowserUk (Patriarch) on Aug 28, 2014 at 01:53 UTC
    There are basically 3 sane ways to do P5/Rakudo interop:

    Given:

    1. all the years put into libperl;
    2. plus the fact that it is a moving target;
    3. and that it is known to be, as near as makes no difference, impossible to emulate all its functionality, quirks and bugs with any degree of accuracy

    I'd say that there is only one sane way to do P5/Rakudo interop, and that's your option 2.

    Which as I read it, is what the OP is announcing.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.