anakin | go-linq | |
---|---|---|
2 | 5 | |
111 | 3,573 | |
0.0% | 0.7% | |
3.7 | 0.0 | |
about 1 year ago | almost 3 years ago | |
Rust | Go | |
MIT License | Apache License 2.0 |
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.
anakin
-
Tokio and Prctl = Nasty Bug
> PR_SET_CHILD_SUBREAPER
I wrote a tool that does just this: https://github.com/timmmm/anakin
If you run `anakin ` it will kill any orphan processes that makes.
However is still isn't the true "orphans of this process must automatically die" option that everyone writing job control software wants - if `anakin` itself somehow crashes then the orphans can live again.
Still it was the best I could come up with that didn't need root.
- Anakin – Automatically Kill Orphans
go-linq
-
Show HN: Rill – Composable concurrency toolkit for Go
There are also libraries like https://github.com/Jeffail/tunny or https://pkg.go.dev/go.uber.org/goleak or https://github.com/fatih/semgroup to help deal with concurrency limits and goroutine lifecycle management.
As the author of https://github.com/ahmetb/go-linq, it's hard to find adoption for libraries offering "syntactic sugar" in Go, as the language culture discourages those kind of abstractions and keeping the code straightforward.
-
Fourteen Years of Go
This is a lot more possible now that Go has generics (as of 1.18).
I would probably never use these, as I find such libraries are a whole new domain-specific language to learn, and often don't make things much simpler anyway, but here are some libraries where people have done something like this:
* https://github.com/ahmetb/go-linq: modelled after LINQ, but created pre-generics so only recently added some generics features
-
Querying and transforming object graphs in Go
So awhile back, there was a port of Linq https://github.com/ahmetb/go-linq that ended up giving up, since then it has been continued with https://github.com/szmcdull/glinq
-
Juniper is an extended Go standard library using generics, including containers, iterators, and streams
I am aware of this that predates generics: https://github.com/ahmetb/go-linq/blob/master/groupby.go
- What libraries from other languages do you wish were ported over into go?
What are some alternatives?
auto-parcel - Android Parcelable models made easy
jennifer - Jennifer is a code generator for Go
gen - Type-driven code generation for Go
android-contentprovider-generator - A tool to generate Android ContentProviders.
efaceconv