Re:Recki-CT – A compiler for PHP, written in PHP
by devNoise on Friday September 12, 2014 @11:15PM
(#8311531)
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.
[ Parent
| on HN ]
Re:Recki-CT – A compiler for PHP, written in PHP
by maxerickson on Friday September 12, 2014 @11:21PM
(#8311543)
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)
Re:Recki-CT – A compiler for PHP, written in PHP
by bastawhiz on Friday September 12, 2014 @11:16PM
(#8311535)
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.