Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 using a virtual machine instead of just an interpreter?

What specifically is Parrot doing that makes it such a big deal?

like image 256
user20805 Avatar asked Sep 22 '08 23:09

user20805


People also ask

What does it mean to be called a parrot?

a person who repeats or imitates the words or actions of another unintelligently. sick as a parrot usually facetious extremely disappointed. verb -rots, -roting or -roted.

What makes a bird a parrot?

Though there are many types of parrots, all parrot species have a few traits in common. For example, to be classified as a parrot, the bird must have a curved beak, and its feet must be zygodactyl, which means there are four toes on each foot with two toes that point forward and two that point backward.

What is parrot known for?

Parrots are popular as pets, offering raucous and gaudy entertainment. Parrots, of the order Psittaciformes, are known for their wittiness, amusement, and intelligence, though they have an incredibly affectionate side as well. They are famous for the extensive imitation, including human words and multitudes of sounds.


1 Answers

Parrot is a virtual machine specifically designed to handle several languages, especially the dynamic languages. Despite some of the interesting technology involved, since it can handle more than one language, it will be able to cross language boundaries. For instance, once it can compile Ruby, Perl, and Python, it should be easy to cross those boundaries to let me use a Ruby library in Python, a Perl library from Python, so whatever combination that I like.

Parrot started in the Perl world and many of the people working on it are experienced Perl people. Instead of using the current Perl interpreter, which is showing its age, Parrot allows Perl to have features such as distributable pre-compiled modules (which everyone else has had for a long time) and a smarter garbage collector.

like image 75
brian d foy Avatar answered Oct 07 '22 22:10

brian d foy