Skip to content

question: wit-bindgen lack of host generation #1617

Description

@chaynabors

The README states:

The wit-bindgen project is intended to facilitate in generating a component, but once a component is in your hands the next thing to do is to actually execute that somewhere. This is not under the purview of wit-bindgen itself[...]

I wrote host side bindgen for wasmtime-py and I'm vending it locally right now. A lot of the code feels shareable, and I'm trying to understand the justification for this. Is there any appetite to increase scope in this repo?

The readme does a fine job pointing me to host side bindgen, except for languages like python whose host bindgen doesn't actually exist, and that desync is probably at least a little confusing for people like myself. The state of the art is that I have to lower my types to wire manually. That's arguably a problem for wasmtime-py, but referencing wit-bindgen for half of my codegen makes me want to ask the question at least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions