Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89586 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82300 invoked from network); 3 Dec 2015 17:18:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2015 17:18:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=kontakt@beberlei.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=kontakt@beberlei.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain beberlei.de from 74.125.82.45 cause and error) X-PHP-List-Original-Sender: kontakt@beberlei.de X-Host-Fingerprint: 74.125.82.45 mail-wm0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:32880] helo=mail-wm0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/BD-02069-F4970665 for ; Thu, 03 Dec 2015 12:18:08 -0500 Received: by wmec201 with SMTP id c201so37682346wme.0 for ; Thu, 03 Dec 2015 09:18:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vZjxySYqS5/4JjT3uOpleAVfDEtWBMtnPSdIX0Y2bbE=; b=gX1f6mRUjw4kypzC/SGHTrpOxMbgPgSSUcjsfRfc6KUN45JUQeMM+eZR0vYstMETPa jCtsMlkZkdIPQnyVwql11bwul98zI9A4Oz3BgQwSqXqOIwW+7P7p/MnfxmlDToZhVkO1 aqmYjLGcIck2+0tFb0Edo/wcW0Q4KFD9CnMfkPQV/Q/ikd6P22lMc4r0gLRR+jvGEbMz CwfiGb8PMFcrZKp5hvTGEEKSXiT+yVAe2KwIc1fNR4XUdkWN7BNzGSPK6zX0dAqyp3iO RtCmrgEywMS9q7/h85eQfDEYqlY+lb6EDAfGcR3tabMhSTFZdiGDtYKhH3ywgvHz7x5K rbxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=vZjxySYqS5/4JjT3uOpleAVfDEtWBMtnPSdIX0Y2bbE=; b=UGSxjUIdNzRAT8lotmjlffE9Grn0wrMqoj+lRB930zT/dqe4Q1pHUC2S19SucS3eYY aknOKZAqPCLLDEjaAjDuxhoYIM0HXpn2PdDs+gtVKD4Oq8j0quq8jSmGibsZsLxGCT1y hKtkitDLC+bSKQDNG/l0J+PJAvWuX7ffkIRPnefQOArUWAToTy/X42+Q0KgbRs1XUhza M8q0mytFTDMJ5vUm22H0IMD956lp07i0QdW8bhyC7ibA6LABSVxFZNo2pzPTsASWn+JO bwx5/xo8ukGK+pp51OaPTAXEdu53bNCNomueuzcqZxKY1OKrvxyrY3ohnixT5JPAz/mG 9P1Q== X-Gm-Message-State: ALoCoQn6PG04pnWl0nilWpXcU+nGqZTKgpKk68mMGBXQ6lodIr9mFQv0PvX1oLZxswdOYxnmTEcQ MIME-Version: 1.0 X-Received: by 10.28.228.138 with SMTP id b132mr55289552wmh.46.1449163084769; Thu, 03 Dec 2015 09:18:04 -0800 (PST) Received: by 10.194.22.41 with HTTP; Thu, 3 Dec 2015 09:18:04 -0800 (PST) X-Originating-IP: [37.148.176.62] In-Reply-To: <565F6647.1080602@php.net> References: <565F6647.1080602@php.net> Date: Thu, 3 Dec 2015 18:18:04 +0100 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: Internals Content-Type: multipart/alternative; boundary=001a114b0e3ce3d2d605260192a7 Subject: Re: [PHP-DEV] PCS (PHP Code Service) From: kontakt@beberlei.de (Benjamin Eberlei) --001a114b0e3ce3d2d605260192a7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Francois, On Wed, Dec 2, 2015 at 10:44 PM, Fran=C3=A7ois Laupretre wrote: > Hi, > > I'd like to open a discussion about a new PHP extension named PCS. > > PCS stands for 'PHP Code Service' and it is (yet) another way to mix C an= d > PHP code in extensions. > > Some months ago (January 2015), we had come to the conclusion that two > issues needed to be solved : allow the PHP code to be opcache-d, and avoi= d > loading every script at RINIT. PCS proposes a solution for both via a > stream wrapper and an autoloader. > > During this discussion, it also became clear that two different sources o= f > PHP scripts should be supported : some want to embed and distribute scrip= ts > in the compiled module, and others want to store them in a separate > location on the host. So, PCS supports both architectures or even a mix o= f > both. > > The documentation is available at http://pcs.tekwire.net : > > - the 'Introduction' document details the pros and cons of the different > approaches, > - and a tutorial describes in details how to embed the MongoDB PHP librar= y > in the MongoDB C extension. > > If this discussion results in a positive consensus, and because PCS may > potentially be used to rewrite parts of core extensions from C to PHP, I'= ll > write an RFC proposing to include it in the 7.1 core distrib. > we already chatted about PCS privately, again here I want to mention my support for this kind of solution. I think its very valuable to have this kind of support available in PHP to ship PHP code in C extensions. Huge +1 from me for the work, i'd love to see this in PHP 7.1 > > Note : don't use the 'pecl install' command to get PCS, download from > PECL. I still need to find a workaround for the 'pecl' command bug. > > Regards > > Fran=C3=A7ois > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a114b0e3ce3d2d605260192a7--