develooper Front page | perl.perl5.porters | Postings from April 2010

Re: -Duse64bitint pros and cons

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
April 17, 2010 08:29
Subject:
Re: -Duse64bitint pros and cons
Message ID:
20100417152906.GV9998@plum.flirble.org
On Sat, Apr 17, 2010 at 05:26:12PM +0200, Abigail wrote:
> On Thu, Apr 15, 2010 at 11:02:44AM +0200, H.Merijn Brand wrote:
> > On Wed, 14 Apr 2010 21:07:38 +0300, Niko Tyni <ntyni@debian.org> wrote:
> > 
> > > Hello Perl porters,
> > > 
> > > we have a long-standing request [1] to set -Duse64bitint on the 32 bit
> > > Debian architectures. Now that there's going to be an ABI change with
> > > 5.12.0 this would be possible, but I'm wondering if it's the right thing
> > > to do.
> > > 
> > > I'd be glad to hear any opinions and recommendations on this. I understand
> > > the downside is that the memory consumption of every IV slot doubles.
> > > Is this bad enough that use64bitint should not be enabled on a "general
> > > purpose" /usr/bin/perl ?
> > 
> > I personally find having 64bit integers available in 32bit perl when
> > possible outweigh the memory size. With files growing to sizes way
> > beyond 1970 imagination, adding up just a few file sizes already gets
> > over the 32bit limit. This is something happening every day. Same for
> > file offsets for files bigger than 2Gb which is quite common now.
> > 
> > I won't however not recommend to do or not to do it, as I have no
> > insight in how many implications this has on Debian.
> > 
> > I've built all my production perl's, also for customers, with 64bitint
> > where possible since 5.8.1
> 
> 
> Same here. 
> 
> I cannot recall ever running out of memory where I would not have
> run out of memory using 32-bit int.

At work, we're doing totally the opposite. We're moving to a 32 bit build,
to reduce our memory usage. For us, server memory usage is a problem.

You won't please everyone, whatever you do.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About