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

Update Wasm3, make use of exciting new API #4

Open
vshymanskyy opened this issue Mar 18, 2021 · 1 comment
Open

Update Wasm3, make use of exciting new API #4

vshymanskyy opened this issue Mar 18, 2021 · 1 comment

Comments

@vshymanskyy
Copy link

With latest Wasm3 (v0.4.9), new API is available which fixes many things in the public API:

  • Exported function signature introspection
  • Introspection of imported functions (see _ctx argument)
  • Public api for calls with raw arguments (instead of strings)
  • Public API to get return values
  • Support recursive m3_Call invocation. I.e. calling exported function from within imported function callback.
  • m3_RunStart can be used to force the module initialization.

I think all this can greatly help your bindings implementation.
@matiasinsaurralde please let me know it you need any other public API, or have any ideas!

This is already implemented in Python bindings, you can use it as a reference:
https://github.com/wasm3/wasm3/blob/master/platforms/python/m3module.c

@matiasinsaurralde
Copy link
Owner

Hi, I would like to follow up with this in the upcoming weeks, the new version looks exciting. Would be great to get up to speed with the latest changes and set up a process to follow fresh releases.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants