Questions tagged [parrot]

Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. Initially build for Perl 6, it strives to implement many different languages and provide a compatible cross-language data representation. Parrot currently hosts a variety of language implementations in various stages of completion, including Tcl, Javascript, Ruby, Lua, Scheme, PHP, Python, Perl 6, APL, and a .NET bytecode translator.

Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. Initially built for Perl 6, it strives to implement many different languages and provide a compatible cross-language data representation. Parrot currently hosts a variety of language implementations in various stages of completion, including Tcl, Javascript, Ruby, Lua, Scheme, PHP, Python, Perl 6, APL, and a .NET bytecode translator.

Free Parrot / Perl 6 Book

32 questions
28
votes
7 answers

How does Parrot compare to other virtual machines?

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 Virtual Machine (JVM)/Hotspot VM and Common Language Runtime (CLR) lack?
knorv
  • 49,059
  • 74
  • 210
  • 294
26
votes
7 answers

What exactly is Parrot?

I understand that Parrot is a virtual machine, but I feel like I'm not completely grasping the idea behind it. As I understand, it's a virtual machine that's being made to handle multiple languages. Is this correct? What are the advantages of…
user20805
  • 1,347
  • 1
  • 11
  • 10
15
votes
3 answers

LLVM, Parrot, JVM, PyPy + python

What is the problem in developing some languages, for example python for some optimized techniques with some of LLVM / Parrot. PyPy, LLVM, Parrot are the main technologies for common platform development. I see this like: PyPy - framework to…
Robert Zaremba
  • 8,081
  • 7
  • 47
  • 78
12
votes
3 answers

What is the release date for Rakudo Star (perl6)?

If a specific release date is not available (as I suspect it is not), can you provide resources for tracking how close it is to the desired feature set that allows release. I'm not necessarily asking for a percentage gauge, or X of Y features…
kbenson
  • 1,464
  • 9
  • 13
8
votes
4 answers

What is a good VM for developing a hobby language?

I'm thinking about writing my own little language. I found a few options, but feel free to suggest more. JVM Parrot OSA A lot of languages are using the JVM, but unless you write a Java-ish language, all the power the stdlib gives you is going to…
Pepijn
  • 4,145
  • 5
  • 36
  • 64
7
votes
2 answers

Is Ruby or other language going to run faster on Parrot?

I just saw that there is a Ruby to Parrot compiler called Cardinal, which can create code to run on Parrot, which is a VM that can run byte-code. How is the performance of Ruby or any language compile to it and run there because for example, Ruby…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
6
votes
2 answers

Parrot - Can I use it? And how?

I've had an eye on Parrot for a little while. I understand that it's a virtual machine designed to run a variety of dynamic languages, and to allow a degree of interoperability (e.g. calling a Perl function from a Python script). So, my question is…
Thomas K
  • 39,200
  • 7
  • 84
  • 86
5
votes
2 answers

Why to use Parrot (or other VM) if I have an interpreter?

Why should I use VM, like Parrot, for a dynamic language I use (Python, Perl, ...) if I already have an interpreter? What can I potentially gain, for the cost of having different VM between my code and my machine, and by using a separate…
Jakub M.
  • 32,471
  • 48
  • 110
  • 179
5
votes
2 answers

Do VMs like LLVM or PARROT allow usage of the same library from multiple languages?

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)...
Jox
  • 7,132
  • 14
  • 49
  • 63
3
votes
1 answer

What's the benefit of Parrot VM for end-users?

What's the benefit of the Parrot Virtual Machine for end-users (software developers)? For example, if I could program against Perl or Python directly why would I bother programming for them under Parrot?
Gili
  • 86,244
  • 97
  • 390
  • 689
3
votes
1 answer

Ports of the Parrot VM

Is there a list of the operating systems for which the Parrot virtual machine can be built? I would rather not go through the release notes of every version to figure it out.
JasonFruit
  • 7,764
  • 5
  • 46
  • 61
2
votes
2 answers

Parrot VM and Static Languages

Can you create a statically typed language in Parrot VM or does it have to be dynamically typed?
Christopher
  • 639
  • 1
  • 6
  • 14
2
votes
1 answer

How do register-based virtual machines implement registers

How do register-based virtual machines implement registers. I've been reading a lot of online information about register-based virtual machines and I've seen int r[16]; used as the method to implement the registers. This brings up a few questions…
zeitue
  • 1,674
  • 2
  • 20
  • 45
2
votes
1 answer

Does Parrot have a multi-threaded parallel garbage collector?

My question is about the garbage collector in the Parrot Virtual Machine ( http://www.parrot.org ). Is it multi-threaded?
peterh
  • 11,875
  • 18
  • 85
  • 108
1
vote
1 answer

Can I use Parrot Compiler Tools from installed parrot-devel package on Linux?

I am interested in creating my own language using Parrot VM. I have installed the parrot-devel package along with parrot and dependencies (using Synaptic package manager under Linux Mint 11). I found a tutorial (…
dukereg
  • 722
  • 5
  • 16
1
2 3