Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68757 invoked from network); 6 Jun 2017 05:00:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jun 2017 05:00:13 -0000 Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.198 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.198 relay6-d.mail.gandi.net Received: from [217.70.183.198] ([217.70.183.198:48539] helo=relay6-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/6A-27119-8D636395 for ; Tue, 06 Jun 2017 01:00:11 -0400 Received: from mfilter15-d.gandi.net (mfilter15-d.gandi.net [217.70.178.143]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id C0A3CFB8CF for ; Tue, 6 Jun 2017 07:00:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter15-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter15-d.gandi.net (mfilter15-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 0Er9M9EQUltg for ; Tue, 6 Jun 2017 07:00:00 +0200 (CEST) X-Originating-IP: 90.109.100.243 Received: from builder.remirepo.net (LFbn-1-6148-243.w90-109.abo.wanadoo.fr [90.109.100.243]) (Authenticated sender: contact@ll-experts.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 24DBAFB8C7 for ; Tue, 6 Jun 2017 06:59:59 +0200 (CEST) To: internals@lists.php.net References: <5313411f-40b4-58c6-83a8-7e813526f2a7@tekwire.net> Message-ID: <12948b4b-bd2d-b88e-80a0-f70ba2d49657@fedoraproject.org> Date: Tue, 6 Jun 2017 06:59:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <5313411f-40b4-58c6-83a8-7e813526f2a7@tekwire.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AnRPIWkpOUQDLcw41dvd5MsxQgJGOGToG" Subject: Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution From: remi@fedoraproject.org (Remi Collet) --AnRPIWkpOUQDLcw41dvd5MsxQgJGOGToG Content-Type: multipart/mixed; boundary="1QgQiEdVoioJOxtP8wJpGWHR6En7eam9H"; protected-headers="v1" From: Remi Collet To: internals@lists.php.net Message-ID: <12948b4b-bd2d-b88e-80a0-f70ba2d49657@fedoraproject.org> Subject: Re: [PHP-DEV] Proposing inclusion of PCS in the 7.2 core distribution References: <5313411f-40b4-58c6-83a8-7e813526f2a7@tekwire.net> In-Reply-To: <5313411f-40b4-58c6-83a8-7e813526f2a7@tekwire.net> --1QgQiEdVoioJOxtP8wJpGWHR6En7eam9H Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Le 05/06/2017 =C3=A0 19:46, Fran=C3=A7ois Laupretre a =C3=A9crit : > Hi, >=20 > PCS provides a fast and easy mechanism to mix C and PHP code in PHP > extensions (more about PCS at http://pcs.tekwire.net). Thanks to the PH= P > 7 performance improvement and the inclusion of opcache in the core, a > lot of existing non-performance-critical extension code may now be > converted to PHP without significant performance loss (this must be > measured case by case, of course, but tests show that opcode-cached PHP= > code is often faster than C). Sorry, but I don't like the idea of having PHP code bundled in C extensio= n. Have low-level part written in C, and user-land part in PHP is indeed a good way (e.g. mondodb, phpiredis + phredis...), but having the PHP library distributed via composer or any other way is enough. Remi. P.S. IIRC couchbase have tried this way, and revert it --1QgQiEdVoioJOxtP8wJpGWHR6En7eam9H-- --AnRPIWkpOUQDLcw41dvd5MsxQgJGOGToG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlk2Ns8ACgkQYUppBSnxahguuACgkAwGBazPxSa81f6DsvkayFys T0cAoOcjB6MSgWZICVhyCWqWxmc1TGTk =J4C/ -----END PGP SIGNATURE----- --AnRPIWkpOUQDLcw41dvd5MsxQgJGOGToG--