3 ms·
thinking that php is written in C why didnt they do php->c instead of php->c++?
by leej 17y ago
thinking that php is written in C why didnt they do php->c instead of php->c++?
- pbiggar 17y agoThey aren't reusing any of the Zend PHP implementation. But that's exactly what phc (http://www.phpcompiler.org http://www.phpcompiler.org) does.
- leej 17y agonot asking that. is there that much performance diff btw c and c++ or what are the reasons for the choice? first c++ is sexier that's for sure.
- jared314 17y agoFrom the presentation, it sounded like it generates a C++ object for each user created php object (1 to 1). We will all know when they release the source.
- messel 17y agoI suspect they have a lower level c++ framework for speed purposes and they're transition more of the php over. Just a wild guess though.