Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Very simply because VMs are not created equal.

A VM for Perl should have common Perl operations be single units in the VM. For instance Perl does a lot of hash lookups. That should be an opcode.

Java's VM creates something much closer to a virtual machine. (Note that not only does Java's VM not define a hash lookup as a basic operation, but Java doesn't either!) This is a bad fit for what Perl spends its time doing, you want your basic operations to be as fast as possible, and you want basic operations that can be mapped well to the Perl code.

Incidentally Perl 5 already has what is for all intents and purposes a VM. For obvious reasons that is a far more appropriate model for Perl 6 than Java's would be.


In reply to Re (tilly) 1: Questions On the Perl VM, Parrot, .Net, and the JVM... by tilly
in thread Questions On the Perl VM, Parrot, .Net, and the JVM... by eduardo

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-18 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found