The original and current justification for developing MoarVM is to run Perl 6. I didn't mean to suggest otherwise.

That said, now you've raised the question of the point of MoarVM, I'm not comfortable leaving the foregoing as the complete answer because imo MoarVM is relevant to P5, ignoring P6.

First, note that there's a "P5interop" project that is starting out by embedding libperl in MoarVM. This will allow Perl 5 code to call "Perl 6 code" and vice-versa. (Sept 2014 update: See the new Inline::Perl5. This embeds libperl, is known to work with Rakudo HEAD on MoarVM, and is expected to work with other backends in due course.)

Second, note that "Perl 6 code" can include any code from any language compiled using a compiler written in Perl 6. If someone wrote a python compiler in P6, python code could call P5 code and vice-versa. In this scenario, P6 would be a behind-the-scenes implementation detail.

Third, note that there's a "v5" project, a new implementation of "pure" Perl 5. The "pure" means no XS. But don't forget the P5interop project mentioned above.

In summary, to more fully answer your question given my own personal view, the original and current justification for MoarVM development was and is to run Perl 6, but the outcome is set to include a reimplementation of Perl 5 with Perl 6 as an implementation detail (or as a side-benefit, if someone prefers to see it as such).


In reply to Re^4: MoarVM update by raiph
in thread MoarVM update by raiph

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.