Re: some thoughts about php 6

From: Date: Thu, 30 Jan 2014 15:59:26 +0000
Subject: Re: some thoughts about php 6
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-71796@lists.php.net to get a copy of this message
30 янв. 2014 г. 17:45 пользователь "Rasmus Lerdorf" <rasmus@lerdorf.com> написал: > > On 1/30/14, 2:26 AM, Arvids Godjuks wrote: > > So, I say you go with the 64 bit improvements for 5.6, set all the things > > in motion, do the porting docs and make a hell lot of noise about this. I'm > > willing to help with the information campaign, because this lack of proper > > 64 bit support has gave me a few "WTF?!" situations when I had to figure > > out why things do not work and realize it's due to the 64 vs 32 bit issues. > > You make it sound like 64-bit vs. 32-bit issues will go away with this > patch. If you are writing portable code that should run the same > everywhere you still have to worry about it. This change does not > suddenly give you 64-bit integers on a 32-bit platform. The main thing > this does is it makes 64-bit Windows no longer look like a 32-bit > platform. Other true 32-bit platforms remain 32-bit. It also makes it > possible to have >2g strings on 64-bit platforms, but this is hopefully > a rather rare requirement. Imagine running that code on a server with > MaxClients set to 50... > > I am all for this change, but I still think it is too big of an API > break for a point release. > > -Rasmus > I've hit exactly the 32 bit ints on 64 bit windows. I know that 32 bit os is 32, but i don't use those period for ages (due to some spesific stuff i need big 64 ints). Arvids.

« previous php.internals (#71796) next »