nowfound

Dev tools · alternatives · 2026

24 alternatives to Go 1.18 generic implementations of SliceTricks from the Go wiki

Implementations of https://github.com/golang/go/wiki/SliceTricks using generics - jamespwilliams/slicetricks

Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Go 1.18 generic implementations of SliceTricks from the Go wiki launched in 2022; newer entries below may have overtaken it.

  1. 1

    LRU cache using go generics. Contribute to dboslee/lru development by creating an account on GitHub.

    2022 · github.com · its alternatives →

  2. 2

    Globe wireframe visualizations in Golang. Contribute to mmcloughlin/globe development by creating an account on GitHub.

    2017 · github.com · its alternatives →

  3. 3

    No gc, No goroutines, Produces small binaries while using the unmodified official go toolchain, and comes with complete Web SDK (generated from w3c/webref). We are building `pcz` to provide a reimagination of Go the language, in an effort to make it suitable for all kinds of programming tasks, and currently you can use it to build efficient web applications in Go using the generated Web SDK (as shown with the live web demo[1]). The journey is just starting, any suggestions? or any critics? [1]: https://primecitizens.github.io/livedemos/10-plat-web/

    2023 · github.com · its alternatives →

  4. 4

    Guts is a code generator that converts Golang types to Typescript. Useful for keeping types in sync between the front and backend. - coder/guts

    Nov 2025 · github.com · its alternatives →

  5. 5

    A lisp rosetta stone to demonstrate modern language features - eatonphil/lisp-rosetta-stone

    2021 · github.com · its alternatives →

  6. 6

    the JS/Node.JS library for encoding complex and unconventional data structures. Support for BigInts, TypedArrays, null, undefined, and Symbol. Multiple flavors available. - DO-SAY-GO/WeirdJSON

    2020 · github.com · its alternatives →

  7. 7

    A single publisher, multi subscriber lockless ring buffer build with the new generics in Go 1.18beta.

    2022 · github.com · its alternatives →

  8. 8

    Hey HN, I’m sharing ts-chan, an NPM package providing Go-like concurrency primitives, including channels and select statements, for TypeScript and JavaScript, supporting Node.js, Deno, Bun, and browsers. This is something I've built to make implementing Go-style "control loops" feasible in JavaScript, but there are many possible applications. Highlights: - Features a FIFO processing Chan class and versatile Select class for concurrency control. - Supports buffered channel and channel close semantics very close to Go's. - TypeScript-first implementation. - Defines a simple "channel protocol"…

    2023 · github.com · its alternatives →

  9. 9

    A Go library that implements Consistent Hashing and Consistent Hashing With Bounded Loads. - lafikl/consistent

    2017 · github.com · its alternatives →

  10. 10

    Learn Go (Golang) by writing real code in this interactive course. Practice structs, interfaces, errors, concurrency, and idiomatic backend patterns.

    2020 · qvault.io · its alternatives →

  11. 11

    The world’s most powerful template engine and Go embeddable interpreter - open2b/scriggo

    2021 · github.com · its alternatives →

  12. 12

    Better way to implement APIs in Go (finally!)

    2025 · github.com · its alternatives →

  13. 13

    Generic types and functions that are missing from Go, including sets, linked lists, trees, etc. - GitHub - applejag/typ: Generic types and functions that are missing from Go, including sets, linked lists, trees, etc.

    2022 · github.com · its alternatives →

  14. 14

    Go Interface Mocking Tool. Contribute to percolate/charlatan development by creating an account on GitHub.

    2018 · github.com · its alternatives →

  15. 15GM

    I’ve worked a lot with C# and .NET, and one tool I really missed when using Go was AutoMapper. So I built go-mapper, a lightweight Go package that helps map between structs — useful for converting DTOs to domain models, etc. Uses Go generics (1.18+) Supports shallow copy of fields Custom field transformations with fluent API Optional interface for struct-level control Example: type CreateUserDto struct { Name string Password string } type User struct { Name string PasswordHash string } mapper.CreateProfile(CreateUserDto{}, User{}, mapper.ForMember(func(u *User) any { return &u.PasswordHash…

    2025 · its alternatives →

  16. 16

    Instantly turn Go structs into AI-mocked JSON

    2025 · its alternatives →

  17. 17

    A GraphQL client package written in Go. Contribute to getoutreach/goql development by creating an account on GitHub.

    2021 · github.com · its alternatives →

  18. 18

    Doing dynamic dispatching in a strict static typing language is hard. Something as simple as, map.put("add", add); map.put("hello", hello); fn add(a: i32, b: i32) i32 { return a + b; } fn hello() []const u8 { return "Hello World"; } is impossible because the value type of key/value of the map needs to be the same but all the function types are different. Calling functions with different number of parameters, different parameter types, and different return type dynamically is difficult. Other languages either use dynamic typing, runtime reflection, macro, or passing in one big generic…

    2025 · github.com · its alternatives →

  19. 19

    Golang client library for Gradium.AI TTS/STT API. Contribute to cydanix/go-gradium development by creating an account on GitHub.

    Dec 2025 · github.com · its alternatives →

  20. 20UF

    2015 · rwinslow.com · its alternatives →

  21. 21

    A simple discrete event simulator in Go. Contribute to JensRantil/steps development by creating an account on GitHub.

    2025 · github.com · its alternatives →

  22. 22

    The game of Go for the command line. Contribute to tsujigiri/gosh development by creating an account on GitHub.

    2015 · github.com · its alternatives →

  23. 23

    We propose adding powerful type-level introspection and construction facilities to Python’s type system. This design is inspired largely by TypeScript’s conditional and mapped types, but is adapted to the distinct semantics and constraints of Python’s t...

    Mar 2026 · peps.python.org · its alternatives →

  24. 24GA

    I'm starting to implement a barebones version of pytorch in Go. The primary motivation is: 1. I want to better learn Pytorch and how it works so what better way than to just re-implement some of its core features. 2. I write mainly in Go and haven't come across a lot of ML support in Go 3. I'd rather have a Go ML service instead of spinning up additional infrastructure to just support a python ML service in my Go projects 4. Go's static typing, native concurrency (avoid GIL problem in python), efficient memory management, single binary deployment and more make it a better interface compared…

    2024 · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →