Re: [RFC] 64 bit platform improvements for string length and integer

From: Date: Tue, 06 May 2014 09:16:27 +0000
Subject: Re: [RFC] 64 bit platform improvements for string length and integer
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-73959@lists.php.net to get a copy of this message
On Tue, 6 May 2014, Andrea Faulds wrote:

> 
> On 6 May 2014, at 09:01, Anatol Belski <anatol.php@belski.net> wrote:
> 
> > https://wiki.php.net/rfc/size_t_and_int64_next
> 
> Am I reading this incorrectly, or is this suggesting switching to 
> 64-bit types for int(), but only for 64-bit builds? I would prefer to 
> switch to 64-bit on 32-bit platforms as well, for the sake of 
> consistency. PHP code should behave identically on 32-bit and 64-bit 
> systems.

I would agree to that. And to counteract "this is going to be slower", 
well, perhaps, but then again, AMD64 processors have been out for more 
than 10 years. And there are even ARM64 processors now, and you'd hardly 
use ARM processors for running PHP at full speed.. If you're still on 
32bit, maybe it's time to upgrade.

cheers,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine


Thread (11 messages)

« previous php.internals (#73959) next »