News for hackers. Stuff that matters.
Re:PHP will get an AOT compiler from the Swoole team in 2027 by edmondx on Thursday April 23, 2026 @03:29AM (#47873061)
Swoole Compiler v4 introduces a native AOT (Ahead-of-Time) compiler that radically changes the landscape. The AOT compiler abandons traditional PHP interpretation and allows code to be compiled directly into native binary executables. Performance can increase by orders of magnitude compared to the classic interpreter, reaching levels comparable to Rust and Go.
Re:PHP will get an AOT compiler from the Swoole team in 2027 by maattdd on Thursday April 23, 2026 @03:39AM (#47873132)
I don't know much of PHP, but reaching "Rust/Go" performance is not simply because they have AOT compiler, but because the semantic of the language itself allows efficient compilation.

Many attempts has been made for an AOT compiler for Python and Ruby, but they don't reach those performance because of this.