Skip to content
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

Investigate Wasm module linking through tables for providing a cross platform ABI #10

Open
nicholasjackson opened this issue May 4, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@nicholasjackson
Copy link
Owner

Rather than write an ABI for every language that will be compiled to Wasm it might be possible to create a single module that provides importable functions to other libraries using the linking mechanisms of Wasm Tables. Functions such as memory allocation, a string to pointer conversion, etc could be provided as a linked library rather than an importable module. This would vastly save duplication as only the definitions for the external functions would need to be created as language-specific imports. The implementation would be an externally linked library.

The initial intention of this would be to provide core Wasp functionality but this capability could be extended for plugin developers.

@nicholasjackson nicholasjackson added enhancement New feature or request question Further information is requested labels May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant