Re: Zephir, and other tangents

From: Date: Fri, 20 Sep 2024 19:27:34 +0000
Subject: Re: Zephir, and other tangents
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Fri, Sep 20, 2024, at 12:28 PM, Dennis Snell wrote:

> I’m not sure why you’re singling out Automattic, since nobody from 
> Automattic started this thread or requested other people provide 
> unfunded volunteer work, or why you’re expecting a single corporate 
> entity to fully fund long-term planned features in the language. Is 
> that how PHP normally grows? I’m not familiar with the process.
>
> My goal in sharing here is to help better represent my own perspective 
> of WordPress’ needs based on what I’ve seen. It’s long been on my list 
> to propose a WASM RFC, but because I personally haven’t had the 
> priority available to get an implementation working I haven’t done so. 
> It’s my impression from the documentation that the purpose of these 
> email threads w.r.t. RFCs is to gather interest and input before any 
> RFC would be put together, to hold these discussions before anyone 
> commits any major time to it.

FWIW, I feel that an embedded Wasm bridge, with a good API, would be an excellent addition and way
more useful than the crappy experience of FFI.

Logistical question, for those with more stdlib expertise: Since we have other extensions in php-src
that only work if you install some other library 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
similar be viable?  Not embedding Wasmtime into the php-src code, just the extension, and it's
up to the user/distro to install both so that they work.  

(Note: I'm not asking if you think it's a good idea, just if it's physically
possible/worth discussing.)

--Larry Garfield


Thread (43 messages)

« previous php.internals (#125645) next »