How does Parrot compare to other virtual machines?

前端 未结 7 1692
梦如初夏
梦如初夏 2021-02-01 03:52

Parrot is the virtual machine originally designed for Perl 6.

What technical capabilities does the Parrot VM offer that competing virtual machines such as the Java Virtu

7条回答
  •  灰色年华
    2021-02-01 04:25

    I don't know JVM and CLR enough, but my tips:

    • dynamic languages (closures, polymorphic scalars, continuations, co-routines) support (speed)
    • dynamic method dispatch,
    • first class functions,
    • first-class continuations,
    • parameters (optional, named, ..),
    • register based
    • has HLL interoperability provided at an assembly level
    • range of platforms

    Update: This is probably irrelevant as JVM is one of Rakudo Perl 6 backends nowadays. See Rakudo Perl 6 on the JVM (Perl 6 Advent calendar 2013, Day 3).

提交回复
热议问题