Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Go 1.6 is Released. Parent comment
No, it can't. There are patterns that no monomorphization strategy (including code generation) can express. For example:
func MakeList<T>(x T) List<T> { ... } func Foo<T>(x T) { if ... { Foo(MakeList(x)) } }
No, it can't. There are patterns that no monomorphization strategy (including code generation) can express. For example:
This is a contrived example, but this shows up from time to time in functional data structures.