vmware-labs / webassembly-language-runtimes

Wasm Language Runtimes provides popular language runtimes (Ruby, Python, …) precompiled to WebAssembly that are tested for compatibility and kept up to date when new versions of upstream languages are released
Apache License 2.0
324 stars 26 forks source link

Streamline PHP patches #5

Open assambar opened 1 year ago

assambar commented 1 year ago
jedjones-uk commented 1 year ago

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.

ereslibre commented 1 year ago

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