Primes with go
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 2891e35d76 Update README 4 years ago
.gitignore Add primes program 4 years ago
LICENSE Create LICENSE 4 years ago
README.md Update README 4 years ago
primes.go Add primes program 4 years ago

README.md

Primes with go

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

Usage

# compile
go build primes.go

# executable
chmod +x ./primes

# run
./primes [<start number>]