5 ms·
Exactly. The Drupal code is unmodified and runs on top of the PHP interpreter compiled to Wasm [0]. The Drupal PHP code is not compiled to Wasm. - [0] https://
by angelmm 3y ago
Exactly. The Drupal code is unmodified and runs on top of the PHP interpreter compiled to Wasm [0]. The Drupal PHP code is not compiled to Wasm.
- [0] https://github.com/vmware-labs/webassembly-language-runtimes https://github.com/vmware-labs/webassembly-language-runtimes
- berkes 3y agoIs that possible, though? To compile PHP to WASM seems possible¹, but not sure if Drupal can be compiled: drupal does (did? back when I did Drupal it certainly did. I certainly did) some really funky metaprogramming and eval() stuff. Like keeping PHP in the database. ¹https://github.com/wapm-packages/php https://github.com/wapm-packages/php