Hi all. I'm interested in adding a Python guest binding generator to wit-bindgen. We just had a short discussion about this in the weekly component model meeting, and these are my takeaways:
Note that I'm not planning to work on this right away -- just putting together a plan of action.
I've been doing a fair amount of work recently with embedding / extending Python in / with WASM, so I'm definitely interested.
Since there's already a Python host binding generator, we should try to follow the precedents it has set for type generation, etc, and reuse code where appropriate
Oh one thing I should clarify here, I think the end result should be the host/guest using the same types but the host generator as-is right now is by no means the gold standard. I'm sure it has its own bugs and deficiencies and is primarily written by me who has almost no Python experience, so while it may off inspiration I don't want to give the mistaken impression that it should be religiously adhered to
Interested in helping with the Python guest bindings. If you could include myself and @Daniel Macovei in the conversation, it would be much appreciated.
We might need to use this or work on it in a few months at WasmLabs. Could you add me to the conversation if you guys get to doing something.
As I mentioned in #wasm, I've scheduled a meeting to discuss this (and related Python guest component topics) on Friday. We'll meet at https://meet.jit.si/PythonGuestComponents-2023-03-10 at noon ET / 9am PT. DM me your email address if you'd like an email invitation.
Are there notes/next steps out of the meeting or any following discussions?
To answer my own question: the work is happening in #wasm > Python guest runtime and bindings (see the latest meeting notes)
Last updated: Nov 22 2024 at 16:03 UTC