Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopting Go generics #39

Open
michaelwu0505 opened this issue May 1, 2022 · 1 comment
Open

Adopting Go generics #39

michaelwu0505 opened this issue May 1, 2022 · 1 comment

Comments

@michaelwu0505
Copy link

In the following article, it mentioned generics. Now the go 1.18 is released and has generics support, I was wondering if there is plan to take advantage of generics?

How code generation wrote our API and CLI.

When generics lands in Go, we will be able to reduce the amount of boilerplate code generated in favour of generic methods. In this world, we may not need to generate much plumbing code at all.

@michaelwu0505
Copy link
Author

Answering my own question.

In the following talk during Q&A session (time 42:24), Mat mentioned that oto probably will not benefit much from Go generics.

BelfastGophers October 2020: Mat Ryer - Oto, a simple RPC JSON/HTTP alternative approach to gRPC
https://youtu.be/DUg4ZITwMys?t=2544

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant