Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33767 invoked from network); 14 May 2014 06:27:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 May 2014 06:27:19 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.180 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.180 mail-qc0-f180.google.com Received: from [209.85.216.180] ([209.85.216.180:64363] helo=mail-qc0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/9C-53767-6CC03735 for ; Wed, 14 May 2014 02:27:18 -0400 Received: by mail-qc0-f180.google.com with SMTP id i17so2028289qcy.39 for ; Tue, 13 May 2014 23:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DhiO1geMKBavTrlYXivQbg8yeVLY3tWz9pMo+kL5jbw=; b=KqSVDyaBMskbVHx6R29fy9LO+mleoUt6pLGp53Rlj7Q8i2EQxRUCbrT7qlOwGyEouX 7fqwF5M+xO5kZzdSVTebnNKugx6kynV8/05z18yxF57yzzTJdi+8FDRVXbF4Cq6jCj+d NaU9Ti/xFkDfkBufni/q+G0vvpjdrNJ31cPx36SkCjbV+MbL/t2N6CfYvCpTDL0GwI5A FWXGfbH4FzVWtdMrFM5Get57ax+6OpSwcdV7E1wcNrBMLWCRch5/oSJKEHjkpsNEYtFV 7xt/kcHBAXoTcwTEDtSzQ0qzwH3txAfZ1Wb2ecPLGMhnFMdQSRyitzYQXts8nywlI6O2 NCyQ== MIME-Version: 1.0 X-Received: by 10.224.69.130 with SMTP id z2mr420979qai.87.1400048836011; Tue, 13 May 2014 23:27:16 -0700 (PDT) Received: by 10.140.47.231 with HTTP; Tue, 13 May 2014 23:27:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 May 2014 08:27:15 +0200 Message-ID: To: Dmitry Stogov Cc: Anatol Belski , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] [RFC] 64 bit platform improvements for string length and integer From: pierre.php@gmail.com (Pierre Joye) hi, On Wed, May 14, 2014 at 7:57 AM, Dmitry Stogov wrote: > Pierre, > > you developed a patch that will negatively affect every PHP application, > just to use "modern" types... > it's completely not necessary step for 64-bit support. It is amazing that we have to argue about that in 2014. Again, it is not only about about just using it but to finally have a safe and clean 64bit implementation. Almost every other project did that years ago, recommendation from various compilers developers, security teams, etc. do recommend to implement 64bit support this way. We had issues because of the lack of usage of this well known standard. And now it is told that it is useless? I cannot agree with this statement, sorry. Now, about the numbers, which are based on a prototype, there are rooms for more improvements, we both know that. As our numbers show, based on 5.6 and 5.6+patch, the actual impact is much smaller. And this is without digging deeper or without looking at what would be possible when both phpng and this patch would be merged and improved together. We are smart people and good developers, and we both have very good contacts to compilers expert. We can reduce the impact even more and improve the phpng optimization as well. However, reducing the 64bit support to "only about allowing large string", only to 64bit integer for long or "only about using modern types" is wrong, and we again both know that. Cheers, Pierre @pierrejoye | http://www.libgd.org