We have traits at home(axelmagn.com)
40 points by Ygg2 | 14 comments
A blog post proposing a convention for compile-time Traits in Zig as comptime structs of functions, compared with interfaces/vtables and comptime duck typing.
5 stories tagged generics, newest first.
40 points by Ygg2 | 14 comments
A blog post proposing a convention for compile-time Traits in Zig as comptime structs of functions, compared with interfaces/vtables and comptime duck typing.
130 points by AlexeyBrin | 100 comments
Daniel Hooper's blog post explaining a union-based technique for writing type-safe generic data structures in C, illustrated with a linked list.
725 points by database64128 | 222 comments
Go Blog post announcing the release of Go 1.27, outlining language changes such as generic methods plus toolchain, runtime, and standard library updates.
416 points by samtheprogram | 93 comments
NSHipster article by Mattt introducing Uncertain<T>, a Swift generic type for modeling uncertain values with probability distributions.
395 points by todsacerdoti | 162 comments
Daniel Hooper's blog post explaining a technique for writing type-safe generic data structures in C using unions to carry type information.