Skip to content
Rand

Open source alternatives to Rand

200 open source apps like Rand, closest match first.

Top picks

  1. G

    Genesis

    Launch

    Genesis 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

  2. R

    Randomix

    Launch

    🎲 An open source app to choose randomly between numbers, answers, options and so on

  3. F

    Fastrange

    Launch

    fastrange 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

  4. P

    Primesieve

    Launch

    primesieve is a command-line program and C/C++ library for generating prime numbers very quickly. It uses the segmented sieve of Eratosthenes with wheel factorization, which runs in O(n log log n) operations and O(sqrt n) memory, plus a buc

  5. R

    Rust Algorithms

    Launch

    Contest Algorithms in Rust is an open-source collection of classic data structures and algorithms written in Rust. It is meant to be read as a cookbook that shows how each algorithm is designed and implemented, rather than as a black-box li

  6. G

    Godot Utils And Other

    Launch

    random code that I made/use for godot

More like Rand

7
G

Gokey

A simple vaultless password manager in Go

Launch
8
P

POMjs

Random password generator. (Source Code) GPL-2.0 Javascript

Launch
9
I

Indicator

High-performance technical analysis indicators and backtesting framework in Go

Launch
10
G

Go Modern Guidelines

Help AI coding agents write modern Go

Launch
11
N

Nano

Lightweight, facility, high performance golang based game server framework

Launch
12
S

Swift Numerics

Advanced mathematical types and functions for Swift

Launch
13
T

Torrent

Full-featured BitTorrent client package and utilities

Launch
14
F

Frpc Go

fRPC-go is a lightweight, fast, and secure RPC framework implemented for Go

Launch
15
R

Ranim

An animation engine implemented in rust, inspired by manim and JAnim

Launch
16
D

Due

A High-Performance Distributed Game Server Framework in Go

Launch
17
G

Gronx

Lightweight, fast and dependency-free Cron expression parser

Launch
18
M

Mathnet Numerics

Math.NET Numerics

Launch
19
S

SecurityDriven.Inferno

.NET crypto done right. Professionally audited

Launch
20
D

DataViz

Build and Visualize data structures in Golang

Launch
21
P

Physix-go

A simple Physics engine in GoLang

Launch
22
R

RTM

Realtime Math

Launch
23
L

Long.js

A Long class for representing a 64-bit two's-complement integer value

Launch
24
G

Gobenchdata

Run Go benchmarks, publish results to an interactive web app

Launch
25
P

Pyrgg

Python Random Graph Generator

Launch
26
1

100 Go Mistakes

100 Go Mistakes and How to Avoid Them

Launch
27
C

Carbon

A simple, semantic and developer-friendly time package for golang

Launch
28
T

Thermite

Thermite SIMD: Melt your CPU

Launch
29
C

Competitive Programming RS

Algorithm Snippets for Competitive Programming in Rust

Launch
30
T

The Go Engineer

The Go Engineer is a complete Go backend engineering path where learners go

Launch
31
G

Go Libp2p

libp2p implementation in Go

Launch
32
F

Fleet

The blazing fast build tool for Rust

Launch
33
G

Govalid

Up to 45x faster. Auto generate type-safe validation code

Launch
34
M

Metrics

Lightweight alternative to github.com/prometheus/client_golang

Launch
35
Q

QuadGK.jl

adaptive 1d numerical Gauss–Kronrod integration in Julia

Launch
36
N

Number Flip

Increase your number with flipping animation

Launch
37
P

Passphraseme

A quick and simple cryptographically secure script

Launch
38
O

Orderedmap

An ordered map in Go with amortized O(1) for Set, Get, Delete and Len

Launch
39
G

Gno

An interpreted, stack-based Go virtual machine to build succinct

Launch
40
R

Roumon

Universal goroutine monitor using pprof and termui

Launch
41
S

Shuttle

A web proxy in Golang with amazing features

Launch
42
C

Cglm

Highly Optimized 2D / 3D Graphics Math (glm) for C

Launch
43
B

Bracket Lib

The Roguelike Toolkit (RLTK), implemented for Rust

Launch
44
S

Shuffle

Fast, GPU-rendered file manager and Finder alternative built in Rust

Launch
45
E

Extrema Infra

A high-performance quantitative trading infrastructure built in Rust

Launch
46
L

LibRmath.js

This R statistical nmath module re-created in typescript/javascript

Launch
47
N

Nonsense

Nonsensical Math Paper Generator

Launch
48
S

Simple Statistics

simple statistics for node & browser javascript

Launch
49
M

Mppp

Multiprecision for modern C++

Launch
50
F

Faker

Generate massive amounts of fake data in the browser and node.js

Launch

About Rand

R

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