-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Python SDK] Support for python SDK #1
Comments
My understanding is that you want to do it in two steps: 1 Create a C or C++ library for 2 Create a Python package wrapper for the C/C++ library under the Is that correct? My question is #2 -- why can't we just create a |
#1 Yes, it was that. But your #2 suggestion makes sense. I'll write it in python SDK just like go bindgen is written in go SDK. |
Sounds good. Thanks. Look forward to your contribution! |
Hello all,
As per my understanding, the
wasmedge-bindgen
makes it necessary to have an import object with functionsreturn_result
,return_error
and then manually allocate memory according to data type by callingallocate
then run the function that was written by the user and finally deallocate the allocated memory by callingdeallocate
.If this is correct, then for the python SDK should I write a new module named
wasmedge-bindgen
in C++ doing what thehost/go/bindgen.go
does?Or do you have any other recommendations?
Thanks!
CC @juntao
The text was updated successfully, but these errors were encountered: