Care2x Development Blog

All the news regarding Care2x development

Hip-Hop for PHP or a New Beat in Town

HipHop for PHP isn’t technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features ‚Äì such as eval() ‚Äì in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP’s runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.

(…)

We have also developed HPHPi, which is an experimental interpreter designed for development. When using HPHPi you don’t need to compile your PHP source code before running it. It’s helped us catch bugs in HipHop itself and provides engineers a way to use HipHop without changing how they write PHP.

Well! It seems that it is here!

Advertisements

Filed under: General, , , , , , ,

Where is the include comming from?

The hardest part on starting something new – apart the architecture – is the tools you’ll use. Since we’re still in a planning phase of c3x we are looking here and there for the latest frameworks on which to base the development.

Since one of our main concerns is speed, it’s hard to evaluate all the different frameworks. Everyone of them have something that the other doesn’t.

Something that could ease a bit the decision is this comparison made here. It’s based on the number of include calls made by the boot-up of the framework. Some examples can be seen here :

Symphony 1.1

Symphony 1.1

Zend Framework 1.5.2

Zend Framework 1.5.2

CakePHP

CakePHP

CodeIgniter

CodeIgniter

So the decision doesn’t look so hard…

I’ll wait your comments…

Before i forget you can read the full post here

Filed under: c3x,

Pages

c2x development