Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76832 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69780 invoked from network); 23 Aug 2014 06:25:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Aug 2014 06:25:53 -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.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:41596] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/E3-39740-0F338F35 for ; Sat, 23 Aug 2014 02:25:52 -0400 Received: by mail-qc0-f170.google.com with SMTP id x3so11929083qcv.1 for ; Fri, 22 Aug 2014 23:25:49 -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=emRaARfsKrNvm7VSg3ZbUWt+xnWsxtnleTZxVlPYr+Y=; b=F+f0dOLlxi8oiLSw7UqiowdcMQMyjfj5y3r3Lk2jJ+1ex5j+7LhjRqYRRkb/+YKsvQ 9BPr2F24g9ZRAoNB4MUqvxWbe4DnqPcwa1TkBnVUCPs0EV6qWnMR8eI82oqIGjgo0yYe 4v3l/31uQN7jNd1Rrg+9UYDUhC5yHQ0HKiXm3s1uEOxWfJ3xWckPh1DRjzFYApm16luj +CyZbWHbbDYOgRs1FsG6zQODw4t8yBjKzZYL6rMIuaq6boihADMD0rWxiHVgCL5sJZZ4 8OyRdlqDIlyouZvSSdSMX+GIzAk03fdZ1jAzDevhIqxrawSml6z6HRccPjBBBl36l27t iUig== MIME-Version: 1.0 X-Received: by 10.224.4.73 with SMTP id 9mr15497894qaq.18.1408775149703; Fri, 22 Aug 2014 23:25:49 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Fri, 22 Aug 2014 23:25:49 -0700 (PDT) In-Reply-To: <53F832F0.7010601@lerdorf.com> References: <53F7F6ED.1050609@lerdorf.com> <53F82F16.3030601@lerdorf.com> <53F832F0.7010601@lerdorf.com> Date: Sat, 23 Aug 2014 08:25:49 +0200 Message-ID: To: Rasmus Lerdorf Cc: PHP internals , Nikita Popov Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Better type names for int64 RFC From: pierre.php@gmail.com (Pierre Joye) On Sat, Aug 23, 2014 at 8:21 AM, Rasmus Lerdorf wrote: > On 8/22/14, 11:09 PM, Pierre Joye wrote: >> On Sat, Aug 23, 2014 at 8:05 AM, Rasmus Lerdorf wrote: >>> On 8/22/14, 10:46 PM, Pierre Joye wrote: >>>> In other words, it would be nice to see more developers actually >>>> porting extensions to realize the amount of changes are introduced by >>>> NG and by the int64. The sooner is in order of magnitude must larger. >>>> It is not a bad comment, only a fact. Given that, before we choose to >>>> say that it is fine for one part to change APIs/Macros signatures or >>>> names and not for another, we should really get a better view of what >>>> has actually changed. And how we can deal with our old habit to >>>> maintain one tree for many major PHP versions. For many extensions, I >>>> do not think it will be possible, or with unreadable code with 2-3x >>>> more #ifdef all over the place. >>> >>> I knew you would make this comparison. I am willing to suffer porting >>> pain if it gets me a 20% performance boost. I am completely unwilling to >>> suffer any porting pain because Pierre has decided he doesn't like the >>> names of some macros. >> >> Sorry Rasmus, this reply is irrelevant or off base. What in my reply >> makes you tell that it is about my taste? > > There is no technical reason to change IS_LONG to IS_INT along with the > others in that category. It is purely a > taste/purity/questionable-consistency thing and doesn't need to be done > to solve any real technical problem. There is. Long is not used anymore. So we can argue about that but there is a change and it should be reflected imo. You still totally ignore any of my other points, which are even more important in regard to maintaining one code tree for 5.x and 7.x, which is very likely not possible in a sane way for many extensions. -- Pierre @pierrejoye | http://www.libgd.org