[php-src] Issue #8203: Ahead of Time Compiler/AOT for PHP8?

From: Date: Thu, 17 Mar 2022 10:31:43 +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-240384@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8203 Comment Author: iluuu1994 > why there's a huge community demanding the .NET Core/Framework offer a true AOT compiler > for decades To be fair, I think C# / .NET Core has a lot of things going for it. The language is great, the community is big, it's now cross platform, the tooling is great and yes, it's fast. > We are willing to pay to get this work done. I don't imagine it's too difficult - > just caching the JIT'd code to a file, and stripping the bytecode? In general, nothing is easy in a programming language with as many entangled features as PHP :stuck_out_tongue_winking_eye: It's also not completely clear what the goal is, a single binary that can be executed as a standalone application, a file that PHP can run, does it need to support all of PHP or a subset, what about extensions, or including other PHP files, etc. As for how difficult / time consuming it would be, the only person to probably tell at this point is Dmitry. @dstogov Can you tell in what way this would be realistic at all?

« previous php.bugs (#240384) next »