Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76785 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37290 invoked from network); 21 Aug 2014 21:24:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2014 21:24:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.43 mail-qa0-f43.google.com Received: from [209.85.216.43] ([209.85.216.43:56142] helo=mail-qa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/D2-22336-0A366F35 for ; Thu, 21 Aug 2014 17:24:48 -0400 Received: by mail-qa0-f43.google.com with SMTP id w8so8751230qac.2 for ; Thu, 21 Aug 2014 14:24:45 -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=bagHo4fQno31LuDAoWrRAQcMPqs+MC3KbjxM/c5KHBY=; b=Bp9Ec0tdxGBOzNG/c5qkahc5J3jSkT2yNK15ulfRcjvy4fQJvmBvG/uXjU+zSShaKz 64uJm6B4rGcLSdH6vhT6MyJNryQWg8mrbeXQz1xp0bGUWknYtfXBR/WHH0GHYfFMt1P9 dcaV3gMqgcNZCJ9V7coY7QH9a25nkrbYmnkJGUa4jXRsTma+ZfpyIyZ6B+rKR+ZDlZDm VuwyNQ4qsyFTVkGMWMUofAxVJGcpkb6Hu4urmHTTcZIJa/toT1d1LVjoKrO7T+nZHGD+ 7alhjCLE+BNiEh7GathEekAeVQ0griqYK3TALwZeBhdqIUfTs35ADE4j/MX5fmfOTa5c F5Vw== MIME-Version: 1.0 X-Received: by 10.140.85.135 with SMTP id n7mr1994139qgd.22.1408656285545; Thu, 21 Aug 2014 14:24:45 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Thu, 21 Aug 2014 14:24:45 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Thu, 21 Aug 2014 14:24:45 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Aug 2014 23:24:45 +0200 Message-ID: To: Nikita Popov Cc: PHP internals , Dmitry Stogov , Anatol Belski Content-Type: multipart/alternative; boundary=001a11c1271e82bcf905012a59f9 Subject: Re: [PHP-DEV] 64-bit integers and 64-bit string length patch is ready to be merged From: pierre.php@gmail.com (Pierre Joye) --001a11c1271e82bcf905012a59f9 Content-Type: text/plain; charset=UTF-8 On Aug 21, 2014 10:49 PM, "Nikita Popov" wrote: > > I am against merging this with the long->int rename everywhere. This seems like change for the sake of change. It is accepted and ready to be merged. > I am also concerned that we now have zend_uint_t (a 64-bit integer type) and zend_uint (a 32-bit integer type). Notice the difference? Yes, it's the missing _t. > > I would appreciate it if we could consider the following naming convention: > > * zend_(u)int - 32 bit integer type > * zend_(u)long - 64 bit integer type (on 64 bit systems) The original patch used int32 and int64, _t. Was rejected because too much changes. I was even more strict in the very first version by using only stdint types and no alias or random names. Rejected as well. Long means absolutely nothing in term of integer size. We should ban its usage. So I am against anything using long. That being said: - patch will be merged. Most likely tomorrow - if minor tweaks like the uint one you refer are necessary, and that one makes sense, it can be done later Now, I asked everyone to stop applying or trying to apply double standards. Thanks. Cheers, Pierre --001a11c1271e82bcf905012a59f9--