Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74358 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64978 invoked from network); 19 May 2014 12:21:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 May 2014 12:21:34 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:52428] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/B0-55232-B47F9735 for ; Mon, 19 May 2014 08:21:32 -0400 Received: from [192.168.2.31] (ppp-93-104-13-198.dynamic.mnet-online.de [93.104.13.198]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id ABBC8404CC; Mon, 19 May 2014 14:22:27 +0200 (CEST) To: Zeev Suraski Cc: Anatol Belski , Dmitry Stogov , Lester Caine , PHP internals In-Reply-To: <7478565334450718793@unknownmsgid> References: <4ED7146272E04A47B986ED49E771E347BBDA6AAA06@Ikarus.ameusgmbh.intern> <537333BF.7070106@lsces.co.uk> <5373C674.9030402@lsces.co.uk> <9fb17c9f5735c8323ff4940b452e2631.squirrel@webmail.klapt.com> <7478565334450718793@unknownmsgid> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-WtFGtV2s5DbOSNCg2Fvw" Date: Mon, 19 May 2014 14:21:11 +0200 Message-ID: <1400502071.2870.68.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: [PHP-DEV] [VOTE] [RFC] 64 bit platform improvements for string length and integer From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) --=-WtFGtV2s5DbOSNCg2Fvw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2014-05-17 at 14:15 +0300, Zeev Suraski wrote: > For the benefit of everyone, this is all from January. Dmitry's, > Stas's and Nikita's positions in the actual patch in question can be > found on this thread. It should be known that I usually won't support Pierre, but the way this discussion goes is really bad. There was a long debated and quite openly developed patch. When it was initially proposed form my perspective the result was "this might be good, timing is bad, we can't put it in 5.6" Then some who participated in that debate had an idea and implemented, ignored the existence of the public known work while working on something contrary and none found the time to (publicly) discuss this. This is really bad. On the other side the attempt to push the size_t/int64 thing now looks like an attempt to push it through now as a reaction, more for "political" than technical reasons. This is bad, too. (While I understand how ridiculous it is to first argue "now it is too late for 5.6" and then "oh, now it is too early for PHP.Next" as I'm essentially doing) What we as a community (both (engine) maintainers as well as user communities) have to decide is how much performance loss we are willing to pay for "clean" and "quality" code and how to find the balance. Maybe an approach might be not using a single zend_string type everywhere but have different types lie zend_small_string for usage in opcode members (class names, function names, .. would almost certainly fit into a (unsigned) char and are for the most part engine internal so places for extra range checks should be minimal. So please, let's try to avoid confrontation and let's try to define our common goals and then finding a compromise for the technical questions. johannes --=-WtFGtV2s5DbOSNCg2Fvw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (SunOS) iQEcBAABAgAGBQJTefc3AAoJEH3sTmn8nIPXUpMH/iqjW1KZHcLMzuqrgIKAroTR RpMCdxeoSwgRHDqaI6JuP0DN5MGtGXaiztLXEnkFBfYzVG2jl/qqPe6LjNv8Q3Wr rfbRQEYtKgKpnMofS5xh87A8Klz7BbxAR60xDnb2PLcX9UDqk7xYu0mYz7VBKNIU xAL6J1tr17UiiONGtcTi3M6r+3OCPJRPXbQHwciSqNlGloK0HaHbly4ytX0FcJjk klUISZlGkxHRYg9F6dHjs8XWVKmtQ2bQI771EDtbcSfhKFq1FyIGRJT9QioJxd1z 71Eeq831X7TS0fOs5GpGbVtefzvWA5cEZZUxNvJx+v1+CQpZ3zv76vKBALbfqbQ= =Odty -----END PGP SIGNATURE----- --=-WtFGtV2s5DbOSNCg2Fvw--