Newsgroups: perl.perl6.internals
From: mrjoltc...@mindspring.com (Melvin Smith)
Date: Sat, 22 Nov 2003 12:50:49 -0500
Local: Sat, Nov 22 2003 12:50 pm
Subject: Bytecode portability and word/int sizes
At 12:13 PM 11/22/2003 +0000, you wrote:
> * write intval size into PBC header Leo, I know this is a first cut at freeze/thaw, and I'm happy you've done it. Let me make some comments to you and Dan. I'm pretty sure Dan and I discussed this when I was reworking bytecode A) I didn't look at your commit to see the reason for storing the INTVAL size Parrot currently assumes INTVAL size == OPCODE size because While we may have platforms that have void */size_t > than INT, An int should always pack into 1 opcode_t, if it doesn't we have configured B) For bytecodes to be portable we have to have some rules about Since it is NEVER portable for someone to write code using the Ix The fact that: set I0, 0 Runs differently between platforms is enough reason to make The summary of this: Parrot must use a PMC Int type to store portable data, so the INTVAL -Melvin You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||