Free alternatives to Rand
200 free apps like Rand, closest match first.
Top picks
- G
Genesis
LaunchGenesis is a Go library of generic functions for channels, maps and slices, built for Go 1.18 and newer. It has more than 170 functions, including Filter, Map and Reduce for processing data, plus async versions such as FilterAsync, MapAsync
- G

golang-benchmark
Getgolang-benchmark is an agent skill from the samber cc-skills-golang collection for measuring Go performance: writing benchmarks, running them, profiling hot paths with pprof, and comparing results before and after a change. Its persona is a
- R
Randomix
Launch🎲 An open source app to choose randomly between numbers, answers, options and so on
- G

golang-performance
Getgolang-performance is an agent skill from the samber cc-skills-golang collection that guides a coding agent through Go performance work. Its rule is to profile before optimising: define a metric, take a baseline, diagnose the bottleneck, ma
- G

golang-popular-libraries
Getgolang-popular-libraries is an agent skill from the samber cc-skills-golang collection for choosing Go libraries and frameworks. Its persona is a Go ecosystem expert who knows the library landscape well enough to recommend the simplest prod
- F
Fastrange
Launchfastrange is a small C and C++ library that maps a machine word to an integer in a range faster than the modulo operator. Mapping a value to a range, such as turning a hash into a bucket number, is a common step in hashing and probabilistic
More like Rand

golang-troubleshooting
Troubleshoot Golang programs systematically - find and fix the root cause
About Rand
Rand
Fast, high quality alternative to math/rand and golang.org/x/exp/rand
pgregory.net/rand is a Go random number package that is meant as a faster, higher-quality replacement for math/rand and the experimental golang.org/x/exp/rand. It keeps the API of *rand.Rand and most top-level functions, so existing code can often switch to it with an import change. It removes the top-level Seed function and the Source interface, and makes setup simpler: rand.New() creates a generator seeded from the clock, and rand.New(1) gives a fixed seed. The README includes benchmarks against math/rand, math/rand/v2, golang.org/x/exp/rand and fastrand on Intel and Xeon CPUs, and notes that fastrand does not produce good random numbers. The FAQ explains the author's reasons for writing it and says that math/rand/v2 is the better choice unless every nanosecond counts, in which case this package is still faster without losing quality. It is for Go developers who use random numbers in simulations, tests, games or other hot code paths. It is a library, so you add it to a Go module and import it.
- Price
- Free
- Made by
- flyingmutant
- Category
- Education
- Website
- github.com/flyingmutant/rand







