PHP core developer Dmitry Stogov recently started a new branch of the language called PHP Next Generation (phpng). The new version of the language aims to reorganize the internal application programming interfaces (APIs) so PHP code could benefit from being used in a just-in-time (JIT) compiler.
The new phpng branch "does not include JIT capabilities, but rather seeks to solve those problems that prohibit the current, and any future implementation of a JIT capable executor achieving optimal performance by improving memory usage and cleaning up some core APIs," according to a recent PHP blog post.
Stogov says changes already made in phpng have resulted in a 20-percent boost in the number of requests handled by WordPress.
Meanwhile, Facebook recently released a JIT compiler for PHP code, called the Hip Hop Virtual Machine (HHVM), which has been very important in sparking the PHP community's interest in JIT. HHVM compiles the language into byte code when it is requested by the user. Facebook researchers found HHVM could make code execution up to nine times faster.
From IDG News Service
View Full Article
Abstracts Copyright © 2014 Information Inc., Bethesda, Maryland, USA
No entries found