WebAssembly and Sockets: PHP development server on WasmEdge

As part of the Wasm Language Runtimes project, we have been working to expand the functionality of the server-side WebAssembly PHP build we developed on top of WASI. As we explained in the outline of our initial work on this, due to WASI being still incomplete we were not able to port the code that uses server-side sockets.

However, other WebAssembly runtimes like WasmEdge have gone beyond the current WASI standard and extended it with API methods that offer the missing socket support. We decided to leverage it and provide an improved version of PHP for wasm32-wasi which now includes the PHP Development server.

This article explores some of the challenges we found along the way of this effort. We hope that the lessons we learned will help others in their work with WASI and legacy applications.

Pacat ca pe acest forum se sterg mesajele, @iamntz . Am scris de dimineata ca a mai fost postat, dar pare ca a disparut.

un thread absolut bazat pe munca acelorasi oameni

Nu prea înțeleg la ce e bun wasm-îl ăsta? Ce problemă rezolvă?

@tekkie nu este nevoie să fii atât de conspiraționistă. Eu am șters mesajul, deoarece era offtopic. :slight_smile:

Ce ai pus tu și ce a pus Cosmin sunt articole diferite, unul e scris în iulie, altul în decembrie…

Rău că șterg mesajele offtopic, rău că nu le șterg…

Ca să-mi răspund singur: Red Hat and WebAssembly