![]() |
Programmers: have you tried out Facebook's PHP-to-C compiler?
A small group of developers at facebook has programmed a compiler that converts php code into C programs. They named it "Hip Hop" (:1orglaugh) and say it reduces the CPU load by 50%.
Quote:
Anybody tried it out? Sounds very interesting! |
This really wouldn't help the vast majority of php scripts. It's usually unoptimized mysql queries and over-use that causes load problems, not php. The actual PHP on most scripts has negligable impact on cpu usage...
|
Interesting,this could be used as method of code encoding,since executable code cannot be decoded.
|
Quote:
|
Quote:
|
Interesting :-)
|
That looks really interesting - to be able to run a script as a server daemon certainly has its advantages. Going to check it out on a single index.php file where the index.php is the framework launching block to see if I can get a whole app to run as a daemon.
|
Good that the source code is also available for inspection.
Better take a look to see if it contains any nasty spying functions. Running an executable from Facebook directly on your server requires some trust. Do you trust Facebook? |
All times are GMT -7. The time now is 05:25 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123