On Fri, May 20, 2011 at 11:16 PM, Hannes Magnusson
<hannes.magnus...@gmail.com> wrote:
> 2011/5/20 Brian Moon <br...@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?


You can, it is possible via pecl's ffi. One has to give it some love.


Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to