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

Reply via email to