php - Facebook's HipHop - What's it for? -


Today's PHP is the news in the world, which:

Hip hop is for PHP Technically, a compiler is itself a source code transformer, HipHop programmatically changes your PHP source code to highly optimized C ++ and then uses G ++ to compile it. Hip hop performs the source code in a manner consistently and uses some of the less-used features - such as eval () - in exchange for better performance.

My question is, what types of web applications are, code transformers in Hiphop, a revision of PHP runtime system, and rewriting of many common PHP extensions. Is it really useful for?

It seems that the typical database-bound web application can not be done much by this, but there will be rare CPU-bound apps.

Web applications that use lots of processing and / or memory, apparently this hip hop CPU Reduce usage by about 50% and reduce memory usage (I did not know how much memory usage would be mentioned). This means that you should be able to request the same number with fewer servers.

An additional advantage may be that there should be some basic type of inquiry to ensure that the code is compatible before compiling it. This should help in the generation of bugs as a result of a weak type of system.

The downside appears to be that it has some of PHP's more dynamic features like eval (though arguably it's also a positive one).


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -