Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on When zero cost abstractions aren't zero cost. Parent comment
Not specializing at all would make your code awful slow (as you would need some quite complicated and costly treatment of generics at runtime).
"Specializing by hand" is not realistically doable besides toy programs.
And not having generics in the language at all will result in "solutions" like in Go…
I see no way around (semi-)automatic specialization done by the compiler.
There are no comments on this comment yet.
Not specializing at all would make your code awful slow (as you would need some quite complicated and costly treatment of generics at runtime).
"Specializing by hand" is not realistically doable besides toy programs.
And not having generics in the language at all will result in "solutions" like in Go…
I see no way around (semi-)automatic specialization done by the compiler.