PHP already “compiles” with opcache. But it only happens eventually once a path is requested. Having a cli to explicitly pre-generate all compiled versions while doing checks would increase the predictability of your code. Maybe even wrap it as .phar to analogue to .jar for a simple arg when running php-fpm.
hacklang is too different. But yah, thats exactly what Facebook had to do to improve PHP within their stack.
hacklang is too different. But yah, thats exactly what Facebook had to do to improve PHP within their stack.