News for hackers. Stuff that matters.
Re:Gen - a generics library for Go by c-a on Saturday January 11, 2014 @07:00PM (#7044406)
Why call it a library when it's a code generator/compiler?
Re:Gen - a generics library for Go by mwsherman on Saturday January 11, 2014 @08:49PM (#7044769)
Author here, you’re right. I prefer to call it a tool or an ‘approach’ but whatevs. :)
Re:Gen - a generics library for Go by Refefer on Saturday January 11, 2014 @07:20PM (#7044492)
I would argue this is a new language which just happens to compile to go.
Re:Gen - a generics library for Go by c-a on Saturday January 11, 2014 @07:24PM (#7044512)
Actually it's a code generator with a library of functions it can generate. This is how the "generics" are implemented: https://github.com/clipperhouse/gen/blob/master/templates.go