Primes with rust
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trivernis 9da044cf19 Fix rust performance
- Update to may version with bug fix
- Add missing break in modulo loop
4 years ago
.idea Add extended debug logging to check on threads 4 years ago
src Fix rust performance 4 years ago
.gitignore Add primes program 4 years ago
Cargo.lock Fix rust performance 4 years ago
Cargo.toml Fix rust performance 4 years ago
LICENSE Create LICENSE 4 years ago
README.md Update README 4 years ago

README.md

Primes with rust

A simple program that calculates prime numbers with multithreading. The resulting numbers are written to stdout and to the file primes.txt.

Usage

# compile
cargo build --release

# run
./target/release/primes [<start number>]