[Python-Dev] Parrot -- should life imitate satire?

Moshe Zadka m@moshez.org
Tue, 31 Jul 2001 23:10:50 +0300


On Tue, 31 Jul 2001, Guido van Rossum <guido@zope.com> wrote:

> Actually, this may not be as big a deal as I thought before.  The PVM
> doesn't have a lot of knowledge about types built into its instruction
> set.  It knows a bit about classes, lists, dicts, but not e.g. about
> ints and strings.  The opcodes are mostly very abstract: BINARY_ADD etc.

PUSH "1"
PUSH "2"
BINARY_ADD

In Python that gives "12". In Perl that gives 3.
Unless you suggest a PERL_BINARY_ADD and a PYTHON_BINARY_ADD, I 
don't see how you can around these things.

-- 
gpg --keyserver keyserver.pgp.com --recv-keys 46D01BD6 54C4E1FE
Secure (inaccessible): 4BD1 7705 EEC0 260A 7F21  4817 C7FC A636 46D0 1BD6
Insecure (accessible): C5A5 A8FA CA39 AB03 10B8  F116 1713 1BCF 54C4 E1FE
Learn Python! http://www.ibiblio.org/obp/thinkCSpy