Google
Current archive: August 6, 2009
Generating prime numbers with Erlang and Java
Written on:August 6, 2009
6

During my work with the course-ware of a new Erlang course, I experimented with one of the programming assignments to compare the threading performance of Erlang versus Java. The assignment is one of the classical programs from teaching concurrent programming: How to generate prime numbers using a pipeline of sieve threads. The algorithm is based on the Sieve of Eratosthenes, but modified to use threads instead. The primes in [2..N]…
Read more...

