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 dd6ebe935f Optimize datatypes 5 years ago
.idea Initial commit 5 years ago
src Optimize datatypes 5 years ago
.gitignore Add primes program 5 years ago
Cargo.lock Add primes program 5 years ago
Cargo.toml Add primes program 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>]