tc39 / proposal-idl

Investigation into using an Interface Description Language (IDL) in the ECMAScript standard
39 stars 5 forks source link

Relation to WebAssembly WebIDL Bindings proposal #3

Open chicoxyzzy opened 5 years ago

chicoxyzzy commented 5 years ago

In the light of forthcoming updates in WebAssembly Host Bindings proposal it might make sense to choose WebIDL over JSIDL or at least mention Host Bindings WebIDL bindings as another advantage of choosing WebIDL in readme

littledan commented 5 years ago

I hope we can use WebIDL here, making JavaScript standard libraries using IDL capable of being accessed with the WebAssembly WebIDL bindings proposal.

ExE-Boss commented 5 years ago

Also, SpiderMonkey has already optimised calls between WebAssembly and built‑ins (alongside calls between JIT‑ed JS code and WASM)