[php-src] Issue #8203: Ahead of Time Compiler/AOT for PHP8?
| From: | appifys | Date: | Wed, 16 Mar 2022 04:25:35 +0000 |
| Subject: | [php-src] Issue #8203: Ahead of Time Compiler/AOT for PHP8? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240351@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8203
Author: appifys
### Description
Hi,
Is it possible to compile the PHP8 bytecode directly to native machine code (just like what JIT does
right now) or at least cache the JIT'd code into a file, and distribute that file only without
source/bytecode for PHP8?
I am a senior engineer at a tech company, and I know for a fact many other companies are holding off
on PHP as it doesn't offer Ahead of Time Compilation for performance and security reasons - and
many have decided to use Rust over it.
We are open to paying for this feature to be implemented, if that's what it takes?
Thank you