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

Update to use generics when GO 1.18 drops #2

Open
trypsynth opened this issue Dec 16, 2021 · 0 comments
Open

Update to use generics when GO 1.18 drops #2

trypsynth opened this issue Dec 16, 2021 · 0 comments

Comments

@trypsynth
Copy link

There's a lot of interface{} in this code. When Go 1.18 gets released later this month, LIT should probably be updated to take advantage (interface{} can be extremely unsafe, because it's basically equivalent to a void* pointer in C because you can cast it to literally any other type and Go will just happily take it and go "Yay, this is apparently this type now, so let's make it into that").

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