Subscribe to PHP Freaks RSS

PHP 8.0 feature focus: <span>Just-in-Time compilation</span>

syndicated from planet-php.net on October 29, 2020

Last time, we looked at ways in which PHP 8.0 has become stricter. Today, we look at the next step in PHP becoming faster. Some background Computers don’t actually understand programming languages; they understand very low level instructions no human could write by hand. There are many ways of getting from a human-readable language like PHP or Rust to a computer-understandable set of instructions. The most basic, and usually most performant, way is to compile the human-friendly source code directly to CPU instructions “Ahead-of-Time” (AOT).