Crell, 13 days ago This looks very interesting... https://github.com/extism/php-sdk #PHP #wasm #plugin
This looks very interesting...
https://github.com/extism/php-sdk
#PHP #wasm #plugin
pronskiy, 13 days ago @Crell It’s similar to Wasmer https://github.com/wasmerio/wasmer-php, but they use FFI i.e. there is no need to install extension , right?
@Crell It’s similar to Wasmer https://github.com/wasmerio/wasmer-php, but they use FFI i.e. there is no need to install extension , right?
Crell, 13 days ago @pronskiy I dunno. My knowledge is limited to what's in the Readme. :-) Its apparently a common Wasm runtime for several languages. I don't know if it's wasmer or wasmtime under the hood.
@pronskiy I dunno. My knowledge is limited to what's in the Readme. :-)
Its apparently a common Wasm runtime for several languages. I don't know if it's wasmer or wasmtime under the hood.
hunter, 13 days ago @Crell If it’s more than just WASM, almost looks like a user friendly wrapper around FFI no?
@Crell If it’s more than just WASM, almost looks like a user friendly wrapper around FFI no?
Crell, 13 days ago @hunter I don't know what the inner implementation looks like, but I suppose you could think of it as FFI for Wasm rather than for the C ABI. Though I'm pretty sure it actually is embedding a Wasm runtime, which runs the code. Wasm is designed to make that easy.
@hunter I don't know what the inner implementation looks like, but I suppose you could think of it as FFI for Wasm rather than for the C ABI.
Though I'm pretty sure it actually is embedding a Wasm runtime, which runs the code. Wasm is designed to make that easy.
fredbrooker, 13 days ago @Crell what's that for? 🤔
@Crell what's that for? 🤔
Crell, 13 days ago (edited 13 days ago) @fredbrooker Running Wasm plugins in a PHP app, in the same format they can run in other languages.
@fredbrooker Running Wasm plugins in a PHP app, in the same format they can run in other languages.
fredbrooker, 13 days ago @Crell there's a Go framework for building PWA wasm app - but loading 3 MB service worker seems like a shotgun
@Crell there's a Go framework for building PWA wasm app - but loading 3 MB service worker seems like a shotgun
Crell, 13 days ago @fredbrooker This is all server side.
@fredbrooker This is all server side.
fredbrooker, 13 days ago Czech @Crell no, the WASM FOR GO runs in the browser, I guess I don't want to run wasm on server, why? 🤔
@Crell no, the WASM FOR GO runs in the browser, I guess I don't want to run wasm on server, why? 🤔
Crell, 13 days ago (edited 13 days ago) @fredbrooker Because it's a common runtime that is multi language and very fast. It's what the JVM keeps pretending it is. And embedding a Wasm runtime let's your app accept plugins in any language.
@fredbrooker Because it's a common runtime that is multi language and very fast. It's what the JVM keeps pretending it is. And embedding a Wasm runtime let's your app accept plugins in any language.
fredbrooker, 13 days ago @Crell and I fear of that
@Crell and I fear of that
Crell, 13 days ago @fredbrooker Why fear? I think it's huge.
@fredbrooker Why fear? I think it's huge.
Add comment