News for hackers. Stuff that matters.
Re:Wasmer – Run, Publish and Deploy any code, anywhere by Alifatisk on Monday September 18, 2023 @08:36AM (#37555303)
Cool, so Wasmer could in theory allow me to run functions from Rust in Ruby via a wasm module?
Re:Wasmer – Run, Publish and Deploy any code, anywhere by CyberDildonics on Monday September 18, 2023 @11:22AM (#37557444)
Can't you already do that by writing a shared library?
Re:Wasmer – Run, Publish and Deploy any code, anywhere by Alifatisk on Monday September 18, 2023 @02:42PM (#37560230)
Through FFI? Yeah.
Re:Wasmer – Run, Publish and Deploy any code, anywhere by meepmorp on Monday September 18, 2023 @03:47PM (#37561054)
The calls to WASM would also be through FFI, right? Because it's not part of the actual ruby runtime.
Re:Wasmer – Run, Publish and Deploy any code, anywhere by Alifatisk on Monday September 18, 2023 @05:05PM (#37562045)
Looks like it's done through shared library

https://github.com/wasmerio/wasmer-ruby/blob/master/lib/wasm...