Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81673 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93946 invoked from network); 2 Feb 2015 23:50:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2015 23:50:48 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:36905] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1A/5E-25089-65D00D45 for ; Mon, 02 Feb 2015 18:50:48 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id C7285B0007B; Mon, 2 Feb 2015 18:50:43 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lsxhmr_K_tII; Mon, 2 Feb 2015 18:50:43 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 0BE60B00068; Mon, 2 Feb 2015 18:50:42 -0500 (EST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: <54D00C40.8060907@lsces.co.uk> Date: Mon, 2 Feb 2015 23:50:39 +0000 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <54C5DC93-9600-4EE2-BF06-7BF10FC6AD5C@ajf.me> References: <8C47FA53-0964-49C0-963C-332A936348A5@ajf.me> <54D00C40.8060907@lsces.co.uk> To: Lester Caine X-Mailer: Apple Mail (2.2070.6) Subject: Re: [PHP-DEV] [RFC] Big Integer Support From: ajf@ajf.me (Andrea Faulds) Hi Lester, > On 2 Feb 2015, at 23:46, Lester Caine wrote: >=20 > Andrea ... I am still unhappy that this is being pushed as the core > 'integer' handling. Further options have appeared for 32bit devices > which are driving me to seriously consider perhaps having to look into = a > simple 64bit maths solution to BIGINT on 32 bit devices. But simply > getting interbase extension compiling clean with master is enough work > without having to add other speculative work that is further = detracting > from the real job of getting into a state where I could even use PHP7 = in > production. Just what work IS required to build this in parallel with = my > almost working PHP7 development platform ... will all the third party > extensions also need work, such as imagick which I still don't have a > clean copy off yet. Yes, most extensions will need some updating, but from what I have seen, = the changes needed are very small (maybe a few lines) in most cases, = unless you=92re porting ext/gmp or something. > Since a clean 64bit build of PHP does not need anything other than > 'integer' to support 64bit BIGINT SQL numbers, loading 32bit builds = with > an overly heavy solution is just not right! I don=92t see how it=92s =93overly heavy=94. Bear in mind that several = extensions (not just ext/gmp) already require GMP anyway. > 'longint' only needs an > extension to provide it, which can then be replaced by properly = crafted > code for devices that already have 256bit and better maths capability > anyway. GMP provides high-performance, optimised SIMD assembly implementations = for most platforms. -- Andrea Faulds http://ajf.me/