Prime number projects in 100+ programming languages, to compare their speed - and their programmer's cleverness
-
Updated
Oct 26, 2025 - C
Prime number projects in 100+ programming languages, to compare their speed - and their programmer's cleverness
🚀 Fast prime number generator
Tool for Solving Problems in Combinatorics and Computational Mathematics
Prime number library for Python 3
Raku bindings for primesieve
Pascal bindings for PrimeSieve library - https://github.com/kimwalisch/primesieve.
A Python wrapper for primecount.
A custom prime algorithm, implementation, and performance code & review
primesieve (Fast prime number generator) C bindings for nim
A short program i wrote to find the 10 millionth prime using rayon.
Collection of useful methodes and classes.
An implementation of the sieve of Eratosthenes to check prime numbers.
CUDA (GPU) implementation of the sieve of Eratosthenes.
Library of Python functions to work with large prime numbers
JNI bindings for primesieve
A somewhat fast C++ implementation of a prime sieve.
Small programs that I've mostly rewritten in Python/C++ to understand a concept, or to solve a problem.
A few mathematical sieving algorithms, written primarily by Nils Alexandersson
Some interesting mathematical tools that you can use again and again. These include CircleFitter, GaloisField, Coprimes, and Fast Big Primes BigInteger Async-Await Generator.
Simple Python module for the time analysis of different possible approaches to primes list computation
Add a description, image, and links to the primesieve topic page so that developers can more easily learn about it.
To associate your repository with the primesieve topic, visit your repo's landing page and select "manage topics."