This is a small collection of sieves.
    
    - The first is in pure Python, and is #!'d to pypy3.
    
 - The second is in CPython with numpy.
    
 - The third is in Java.
    
 - The fourth runs on micropython, a python implementation intended for embedded systems that also runs on Linux.
    
 - The fifth is is in Rust, and is the fastest version - even faster than Java.
    
 
Like any prime number sieve, these will compute the primes beneath a particular number.
You can obtain them here.
Hits: 3397
Timestamp: 2025-11-04 02:54:28 PST
Back to Dan's tech tidbits
You can e-mail the author with questions or comments: