Re[2]: [PEAR-DEV] Some more plane hacking...
| From: | Sterling Hughes | Date: | Sat, 18 Aug 2001 01:19:15 +0000 |
| Subject: | Re[2]: [PEAR-DEV] Some more plane hacking... | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1601@lists.php.net to get a copy of this message | ||
On Sat, 18 Aug 2001, Nicolas Hoizey wrote:
> > Make C extensions but maintain also its equal in php.
>
> And here comes _the_ answer to all our needs ... ;)
>
> php components should serve as switches between C extensions and
> themsleves. Each php component should determine if it can use an
> available C extension or need to use its own code.
>
You lose the initial C speed up's this way -- really, it doesn't
make sense to do both, and in some cases its not possible,
especially when you're talking about some of the lower level
programming which doesn't map to PHP. Plus you have to maintain and
fix bugs in both.
-Sterling