Stream: wit-bindgen

Topic: python guest binding generator


view this post on Zulip Joel Dice (Feb 24 2023 at 19:49):

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.

view this post on Zulip Kevin Smith (Feb 24 2023 at 21:26):

I've been doing a fair amount of work recently with embedding / extending Python in / with WASM, so I'm definitely interested.

view this post on Zulip Alex Crichton (Feb 24 2023 at 21:31):

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

view this post on Zulip Calvin Prewitt (Feb 24 2023 at 21:44):

Interested in helping with the Python guest bindings. If you could include myself and @Daniel Macovei in the conversation, it would be much appreciated.

view this post on Zulip Asen Alexandrov (Mar 01 2023 at 15:42):

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.

view this post on Zulip Joel Dice (Mar 06 2023 at 15:46):

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.

Join a WebRTC video conference powered by the Jitsi Videobridge

view this post on Zulip Flaki (Mar 31 2023 at 11:45):

Are there notes/next steps out of the meeting or any following discussions?

view this post on Zulip Flaki (Mar 31 2023 at 17:15):

To answer my own question: the work is happening in #wasm > Python guest runtime and bindings (see the latest meeting notes)

or

Last updated: Oct 23 2024 at 20:03 UTC