webassembly-language-runtimes icon indicating copy to clipboard operation
webassembly-language-runtimes copied to clipboard

Streamline PHP patches

Open assambar opened this issue 3 years ago • 2 comments

  • [x] Make the php 8.1 patch work (exclude fibers code or implement with asyncify)
  • [ ] Check how to better integrate autotools changes
  • [ ] Choose better ifdefs - wasm, wasi, add autoconf checks for headers/functions and use HAVE_XXX where applicable

assambar avatar Nov 04 '22 09:11 assambar

As a long time PHP developer, I think it's important to implement the fibers code. It was a big deal them bringing it into PHP to begin with and having it solves the webserver problem in a way since it would allow the continued use of things like https://github.com/amphp and https://github.com/reactphp.

I think what you are doing here in general has huge potential for PHP but to pull people away from the standard approach it really needs to have an edge. I think providing an actual non-blocking-io runtime that works with the fibers would be huge as it is one of the biggest issues with PHP today and it's async story.

jedjones-uk avatar Dec 22 '22 23:12 jedjones-uk

This is WIP at https://github.com/php/php-src/pull/10457

ereslibre avatar Jan 30 '23 09:01 ereslibre