Message from discussion
Make mine SuperSized....
Newsgroups: perl.perl6.internals
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <gopal...@softhome.net>
Mailing-List: contact perl6-internals-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-intern...@perl.org
Delivered-To: perl6-intern...@perl.org
Date: Sat, 31 May 2003 20:45:14 +0530
To: perl6-intern...@perl.org
Subject: Re: Make mine SuperSized....
Message-ID: <20030531204514.A1298@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopal...@symonds.net>, perl6-intern...@perl.org
References: <1054389285.2211.685.camel@wakko>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <1054389285.2211.685.camel@wakko>; from bwarnock@raba.com on Sat, May 31, 2003 at 09:54:45AM -0400
X-Useless-Header: Look ma, no windows !
X-SMTPD: qpsmtpd/0.26-dev, http://develooper.com/code/qpsmtpd/
X-Spam-Check-By: one.develooper.com
X-Spam-Status: No, hits=-0.8 required=7.0 tests=CARRIAGE_RETURNS,FROM_ENDS_IN_NUMS,IN_REP_TO,QUOTED_EMAIL_TEXT,RCVD_IN_RFCI,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT version=2.44
X-SMTPD: qpsmtpd/0.26-dev, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: gopal...@symonds.net (Gopal V)
Lines: 35
If memory serves me right, Bryan C. Warnock wrote:
> Not to mention all the *other* problems we'll have if we've got more
> than 2^31 different opcodes. (Although that's why there's UUIDs now,
> isn't there?)
I think parrot has already crossed the limit of 1024 ...
(I can't even keep 256 opcodes in my head , let alone 1024 :-)
> And for what? To be able to add large numbers?
No .. to add large numbers very quickly ... ie split registers and
enemies ;-)
No sense in keeping an Int64 in 2 32 bit regs if you have a 64 bit
CPU & shift-mask-add .. But how can you be sure where the .pbc will
run.
> to borrow a page from the physical hardware and simply join two smaller
> registers together? (The advantage of contiguous memory regions.)
Well that's only if those two regs are in memory ... the Parrot JIT
does use a register allocation scheme , IIRC .
> Can we simplify interpreter types this much, while still providing
> extended numerics to hosted languages?
I *had* to hack out a couple of types of parrot to have fixed size
types irrespective of implementation size ... (@see dotgnu.ops)
But of course it's a sad situation that Parrot is missing
Objects still . Until then those opcodes are there to occupy numbers.
Gopal
--
The difference between insanity and genius is measured by success