From InfoWorld: PHP 7.0.0, released yesterday after two years in development and eight release candidates, brings with it a doubling of performance said Rasmus Lerdorf, the founder of the language.
In an interview with InfoWorld this week, Lerdorf talked about what to expect from the upgrade to the popular server-side scripting language used in Web development. "On most real-world applications, you'll get a 100 percent speedup," he said. "In theory, you could turn off half the servers in your data center [after the upgrade and still have the same performance as was experienced prior to moving to version 7.0.0]."
Lower memory usage is key to this performance boost. "By shipping less memory around, things go a lot faster," said Lerdorf, who serves as a distinguished engineer at e-commerce vendor Etsy. The upgrade features a multitude of optimizations as well, and its developers worked with Intel to make better use of hash lines and modern CPU features like registers.
Version 7 also includes abstract syntax tree, enabling developers to build tools for static analysis and other purposes. Another feature, scalar typing, boosts coding by "allow[ing] you to prove correctness of your code in advance," said Lerdorf.
View: Article @ Source Site