google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.26k stars 204 forks source link

Rewrite with Generics in Go? #469

Closed DreamThrow closed 1 year ago

adonovan commented 1 year ago

Could you clarify the question? Where in the Starlark-Go implementation would generics help? I have no objection to using generics (when we drop support for go1.17) but can't actually think of a single place in the code base where it would have made any difference. (No doubt this is partly because Starlark is an untyped language.)

I'm going to close this issue but feel free to reopen if you have specific ideas.