wasmerio / wasmer-php

🐘🕸️ WebAssembly runtime for PHP
https://wasmerio.github.io/wasmer-php/wasm/
MIT License
1.01k stars 42 forks source link

Call to participate in discussion on PHP Internals #151

Open mikeschinkel opened 1 month ago

mikeschinkel commented 1 month ago

I recently started a discussion about bundling WASM as an extension into PHP core on the PHP Internal's mailing list with some saying to we should look at getting an existing extension bundled into core.

So this issue it a call to action for at least one person on this project to come to the discussion and give your perspective on:

  1. Any technically invalid claims made in the discussion, including fact-checking claims that I made,
  2. The technical challenges that some participants claim exists (are they valid?),
  3. The valid security concerns related to bundling with PHP and running on managed or shared hosting,
  4. How to bypass and/or alleviate any and all of those security concerns,
  5. Whether or not wasmer-php would be a good candidate to bundle with PHP from a technical perspective, and
  6. Whether or not wasmerio would even want to bundle wasmer-php into PHP core.

Thank you in advance for your efforts to comments. And it might be easier to get started at a specific message, if the thread is too overwhelming for you.

syrusakbary commented 1 month ago

Hey @mikeschinkel ,

Thanks for opening the issue. We'll try to chime in into the discussion.

Right now the extension has been unmaintained for a bit, but won't be for long. We have great plans for the Wasm/Wasmer language integrations moving forward.

Whether or not wasmer-php would be a good candidate to bundle with PHP from a technical perspective, and

I believe it will be, if the people from the PHP community are interested. Specially because our PHP bindings are using the C-API which will come in handy for reusability of Wasm runtimes.

Whether or not wasmerio would even want to bundle wasmer-php into PHP core.

We would love that!

zaunere commented 1 month ago

If I could chime in, I've been investigating expanding PHP beyond the web and it would be excellent for a solid WASI integration. Looking forward to this and happy to help however I can.