Re: self-hosting (compiling context) PHP
| From: | Thomas Krüger | Date: | Mon, 17 Apr 2023 19:06:57 +0000 |
| Subject: | Re: self-hosting (compiling context) PHP | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120055@lists.php.net to get a copy of this message | ||
I guess Robert's idea is more like the "pypy" project for Python, which is a fast Python interpreter written in Python.
So, there are examples of PHP interpreter/VMs written in PHP:
https://github.com/ircmaxell/PHPPHP
Best regards,
Thomas
Am 17.04.2023 20:21 schrieb Thomas Hruska:
On 4/17/2023 9:29 AM, Robert Landers wrote:Hello Internals, I saw someone mention writing PHP (the engine) in PHP and it got me thinking, is there anything preventing PHP from being a self-hosted language? I assume this has been discussed before, but I couldn't find anything via Google or Externals. Robert Landers Software Engineer Utrecht NLDo you mean something like: https://github.com/cubiclesoft/php-app-server Or something more like Java which is written in Java? In that case, maybe: https://github.com/Corveda/PHPSandbox -- Thomas Hruska CubicleSoft President CubicleSoft has over 80 original open source projects and counting. Plus a couple of commercial/retail products. What software are you looking to build?