WebIDL C++ binding on both ends

21 views
Skip to first unread message

Al Izi

unread,
Oct 20, 2019, 6:15:09 PM10/20/19
to emscripten-discuss
Emscripten webidl compiler produces C++ binding for the "guest" (wasm) side and JS server side "glue". Is it possible to make C++ "glue" which could be used by runtime that doesn't have JS (like wasmer or wavm)? In other words is it possible to make webidl binding that could be used by both wasm vm and the runtime?  

Derek Schuff

unread,
Oct 20, 2019, 10:22:33 PM10/20/19
to emscripten-discuss
Not with emscripten currently. Eventually the Interface Types (https://github.com/WebAssembly/interface-types/blob/master/proposals/interface-types/Explainer.md) proposal should allow something like that, where the toolchain and engine would implement the IT spec, and there would not need to be JS in the middle.

On Sun, Oct 20, 2019 at 5:15 PM Al Izi <capitan...@gmail.com> wrote:
Emscripten webidl compiler produces C++ binding for the "guest" (wasm) side and JS server side "glue". Is it possible to make C++ "glue" which could be used by runtime that doesn't have JS (like wasmer or wavm)? In other words is it possible to make webidl binding that could be used by both wasm vm and the runtime?  

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/2abf8c1d-6edb-4d9c-912f-833adc000c87%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages