Generics are just syntax sugar around `interface{}` [1] well hopefully the runtime JIT optimizes things for me.
I'm rather impressed that when `go` actually implements something I wanted they still manage to implement it in a way that is hacky and has massive trade-off's while literally avoiding doing the bare minimum to improve the compiler. Its disappointing.
I'm rather impressed that when `go` actually implements something I wanted they still manage to implement it in a way that is hacky and has massive trade-off's while literally avoiding doing the bare minimum to improve the compiler. Its disappointing.
[1] https://go.googlesource.com/proposal/+/master/design/go2draf... go to efficiency