Re: Porting PECL to userspace
| From: | Hannes Magnusson | Date: | Fri, 20 May 2011 21:16:07 +0000 |
| Subject: | Re: Porting PECL to userspace | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52490@lists.php.net to get a copy of this message | ||
2011/5/20 Brian Moon <brian@moonspot.net>:
>> I think it's the exact opposite - the less C code we need the better.
>> Developing C code is more work. Maintaining C code is more work.
>> Distributing C code is more complicated. The less this is needed, the
>> faster PHP is, the better for everybody (except C programmers ;-) )
>
> I was with you until "The less this is needed, the faster PHP is, the better
> for everybody". PHP is just a glue language on top of an awesome library of
> C. If more people would embrace that and quit including 1000 classes to show
> a simple web page then it would be better for everybody.
>
Indeed. But how awesome would it be if you could talk to a c library
using userspace PHP?
We do have a large community that thinks c is scary and don't dare to
checkout the source to even fix a typo - but if they could write an
extension in PHP... :)
-Hannes