Re:The State of WebAssembly 2022
by bluejekyll on Monday June 20, 2022 @11:21AM
(#31811415)
Interface types appear to continue to be making progress: https://github.com/WebAssembly/interface-types
From your link:
> Note: This proposal is currently inactive, with work having moved on to the component-model repo.
This is never getting done, is it... this is the fourth rewrite of such a feature.
Re:The State of WebAssembly 2022
by pyrolistical on Monday June 20, 2022 @01:54PM
(#31813351)
Don’t be so dismayed. I’ve been following the progress and the move was a good one. It allows them to ship the thing most people care about.
These things take time. If all else fails just write a polyfill. Component model doesn’t add anything new runtime requirements that can’t be polyfilled
You can do that with bindings currently. Interface types should only make it easier (for languages with utf-8 strings, as interface types does not support WTF-16 strings like in Java or JavaScript yet).
I still have not found a consistent way to construct a sqlite connection, pass it to wasm (language agnostic) and then return and close it.