Re:Dqlite – High-Availability SQLite
by szczepano on Friday August 30, 2019 @11:57AM
(#20839803)
you can probably compile c to webassembly using clang/llvm
[ Parent
| on HN ]
That's not what the parent was asking. They were asking if WASM has an FFI interface for runtimes that want to not execute the WASM code entirely sandboxed from the host, but rather want to allow you to dlload(2) code into the OS process hosting the WASM interpreter and call it through WASM ops.
Presumably, https://github.com/CraneStation/wasmtime would benefit from such an FFI API being specified.
That sounds like ActiveX 2.0 at best, and an utter security nightmare at worst.
Re:Dqlite – High-Availability SQLite
by MuffinFlavored on Friday August 30, 2019 @09:30PM
(#20844109)
Precisely. Do you think this is a feature the WebAssembly team should standardize or is it a bad fit for the language?
Re:Dqlite – High-Availability SQLite
by syrusakbary on Saturday August 31, 2019 @10:51PM
(#20850244)
That should be doable! (Disclaimer: I work at Wasmer https://github.com/wasmerio/wasmer )