Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The idea is probably to compile PHP into machine code rather than byte code.


I know you're thinking machine code must be better than byte-code, but that doesn't do any good, quite the opposite.

With byte-code you can compile sections of code to machine-code, based on runtime profiling / type-inference (as the JVM does). With ahead-of-time compiling to machine code, you're probably going to end up with a serialization of the PHP code in the final executable, plus an interpreter :)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: