2 ms·
The idea is probably to compile PHP into machine code rather than byte code.
by wvenable 17y ago
The idea is probably to compile PHP into machine code rather than byte code.
- bad_user 17y agoI 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 :)