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.
generic
-
Go 1.20: memory arenas
You might also consider using other data structures instead of slices, for example, a linked list can be grown without an issue.
-
how to implement a mutex queue in golang
github.com/zyedidia/generic's queue
- A collection of generic data structures written in Go
-
Go Generics Facilitators
I recently saw a go generic data structures library in the wild: https://github.com/zyedidia/generic.
Anyone have any more? I'm curious what people come up with for goroutines/channels.
- An experimental collection of generic data structures written in Go
- Experimental generic implementations of various data structures (map, b-tree, AVL tree, rope, and more)
fut
-
Go Generics Facilitators
Undocumented early impl/design of futures: https://github.com/cretz/fut
-
Trying Out Generics in Go
I feel the similar way, though I wouldn't be so brave to say I didn't ever use interface{}. I think we all work around slices and maps being the only generic containers and don't know we do. I think everyone will find that while they didn't need generics, they will help them when using utility libraries. Java 1.4 people thought the same.
I expect a well-curated libraries to come about that will really simplify some otherwise difficult problems for people (e.g. task/object pooling). I'm even toying with a futures impl at https://github.com/cretz/fut, but I wouldn't use it in place of channels in most cases.
What are some alternatives?
xgen - XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator
ineffassign - Detect ineffectual assignments in Go code.
async - experimental promises in go1.18 with generics
aboriginal - Aboriginal Generics: the future is here!
go-datastructures - A collection of useful, performant, and threadsafe Go datastructures.
functools - Functional tools in Go 1.18 using newly introduced generics
gods - GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more
gods - Go Data Structures
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
gostdx - Extended library functions using generics in Go.