Hacker News new | ask | show | jobs
by devNoise 4291 days ago
Does anyone have an idea for some of Recki-CT's use cases? I get that compiled PHP will be faster. This seems useful for PHP scripts you would run from the command line. Using the resulting binary as a CGI with Apache would incur the fork/exec cost that the PHP module avoided.
2 comments

Some explanation here:

http://blog.ircmaxell.com/2014/08/introducing-recki-ct.html

(it's vaguely redundant with the readme, but there is some additional stuff)

There are plenty of extremely large PHP applications that would certainly benefit from compilation. Before HHVM, Facebook compiled all of their PHP to C++, which was distributed as a giant binary.