cheekybits/genny
View on GitHub ↗ ★ 1,716 Go
Elegant generics for Go
10 mentions on Hacker News by 10 people: 0 stories, 10 comments · first 2017-03-24 · latest 2022-03-15
20082026
-
…of google: * https://github.com/kulshekhar/fungen * https://github.com/awalterschulze/goderive * https://github.com/cheekybits/genny
comment by fwip · 2021-03-22 · in The ecosystem of the Go programming language -
…stdlib, not about if it's possible. Is it even possible? Yeah, there are some implementation (e.g. https://github.com/cheekybits/genny ). So Go is not "far behind" C, which also does not have generics (or did I miss something in C11/C17?).
comment by bierjunge · 2021-01-13 · in A Proposal for Adding Generics to Go -
There is this for example https://github.com/cheekybits/genny However, I couldn't justify relying on such tooling for my projects...
comment by rplnt · 2020-02-01 · in MoonScript: Dynamic scripting language that compiles into Lua -
…stairway in their building if the elevator broke down. [0] https://github.com/clipperhouse/gen [1] https://github.com/cheekybits/genny [2] https://github.com/cosmos72/gomacro [3] https://appliedgo.net/generics/
comment by alexkavon · 2019-03-29 · in Go 2018 Survey Results -
…either type assertions from interface{} types, code generation through some sort of [preprocessor]( https://github.com/cheekybits/genny ), or copy-pasting code. All of these are more complex than a simple generics implementaton! Golang…
comment by perturbation · 2017-06-18 · in Go and Simplicity Debt Redux -
…I used golang, the less I had a need for generics. Also, there is solutions if you insist, such as https://github.com/cheekybits/genny Indeed, like I said, I haven't used it much so perhaps I would be able to live without generics. It is…
comment by dom96 · 2017-05-28 · in Ask HN: Does anyone use Nim language in production? -
…I used golang, the less I had a need for generics. Also, there is solutions if you insist, such as https://github.com/cheekybits/genny
comment by kskskuejej2 · 2017-05-28 · in Ask HN: Does anyone use Nim language in production? -
There are also a couple of code generation tools availbale such as https://github.com/cheekybits/genny and https://github.com/joeshaw/gengen
comment by eknkc · 2017-05-10 · in Codegen for type safety in Go -
…The concepts are fundamentally the same...the effort just happens in different places. [0]: https://github.com/cheekybits/genny
comment by kornish · 2017-03-24 · in 3.5 Years, 500k Lines of Go