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 <[email protected]> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/2abf8c1d-6edb-4d9c-912f-833adc000c87%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/2abf8c1d-6edb-4d9c-912f-833adc000c87%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAAEAhvc83n2pjwmBpq1YF7uv4D%3D_%2B4O9af-hkXJVnoS2%2BbyWOA%40mail.gmail.com.
