Ross ROSS = Recommend OSS · open-source software intelligence for agents

kimwalisch/primesieve

🚀 Fast prime number generator observed · 2026-08-28

github.com/kimwalisch/primesieve · C++ · BSD-2-Clause (permissive) 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

Full methodology

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

Member repositories

RepositoryRoleHealth v2
kimwalisch/primesievemain93

For agents

markdown · JSON · MCP: product_card(name="kimwalisch/primesieve")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem