top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is HIPHOP for php?

0 votes
506 views

What is the use for this?Any one clear my doubt please.I need to know HIPHOP

posted Aug 11, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
HipHop for Facebook is basically a source code to source code compiler.
(Source to Source compiler is not as our traditional turbo c++. Source to Source compiler takes source code like PHP as input and convert it into another languages source code C++. )
While traditional compiler convert the higher languages C++,java to lower languages code. But HipHop do the reverse.
Why facebook need HipHop?
Facebook is a very organization with lot of webserver having many applications,database running already.  So to save the memory and increase the speed of execution they have built this PHP transpiler. (Free and Open source)

1 Answer

+1 vote

HipHop for PHP is a PHP transpiler created by Facebook. By using HPHPc as a source-to-source compiler, PHP code is translated into C++, compiled into a binary and run as an executable, as opposed to the PHP's interpreter based execution. By the statistics HipHop uses improve the performance by anywhere from 3-6 times (depends on the website)

It is free and open-source software distributed under the PHP License and QueryHome is yet to use it???

answer Aug 12, 2014 by Salil Agrawal
Wow Its really nice feature of PHP
Similar Questions
0 votes

I have downloaded HipHop for my website, I am going through various web links which are suggesting that performance will improve 3-6 times. However I don't know the Stability of the HipHop.

Please provide your inputs so that I can decide to use HipHop.

...