Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125632 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 E3A771A00BD for ; Thu, 19 Sep 2024 16:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726761795; bh=SV/gEd7Aj+GLHp7s25sFQ8zK2EKYSoeZiHX7MY4+des=; h=Date:From:To:In-Reply-To:References:Subject:From; b=en3EVnYHMngClX4/enTt2nidm5cEBWyQrLC6e9LQl+VBi9ay/pJmKEzEWIqnUFuWb Xqmi/toaYdwDj1eu4lUuuC5S2nlyYjTcd1UNvzRDexM7OwkH+O6u8/vWkrZ/tXtmwO Lpol85NEljBXiWFGgIa/iloocclm/kk7f2pxRvVLSZTMhHept9kBwSy5lTxnUfLlQ9 l+VuyXgeziPmDczM8L1mETX1+CCh5rmbJt/lhllRKhvEb8XAnjfC7NzgV6iZdHwW73 zXDgCJED00GY9G5WdGRem2OMzmOAHA1sl0tQ+OcM2eTWMblSVR35lCBmm66D8INxao 8J0s9zWvJeW0Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 71A56180032 for ; Thu, 19 Sep 2024 16:03:10 +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, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout4-smtp.messagingengine.com (fout4-smtp.messagingengine.com [103.168.172.147]) (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 ; Thu, 19 Sep 2024 16:03:09 +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 1B329138021B for ; Thu, 19 Sep 2024 12:01:03 -0400 (EDT) Received: from phl-imap-10 ([10.202.2.85]) by phl-compute-05.internal (MEProxy); Thu, 19 Sep 2024 12:01:03 -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=1726761663; x=1726848063; bh=SV/gEd7Aj+GLHp7s25sFQ8zK2EKYSoeZiHX7MY4+des=; b= SO3XWfFF7EhBOs8hI70vlT9MgA5vyo96BLshuanCHNTBTi8kXLbkdN8LTjGTHJm9 KPikLBp80z6tSzXRR7x5aK1n5SihvgsNrcJMSrLgHdFunp7Afa3UsLv1GfZQSNtv xennidVlDupjoEwbLGtbQN6KMMAlmhXlkpioJYony43p3TfKgKVAy3ZAtmNPuVNm fvSqZx0Xqu9Efno5QwtNrOBA0iS5M/gOo8mpoJmxjxq2qN5xopy379oY9gXvYQEp iYYlrUCQtw3QzDWile17RjX6oYcDqZCirkaT/27sOBbWGuDj52Flv0vwy0Xjoz6V 9pRjFqx3gl7eCRFuOXI2eg== 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=1726761663; x= 1726848063; bh=SV/gEd7Aj+GLHp7s25sFQ8zK2EKYSoeZiHX7MY4+des=; b=g AajRlN8nWq9dabC8mrPWUr3sHLuMxzOaSPT17+x9izBc6DG0rX/I5WvEFIqqZpwk xJdllQ/Lom30c+Fh6+/QRAQ0xzbg+A/mqNUH5NwR0Kag92/BMeC/xoHg8aiYKdXF Leb28PlquozA1MnZpA3zwuwiZdTkh1lX3yXGjQDqngY4dU7Pt/jLO9DAZ0fB8hfO ZKb5+DDvuUVEy8ROL2uISed4XTHeGstK1umVDFpORvZV9o4y00SM7N86AFda3U1+ c5c2NnsCv4tBe2KJAK8FoL6Z7KwApnbUZ+XMUJeucWhNI00C9TlWtk0NJ8/hYLhr Sl8RCFY1JqrJwGepN7XMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeluddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefoggffhf fvkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhn shculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenuc ggtffrrghtthgvrhhnpeeileeihfffffevgeehveevvdeiteeuvdegudejieetkedtgfdt gefhhfdtlefgieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehimhhsohhprdhphhhpsehrfigvtgdrtghordhukhdpnhgspghrtghpthhtohep uddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhish htshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 9EDAF3C0066; Thu, 19 Sep 2024 12:01:02 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Thu, 19 Sep 2024 17:00:05 +0100 To: internals@lists.php.net Message-ID: In-Reply-To: References: <8D420123-4ECF-48FD-A9C3-F80C60457A37@newclarity.net> Subject: Re: [PHP-DEV] Zephir, and other tangents Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On Wed, 18 Sep 2024, at 20:33, Mike Schinkel wrote: > Yeah. That was the original goal. > > But to say WASM's domain is limited to browsers is not valid any longe= r: > [...] While it's definitely interesting seeing what uses it's being put to bey= ond the browser, the majority of those articles are talking about using = WASM on its own, in the kind of places where you might use a container, = to host things like microservices, serverless functions, etc. Embedding it into other languages is a different usage again. It's certa= inly something that is being explored, e.g. by Extism, and that seems li= ke a good project for anyone interested here to participate in, e.g. to = help design the "glue" between PHP and WASM / Extism. > WASM's ability to run on a managed server =E2=80=93 assuming it were b= uilt-in=20 > to PHP core Just to reiterate, if by "built-in to PHP core", you mean "every copy of= PHP includes a functional WASM runtime", that's not going to happen. It= would mean bundling (or requiring every user to install) a huge third-p= arty dependency, with all of its dependencies and platform requirements,= even if they weren't interested in using it. The only runtimes where WASM is ever going to be available "out of the b= ox" are those already built on a JavaScript engine (usually V8), like no= de.js, Deno, Electron, etc. The WASM is then running inside the existing= runtime, not a whole new VM - like running Scala and Java code in the s= ame JVM; or Hack and PHP in (older versions of) HHVM. Regards, --=20 Rowan Tommins [IMSoP]