Skip to content

Go: switch CGo implementation to component model canonical ABI in pure Go implementation #614

Open
@Mossaka

Description

I'd like to change the implementation of the go-bindgen from using CGO and depending on the C bindings to using the canonical ABI implementation.

The biggest block, however, is there is no mechanism to export functions to Wasm. I know that //go:wasmimport will land in Go 1.21 (Augest release), and //go:wasmexport is planned and might have developed. Once these two are available, I think we will be able to re-write the go-bindgen using canonical ABI.

Metadata

Assignees

No one assigned

    Labels

    gen-tinygoRelated to the TinyGo bindings generator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions