-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explore a way to adopt Component Model #229
Comments
To link extension libraries dynamically we need some extra ABI convention on the top of Wasm's import/export and Component Model.
Note that I intentionally ignored Thus conventions to be decided here are:
Emscripten's dynamic linking ABI would be useful as a starting point, but it requires external loader to fixup the addresses in code section. IIUC the main reason why it requires external loader is that Wasm cannot self-patch code space. (maybe also for resolving symbols at runtime?) But I don't have well understanding for "lifting" yet, so maybe I'm missing something key feature in Component Model Related links: |
Not for generic extension library, but it looks reasonable approach for importing/exposing functions https://github.com/dicej/componentize-py/ |
This is something I'd be interested in doing, but I'm not sure where to start? I'm working project that'll be using wasm for plugins and I'd like to support running ruby as that's what most people using the project will be familiar with. |
See https://github.com/WebAssembly/component-model for more details about Component Model
The text was updated successfully, but these errors were encountered: