kimwalisch/primesieve
🚀 Fast prime number generator observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 41.5
- age_days: 4726
- days_rel: 47
- days_push: 9
- n_releases_24m: 11
Adoption not part of the score
1111 stars · 137 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
primesieve is a fast command-line program and C/C++ library for generating prime numbers and prime k-tuplets up to 2^64 using a segmented sieve of Eratosthenes with wheel factorization. It is cache-efficient, auto-detects CPU cache sizes, and is multi-threaded by default.
Use cases
- generate all primes up to a large limit like 1e10
- count primes below a number quickly
- print twin primes or other prime k-tuplets
- generate primes into a text file
- embed a fast prime generator in a C or C++ program
- benchmark CPU sieve performance
When to choose
- you need extremely fast prime generation up to very large bounds (up to 2^64)
- you want a simple CLI for counting or listing primes
- you need a C/C++ library API for primes in your own code
- you want multi-threaded, cache-optimized sieving out of the box
When to avoid
- you need primality testing of individual large numbers rather than sieving ranges
- you need arbitrary-precision primes beyond 2^64
- you work in a language without C bindings and only need small prime lists
Facets
library · maturity stable
math cli benchmarking mathematics performance windows bsd cpp c cross-platform cli prime-numbers sieve-of-eratosthenes number-theory simd multithreaded high-performance-computing algorithms command-line linux macos
1 source
- readme: https://github.com/kimwalisch/primesieve · fetched 2026-08-28 · d33b1d738fa6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kimwalisch/primesieve | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="kimwalisch/primesieve")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem