You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generic(a.k.a. parametric polymorphism) added into Go, let's explore how would it change our codebase, this issue is created to track related discussion.
Great that you started to track the discussion @dannypsnl!
Just to clarify, we will evaluate how using generics would change the llir/llvm API, and based on this evaluation of benefits and drawbacks, we would then decide whether to actually update the API to use generics or not. It is also a possibility that generics brings with it more cons than pros in our specific case. Experimentation and evaluation will tell! :)
To let users have their own Function, now we can have
typeFunctionstruct {
// ...
}
typeFuncinterface {
LLString() string// anything we need internally
}
// use point of Functionfuncfoo[F*Function|Func](fF) {
// ...
}
Uh oh!
There was an error while loading. Please reload this page.
Generic(a.k.a. parametric polymorphism) added into Go, let's explore how would it change our codebase, this issue is created to track related discussion.
The text was updated successfully, but these errors were encountered: