oraoto / pib

PHP in Browser (powered by WebAssembly)
https://oraoto.github.io/pib/
Apache License 2.0
956 stars 112 forks source link

Support for WebAssembly System Interface #26

Open filips123 opened 5 years ago

filips123 commented 5 years ago

Would it be possible to run PHP with WebAssembly System Interface?

WebAssembly is an assembly language for a conceptual machine, not a physical one. This is why it can be run across a variety of different machine architectures. Just as WebAssembly is an assembly language for a conceptual machine, WebAssembly needs a system interface for a conceptual operating system, not any single operating system. This way, it can be run across all different OSs. This is what WASI is — a system interface for the WebAssembly platform. We aim to create a system interface that will be a true companion to WebAssembly and last the test of time. This means upholding the key principles of WebAssembly — portability and security.

It provides portable and secure way to run WASM with system interface. It is also sandboxed.