News for hackers. Stuff that matters.
Re:Wasmer – Universal Binaries Powered by WebAssembly by akhilcacharya on Saturday December 08, 2018 @03:18PM (#18637287)
Stupid question - how are they handling system calls in wasmer? I can't seem to find the answer easily.
Re:Wasmer – Universal Binaries Powered by WebAssembly by syrusakbary on Saturday December 08, 2018 @03:41PM (#18637396)
We first wanted to focus on running Emscripten-generated WebAssembly files, so we are wrapping the syscalls that Emscripten is using with the real syscalls under the hood.

Here's an example of that: https://github.com/wasmerio/wasmer/blob/master/src/apis/emsc...

Re:Wasmer – Universal Binaries Powered by WebAssembly by akhilcacharya on Sunday December 09, 2018 @02:19AM (#18639804)
Would support for something like wasm-bindgen be possible eventually?
Re:Wasmer – Universal Binaries Powered by WebAssembly by bno1 on Saturday December 08, 2018 @03:28PM (#18637340)
I'm not very well informed but I assume that you just call functions which are implemented by the VM, in the same manner you do filesystem operations in nodejs.