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 ddb7897657 Add may lib for threading 5 years ago
.idea Add may lib for threading 5 years ago
src Add may lib for threading 5 years ago
.gitignore Add primes program 5 years ago
Cargo.lock Add may lib for threading 5 years ago
Cargo.toml Add may lib for threading 5 years ago
LICENSE Create LICENSE 5 years ago
README.md Update README 5 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>]