Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120055 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 80404 invoked from network); 17 Apr 2023 19:07:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Apr 2023 19:07:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A89451804C6 for ; Mon, 17 Apr 2023 12:06:59 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8495 185.67.36.0/23 X-Spam-Virus: No X-Envelope-From: Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 17 Apr 2023 12:06:58 -0700 (PDT) Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6A87A240264 for ; Mon, 17 Apr 2023 21:06:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1681758417; bh=xT4XxOLar+Mb5uSv183B6kAdgV+nYSlljK5Lzs0U5Oo=; h=Date:From:To:Subject:From; b=dnizO6gsVLNojGvk6ZhPC6HlTo1EXMJOvf4YqUDCMr6CkYWc3PybhN5yQ33luMl8x FV9Z0dW1K90nYGx3/LRnflhsWy8EfP0PpsJwykkFGt2mhoR2zz7No2kOvSksx9oGXv N24cp67STH56NTU3kQowrW99v1ubviHm7f+bz1cHGICVR9jxbKiLLr25h+55PZvsS1 KJ/XFZBChfuxJivXYRguUUnt/TnBSkXl1VN/+ZALbazNoGP4E2mNHgwF841apQ23Iy kER65LQSG0eCkj6mgZy74VX1M/mTAH5Z6IOd2br9p6pfwGd4D86KTPQTbfRdIjo0+f NLFSNmHVhOpcw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q0c410xplz6trs for ; Mon, 17 Apr 2023 21:06:57 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 17 Apr 2023 19:06:57 +0000 To: internals In-Reply-To: <845a0a28-6f9d-04b4-54df-c81f483ed6b1@cubiclesoft.com> References: <845a0a28-6f9d-04b4-54df-c81f483ed6b1@cubiclesoft.com> Message-ID: <4fbdb8f1032b6d6cf9204f39c9faa121@posteo.de> Subject: Re: [PHP-DEV] self-hosting (compiling context) PHP From: thomas.pakkanen@posteo.de (=?UTF-8?Q?Thomas_Kr=C3=BCger?=) 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 NL > > Do 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?