dskDitto
goneric
Our great sponsors
dskDitto | goneric | |
---|---|---|
3 | 5 | |
13 | 18 | |
- | - | |
5.8 | 4.1 | |
3 months ago | 12 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
dskDitto
-
Spawn multiple go routines, get the results back, in order of goroutine spawn...
Check out how I implemented my disk cleaner tool dskDitto. It might have the design pattern you’re looking for. Here is the link: https://github.com/jdefrancesco/dskDitto
-
Looking for ideas for side projects! (CPU Arch, RTL design, embedded/OS, firmware)
@OP I am working on my own x86 kernel from scratch if you’d like to help. Also I have a small utility dskDitto I’d like to actually continue developing: https://github.com/jdefrancesco/dskDitto
- Show Golang: dskDitto - Small go utility to find file duplicates rapidly
goneric
-
(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...
What are some alternatives?
fdupes - FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
conc - Better structured concurrency for go
duplikaatti - Remove duplicate files.
go-future - A futures concurrency library in go
xxhash - A Go implementation of the 64-bit xxHash algorithm (XXH64)
go-recovery - Golang recover from panics
goreleaser - Deliver Go binaries as fast and easily as possible
ants - 🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go./ ants 是一个高性能且低损耗的 goroutine 池。
Telegraf - The plugin-driven server agent for collecting & reporting metrics.
advent-of-code-2022 - Advent of Code 2022
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
sourcegraph - Code AI platform with Code Search & Cody