genny VS xgen

Compare genny vs xgen and see what are their differences.

genny

Elegant generics for Go (by cheekybits)

xgen

Salesforce open-source LLMs with 8k sequence length. (by salesforce)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
genny xgen
6 2
1,690 706
0.5% 1.1%
0.0 7.0
over 2 years ago 3 months ago
Go Python
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

genny

Posts with mentions or reviews of genny. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-15.
  • Go 1.18 Released
    20 projects | news.ycombinator.com | 15 Mar 2022
    Im not sure about any library in particular.

    There were bunch of libraries which helped with code generation to work around generics. I don't think it was specific to Graphql.

    https://github.com/cheekybits/genny is one I have seen.

  • To Those Who Criticize JavaScript
    3 projects | /r/javascript | 27 Mar 2021
    TypeScript is pretty much necessary for a modern JS project if you ask me, so I agree with you here. At the same time, I'd say that if the JS ecosystem offers a solution, that doesn't count as a failure. It's like pointing to the lack of generics in Go and calling that a failure. No, that's a design choice that can be worked around. Same in JS; dynamic typing was a design choice, TypeScript is a solution.
  • Learn to build SDK or Wrapper over REST and Websocker
    2 projects | /r/golang | 7 Mar 2021
    If you want to experiment, I've been meaning to try out this library, which uses code generation (a first-class feature in go), to give generics-like functionality.
  • Created my first go tool, an interface generator
    2 projects | /r/golang | 16 Jan 2021
    If you are into codegen, there are some larger codegen projects or there, like cheekybits/codegen (there are more in the space of trying to circumvent generics in go).
  • Metaprogramming
    4 projects | dev.to | 10 Jan 2021
    In golang there is no parametric polymorphism (or “type parameters”, or “generics”). So people created workarounds, for example, gengen (similar solutions genny, generic, gen):

xgen

Posts with mentions or reviews of xgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-03.

What are some alternatives?

When comparing genny and xgen you can also consider the following projects:

goreuse

TOML-to-Go - Translates TOML into a Go type in your browser instantly

gonerics - Generics for go

xgen - XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator

Garment - 🐺 A Thread Safe Connection Pooling.

generic - flexible data type for Go

hasgo - Haskell-flavoured functions for Go :smiley:

gocontracts - A tool for design-by-contract in Go

re2dfa - Transform regular expressions into finite state machines and output Go source code. This repository has migrated to https://gitlab.com/opennota/re2dfa

gounit - Unit tests generator for Go programming language

astextract - Convert a go file to its ast representation

lux - The Lux Programming Language