Re: Proposing inclusion of PCS in the 7.2 core distribution

From: Date: Tue, 06 Jun 2017 04:59:59 +0000
Subject: Re: Proposing inclusion of PCS in the 7.2 core distribution
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-99388@lists.php.net to get a copy of this message
Le 05/06/2017 à 19:46, François Laupretre a écrit : > Hi, > > 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 PHP > 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 extension. 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

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#99388) next »