Re: Re: 64bit and phpng, votes and plans

From: Date: Tue, 20 May 2014 23:02:49 +0000
Subject: Re: Re: 64bit and phpng, votes and plans
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-74394@lists.php.net to get a copy of this message
Hello Yasuo,

I know a lot of companies that switched (or plan to switch) to 5.5 only because of better
performance.

Regards,
Thomas


Yasuo Ohgaki wrote on 21.05.2014 00:35:

> Hi Stas,
> 
> On Wed, May 21, 2014 at 6:17 AM, Stas Malyshev <smalyshev@sugarcrm.com>wrote:
> 
>> > 64bit int if int is 64bit. I prefer consistency, so array int key is
>> better
>> > to support
>> > 64bit int key. IMHO.
>>
>> Given that 99.9999% of PHP users will never need it, but 100% of PHP
>> users will pay in performance for each size increase, we need to be
>> careful here. "Consistency" is not more magic word than "security".
>>
>> > Similar argument applies to string also. It would be WTF, when users try
>> to
>> > access string offset over 32bit values. Data dealt with PHP is getting
>> > larger
>> > and larger. It would be an issue sooner or later.
>>
>> Not likely, unless somehow PHP becomes language of choice for processing
>> big data. Which I don't see exactly happening. But if it ever happens,
>> we can deal with it then.
> 
> 
> I think many people don't like PHP and/or switching to other languages are
> concerned
> about consistency as language. Users will just switch tool, so these would
> be issues.
> We just loose users(I mean we loose developers).
> 
> I'm really concerned about performance as much as security/consistency like
> you.
> However, average web developers are not. Most developers prefer large and
> slow
> web app frameworks. This is the reality. I think we must face our
> users(developers).
> 
> Regards,
> 
> --
> Yasuo Ohgaki
> yohgaki@ohgaki.net
> 



Thread (29 messages)

« previous php.internals (#74394) next »