go-iterator VS go

Compare go-iterator vs go and see what are their differences.

go-iterator

Go 1.18 generics iterator experiment (by polyfloyd)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go-iterator go
2 2,418
5 134,656
- 0.6%
0.0 10.0
over 3 years ago about 10 hours ago
Go Go
- BSD 3-clause "New" or "Revised" 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.

go-iterator

Posts with mentions or reviews of go-iterator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-15.
  • 1.18 is released
    6 projects | /r/golang | 15 Mar 2022
    I already played around a bit wit the beta a while back and made an iterator library to get to know this new language. It's here for anyone interested: https://github.com/polyfloyd/go-iterator
  • iter: Generic, lazy iterators for Go 1.18
    6 projects | /r/golang | 10 Jan 2022
    Regarding call chaining, it is still possible to chain things with operations that return different types, but they have to be done with functions instead of methods, so the result is still the same, just it's a little less readable. There is a generic iterator implementation by polyfloyd that doesn't support method chaining, but imo being able to chain iterators is one of their biggest strengths, since implementing lazy evaluation manually for a single operation isn't that difficult, its when you need to perform multiple kinds of manipulations that it gets messy.

go

Posts with mentions or reviews of go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-06-08.
  • Building Kafka Producer-Consumer Using Go and Docker
    4 projects | dev.to | 8 Jun 2026
    Go is an open-source, statically typed, compiled language designed at Google for simplicity, reliability, and efficiency. It ships with a rich standard library, first-class concurrency primitives (goroutines and channels), and produces single, statically-linked binaries — making it an excellent fit for microservices and containerised workloads.
  • Show HN: Gitdot – a better GitHub. Open-source, anti-AI, and written in Rust
    5 projects | news.ycombinator.com | 8 Jun 2026
    TBH I don't have anything more to add that hasn't already been discussed here and in previous threads: https://github.com/golang/go/issues/77273

    It's probably polarizing and I honestly don't know why I felt the need to rant about it. /shrug

  • Fooling Go's X.509 Certificate Verification
    1 project | news.ycombinator.com | 6 Jun 2026
    I don't think that's an ongoing debate looks to me that it ended in 2019 https://github.com/golang/go/issues/31440#issuecomment-53724...
  • Goroutines in Rust
    5 projects | dev.to | 2 Jun 2026
    update the steps to remove the use of tokio, and include porting the scheduler and other missing parts from the go repo: https://github.com/golang/go
  • Go: Support for Generic Methods
    6 projects | news.ycombinator.com | 27 May 2026
    Like IPv6 addresses, UUIDs, the list goes on. Does it mean anything that Go themselves had to invent a custom uint128 type in the standard library because they didn't want to add it to the language? There's a very long list of instances of them stonewalling it here: https://github.com/golang/go/issues/9455
  • Migrating from Go to Rust
    7 projects | news.ycombinator.com | 24 May 2026
    If verbosity is a main stickler, this is coming to golang 1.28 which will cut down on verbosity drastically:

    https://github.com/golang/go/issues/12854#issue-110104883

  • include-tidy: A Tool to Enforce Include-What-You-Use
    9 projects | dev.to | 21 May 2026
    Unlike Go where the language definition itself via its compiler strictly enforces the inclusion of modules (i.e., include exactly what you use, no more, no less), neither the C nor C++ language definitions have an equivalent enforcement. This can lead to two problems:
  • Understanding Singleflight in Go
    3 projects | news.ycombinator.com | 18 May 2026
    d

    And later I put it in https://pkg.go.dev/github.com/golang/groupcache/singleflight (groupcache was written for dl.google.com)

    And a private copy in Go's net package in Jun 2013: https://github.com/golang/go/commit/61d3b2db6292581fc07a3767...

    It later moved to golang.org/x/net, and later to the Go standard library (well, internal: https://pkg.go.dev/internal/singleflight)

    We now even have a copy with generics in Tailscale's tree at https://pkg.go.dev/tailscale.com/util/singleflight

    So many variants of that code :)

  • Toward a more POSIX-Friendly PowerShell experience
    22 projects | dev.to | 18 May 2026
    golang – The Go language and compiler.
  • C++26 Shipped a SIMD Library Nobody Asked For
    2 projects | news.ycombinator.com | 17 May 2026

What are some alternatives?

When comparing go-iterator and go you can also consider the following projects:

client

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

iter - Package iter provides generic, lazy iterators, functions for producing them from primitive types, as well as functions and methods for transforming and consuming them.

TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.

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

zig - Moved to Codeberg

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured