Skip to content

Add Go 1.22 Support? #1334

Open
Open
@rcoreilly

Description

@rcoreilly

What are the current plans for implementing the rest of the features to get up to go 1.22?

We are now appreciating in our Cogent Core framework the significant limitations of the wasm platform (e.g., WebAssembly/design#796 (comment)) and performance on mobile web in particular is unacceptable for any kind of more complex app (e.g., golang/go#68156 and other issues linked therein). Therefore, we're wondering if gopherjs might provide a more performant web experience overall. However, our code depends on all the 1.22 goodies, including loop var and range over int, min/max, slog, and generics. We did some quick tests and it looks like the current generics branch could handle the generics aspects.

I have reasonable experience with the go compiler code and recently implemented these same features in yaegi as well, so I could probably do them relatively quickly if that would be a welcome PR?

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