Differences between revisions 3 and 4
Revision 3 as of 2004-03-04 04:37:23
Size: 2282
Editor: dsl254-010-130
Comment: see also: IronPython
Revision 4 as of 2004-03-05 06:32:57
Size: 2365
Editor: aaron
Comment: Parrot Wiki
Deletions are marked like this. Additions are marked like this.
Line 51: Line 51:
There is now [http://www.vendian.org/parrot/wiki/ a Parrot wiki.] -- LionKimbro

Python and Parrot

I am surprised we don't have a page on Parrot yet.

Here's notes from an email; I'm not taking the time to make it nice yet. If someone (hopefully someone more knowledgeable than me) wouldn't mind reworking this page and telling us about what's going on, it'd be greatfully appreciated..! (Sort of embarassing having the contents of a personal email on display here...)

> > btw, what exactly is Parrot for? I've heard that it is an interpreter
> > to run both python and perl bytecodes?
> 
>   Parrot is, basically, .Net or the JVM for Scripting languages.
> 
>   I thought it was just a "someday, maybe," thing, because I don't
>   see much online about it. But then, I asked about it at the
>   local Python meeting group, and the guys who know guys said,
>   "No, no; This is real. This is certain. This is what Guido and
>   company are doing."
> 
>   It means that you could extend MoinMoin in Perl. Our scripts would
>   call each other. Our lists would be the same, our dictionaries,
>   etc., etc.,.
> 
>   You could write a function that calls a Python function which
>   goes back and calls on still more Perl functions.
> 
>   There are PHP people getting into the action too. It looks like
>   all three languages will interoperate.
> 
>   The problem with .NET is that it's strongly typed. It's very
>   hard to write fast Python or Perl code that interoperates with it.
>   Parrot will be fast.

-- LionKimbro

No one is actively working on Python on top of Parrot at this point in time, certainly not Guido. I took [http://www.amk.ca/conceit/parrot.html a crude stab at a compiler]; Michal Wallace wrote [http://pirate.tangentcode.com/ Pirate], which handles more of Python. The primary Parrot developer has issued [http://www.sidhe.org/~dan/blog/archives/000219.html a challenge] that Parrot will run a Python benchmark faster than CPython by July 2004.

Note that the claims of Parrot being much faster are proof-by-assertion at this point; no one has implemented full Perl or Python on Parrot and timed it against the original implementation. At last report, Pirate runs around 8 or 9 times slower than CPython. --amk

There is now [http://www.vendian.org/parrot/wiki/ a Parrot wiki.] -- LionKimbro


See also: IronPython

PythonAndParrot (last edited 2008-11-15 14:00:52 by localhost)

Unable to edit the page? See the FrontPage for instructions.