goneric
Go generic utilities (by XANi)
advent-of-code-2022
Advent of Code 2022 (by bozdoz)
goneric | advent-of-code-2022 | |
---|---|---|
5 | 6 | |
18 | 6 | |
- | - | |
4.1 | 10.0 | |
about 1 year ago | over 1 year ago | |
Go | Go | |
MIT License | MIT License |
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.
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.
goneric
Posts with mentions or reviews of goneric.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-11.
-
(Rust) Tokio, FuturesUnordered, and the Thundering Herd Problem
Only thing missing from making it look and work as traditional async is lack of pre-processor to make it "look nice". Generics do make it a bit better, for example from my lib you can introduce some concurrency quite easily, for example
-
Conc: Better Structured Concurrency for Go
I do like idea of waitgroup on steroids, I might steal it for my generic library.
* [1] https://github.com/XANi/goneric/blob/master/worker.go#L92
-
Have yet to use generics...Am I missing out?
Shameless plug: here is a list of some useful stuff you can do with it, with code attached.
-
I've created a Go Generics cheatsheet to give you a quick reminder of how to use this feature
If someone wants some more examples I've made a lib with a bunch of common constructs. Fun ones include "run function in parallel on a slice and put it in output slice in order" or "return which elements are different between slices", with version allowing to easily get difference between 2 different types using conversion function
- Spawn multiple go routines, get the results back, in order of goroutine spawn...
advent-of-code-2022
Posts with mentions or reviews of advent-of-code-2022.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-25.
- 2022 contest: top 3 problems, and rating problems by difficulty
- Have yet to use generics...Am I missing out?
-
How long time do you spend solving tasks?
This year Iβve been trying to keep track of how much time I spend roughly on each day: https://github.com/bozdoz/advent-of-code-2022/blob/main/BLOG.md
- Trying out Go for the first time with advent of code, any pointers?
-
-π- 2022 Day 2 Solutions -π-
Go! https://github.com/bozdoz/advent-of-code-2022/tree/main/02
- -π- 2022 Day 1 Solutions -π-
What are some alternatives?
When comparing goneric and advent-of-code-2022 you can also consider the following projects:
dskDitto - Super fast duplicate file finder written in Golang.
conc - Better structured concurrency for go
go-future - A futures concurrency library in go
go-recovery - Golang recover from panics
ants - πππ ants is a high-performance and low-cost goroutine pool in Go./ ants ζ―δΈδΈͺι«ζ§θ½δΈδ½ζθη goroutine ζ± γ
lo - π₯ A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
sourcegraph - Code AI platform with Code Search & Cody
Telegraf - Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
new - A helper function to create a pointer to a new object in Go 1.18+