Question

Is it possible to use one framework written in one Parrot (LLVM) language in any other Parrot (LLVM) language? (Like usage of .NET Framework from any CLR language)...

Was it helpful?

Solution

Parrot and LLVM are two different things made by two different organizations.

Parrot is a VM, and LLVM is a VM that can also compile statically.

Edit

Assuming the comments to my answer are correct:

  1. LLVM allows you to call other LLVM code and also external C like libraries.
  2. Parrot allows you to call other Parrot code, but not external C like libraries.

http://en.wikipedia.org/wiki/Comparison_of_application_virtual_machines

OTHER TIPS

LLVM

Stands for low-level virtual machine. It uses low-level opcodes that easily map to native machine code.

  • Languages: Fortran, C, C++
  • Applications: Systems Programming, Compiler Development

Parrot:

This is a high-level virtual machine. Its opcodes are much higher level then those in most virtual machines. This allows Parrot to generate efficient native code for dynamic languages.

  • Languages: Ruby, Perl, PHP
  • Applications: server-side scripting
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top