Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125650 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 193E01A00BD for ; Fri, 20 Sep 2024 23:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726874976; bh=09BNvx4rbjAoCs8RLtGudK4kOOpj+jD9/Zz3ZCtvuLI=; h=Date:From:To:Subject:In-Reply-To:References:From; b=JgCMjqw4Gnin4cCciBxhVdoxaqrMbUBMQtOpRJy6pXHpvBOOAS3KJ+VUC2op0TBHt Hm0JSFgK6Jpob17UBLTHKOxajvRLCMKDJxfW2N/9d3bKMSz6WzfvJ2UYPkEUYRpL75 A2/6LkIAhKdIICg8ZmKNoqMzSP6JN6peLrnZsumViD5zfV2XcAyPU3nV/TGgVQwXWf HIIdQH4M//gwNsJ98QokbVI5HBJcqsVrT9DVrfXdTleFYzXihTdfUUDCVW/4yuyejf /1O3uyqqZ58cTU3Zs7uw6i4dJ58Q29I9K2iR7vrCyBHKOfr+d6ykxUi/MIjNksgtJ0 1vUKmyIm8Vdhw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D58B2180053 for ; Fri, 20 Sep 2024 23:29:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 20 Sep 2024 23:29:35 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id AA0A013801EE for ; Fri, 20 Sep 2024 19:27:27 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Fri, 20 Sep 2024 19:27:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1726874847; x=1726961247; bh=ApWtqReLzMTFsyy12h1JMlQsa86UU6XKNElvP837BAM=; b= juS3TJPZsDDN5eOAlelzUSAoxqIBe3zRgFMpfr3Y8fPf3km4MdAeyC41d03TSZJ9 pJcu8wzTXYeor0rpt4+JBfhVy6/Vn7BvpmigdR7Z2ZYtzJ7zS0+BGlZZNRH06YOc zh9mCYAvXI+TRTPlArsPNDy/bCenAp2R6QyTZ+oMTfWpfUDso7SA7vzanDBI8xh7 0ILnPfGBTKV5Wq2vAzaXyWddJ4c4wdzkmpIcX5zein/VrYlcbi8j2Pwy1nRcO9gv ez+K0IUjLqVoKiueyun0dTNDEs/WVAKWA4i0UmTpLwOCq8Q03d6c08C2ZZCGWSUR le6MwQjj7Y1ta3eqLu1FNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1726874847; x= 1726961247; bh=ApWtqReLzMTFsyy12h1JMlQsa86UU6XKNElvP837BAM=; b=g 4PzfdfYtLsdiRMoyjJobAI4kGCzNMS5UHfhoY1wVtioZ88FnZUg3lNV0RnMvgoWF 5MUZqhGDSlKkgeVr6Tp4B8ki1qy94Wb7Zuc/07LwoXNDiae0gCswCfisKKinZMKk egep9uMGIZ9unqTU34yWgrqeYPYp7b2isromVSQp7waDhTgnaAd4kBvhem+ZhGF0 HVCWuP2E7xmJMOpF+kaHG2fo3BY0ESJVs5cE755zZBlo2ZAZEWZ4p+2Mc37/LcMB BKoqT9qMO1HdbP9y2TEE/NVd1SvzGADMBot/TIxmxH+4SdkTiNt5M0gMwTu526x9 qFnEzSM3bE5eOK7CdI4Fg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelgedgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvffufggjfhfkgggtgfesthhqmhdttderjeen ucfhrhhomhepfdftohifrghnucfvohhmmhhinhhsucglkffoufhorfgnfdcuoehimhhsoh hprdhphhhpsehrfigvtgdrtghordhukheqnecuggftrfgrthhtvghrnhepfeefgeelheff veegledvteehhfffkefhiefhvefgieeiuddtvdelkeefuddtgfelnecuffhomhgrihhnpe gvgihtvghrnhgrlhhsrdhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehimhhsohhprdhphhhpsehrfigvtgdrtghordhukhdpnhgspghrtg hpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrhhnrghl sheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 20 Sep 2024 19:27:26 -0400 (EDT) Date: Sat, 21 Sep 2024 00:27:23 +0100 To: php internals Subject: Re: [PHP-DEV] Zephir, and other tangents User-Agent: K-9 Mail for Android In-Reply-To: <1140637f-cbf2-4775-937e-0433515bd01d@app.fastmail.com> References: <8D420123-4ECF-48FD-A9C3-F80C60457A37@newclarity.net> <7EA884D2-0F37-4BF1-AC97-DB6953C944E6@automattic.com> <1140637f-cbf2-4775-937e-0433515bd01d@app.fastmail.com> Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 20 September 2024 20:27:34 BST, Larry Garfield wrote: >Logistical question, for those with more stdlib expertise: Since we have = other extensions in php-src that only work if you install some other librar= y as well (eg, curl), which distros pretty much take care of for us, would = a small in-php-src extension that is just a thin wrapper for Wasmtime or si= milar be viable? Not embedding Wasmtime into the php-src code, just the ex= tension, and it's up to the user/distro to install both so that they work= =2E =20 This is basically what I was answering, to the best of my understanding, h= ere and here It's absolutely possible to build a PHP extension that interfaces to a WAS= M runtime, and links have been shared to at least two projects doing just t= hat=2E Adding that to the php-src repo doesn't change what that extension c= an do, it just marks it as "approved" in some slightly ill-defined way, and= restricts it to having new releases only once per year=2E I think there's an impression that somehow by proposing that "we" add some= complex functionality "to the language", it will suddenly attract develope= rs and become stable and universally adopted; but it's really the other way= around: once there's a mature implementation, and some people offering to = maintain it, we can consider moving it to the php-src repo, if that seems b= eneficial=2E (And if other constraints are met, such as licensing=2E) At which point, some managed hosting servers might be more willing to inst= all it=2E Not the ones who don't even install ext/curl, those are never goi= ng to benefit from this=2E But maybe the ones who install a reasonable list= of features, but are a bit wary of installing PECL extensions they don't k= now much about, can be persuaded to trust their users with a WASM sandbox= =2E There have been a couple of mentions on this thread of writing an RFC, but= I can't think of anything that an RFC could realistically propose right no= w=2E So I say again, to those of you interested in the topic: contribute to= the projects already building the extensions, that's where the next steps = are, not here=2E Regards, Rowan Tommins [IMSoP]