Generics

Open-source projects categorized as Generics

Top 23 Generic Open-Source Projects

  • lo

    💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

    Project mention: -🎄- 2022 Day 1 Solutions -🎄- | reddit.com/r/adventofcode | 2022-11-30

    in idiomatic Go, you must check errors whenever possible. you use the "github.com/samber/lo" package solely to hide error checking and forgot to check scanner.Err()

  • gomacro

    Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros

    Project mention: Gomacro: Go Interpreter and REPL | news.ycombinator.com | 2022-10-18
  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • pie

    🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.

    Project mention: Generic slice utils? I just created | reddit.com/r/golang | 2022-03-22

    How does this library differ from lo or pie?

  • mo

    🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)

    Project mention: Monads for Go, Using Generics (Option, Result, Either) | news.ycombinator.com | 2022-11-17
  • Time

    🕰 Type-safe time calculations in Swift (by dreymonde)

  • goderive

    Derives and generates mundane golang functions that you do not want to maintain yourself

    Project mention: Why GoLang supports null references if they are billion dollar mistake? | reddit.com/r/golang | 2022-09-10

    Now, am I going to do the same with a library like goderive just so I can use FP techniques to get, amongst some other things, less nil checks? No. Probably not. If I wanted to use primarily FP techniques in my code, I would probably be using something else in the first place. Go isn't a great environment for guaranteeing immutability for starters, so anything like that is necessarily going to be an incomplete experience. And in the bargain, my code would, in my opinion at least, be less readable and maintainable.

  • Time

    Type-safe time calculations in Kotlin, powered by generics. (by kizitonwose)

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • do

    ⚙️ A dependency injection toolkit based on Go 1.18+ Generics.

    Project mention: Genjector: Reflection-free Run-Time Dependency Injection framework for Go 1.18+ | reddit.com/r/golang | 2022-10-17

    How does this compare with https://github.com/samber/do ?

  • ttlcache

    An in-memory cache with item expiration and generics

    Project mention: batching incoming POST requests | reddit.com/r/golang | 2022-11-11

    Take a look at: github.com/jellydator/ttlcache

  • generic-records

    Generically derive traversals, lenses, and prisms.

  • Observable

    The easiest way to observe values in Swift.

    Project mention: UIKit state management | reddit.com/r/iOSProgramming | 2022-09-28

    You could try using observables https://github.com/roberthein/Observable

  • Arrow Meta

    Functional companion to Kotlin's Compiler

  • staticvec

    Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.

    Project mention: Alternative for Vec for variable size arrays in no_std environment? | reddit.com/r/rust | 2022-05-17

    If you're on nightly, I have a crate that I'd say would seem to be exactly what you're looking for.

  • go-generics-cache

    A key:value store/cache library written in Go generics. LRU, LFU, FIFO, MRU, Clock support.

    Project mention: Release v1.2.0 · Code-Hex/go-generics-cache | reddit.com/r/golang | 2022-09-18
  • genesis

    All generic functions for Go 1.18 you ever need! (by life4)

    Project mention: genesis: All generic functions for Go 1.18 you ever need! | reddit.com/r/coding | 2022-05-17
  • higgledy

    Higher-kinded data via generics

  • generics-sop

    Generic Programming using True Sums of Products

  • envy

    :angry: Environmentally friendly environment variables

  • Miniboxing

    Miniboxing is a program transformation that improves the performance of Scala generics when used with primitive types. It can speed up generic collections by factors between 1.5x and 22x, while maintaining bytecode duplication to a minimum. You can easily add miniboxing to your sbt project:

  • orm

    A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language. (by golobby)

  • Promis

    The easiest Future and Promises framework in Swift. No magic. No boilerplate.

  • async

    Synchronization and asynchronous computation package for Go (by reugn)

    Project mention: [async] When the standard sync is not enough | reddit.com/r/golang | 2022-11-28
  • go-monads

    experimental implementation of basic monads based on go2 generics draft

    Project mention: Go-monads:a library that implements basic Haskell monads | news.ycombinator.com | 2022-05-08
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-30.

Generics related posts

Index

What are some of the best open-source Generic projects? This list will help you:

Project Stars
1 lo 8,846
2 gomacro 1,982
3 pie 1,181
4 mo 1,131
5 Time 1,060
6 goderive 1,041
7 Time 957
8 do 690
9 ttlcache 544
10 generic-records 428
11 Observable 364
12 Arrow Meta 349
13 staticvec 268
14 go-generics-cache 260
15 genesis 260
16 higgledy 167
17 generics-sop 153
18 envy 146
19 Miniboxing 120
20 orm 118
21 Promis 109
22 async 103
23 go-monads 92
Delete the most useless function ever: context switching.
Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.
www.zigi.ai