Hacker News new | ask | show | jobs
by lifeofguenter 86 days ago
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.

1 comments

Hack was the better language for so many reasons. It should have killed PHP instead of the other way around and I'm still annoyed about it.