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.
13 lines
262 B
Markdown
13 lines
262 B
Markdown
5 years ago
|
# 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
|
||
|
|
||
|
```bash
|
||
|
# compile
|
||
|
cargo build --release
|
||
|
|
||
|
# run
|
||
|
./target/release/primes [<start number>]
|
||
|
```
|