Crashed firewall

Last week I was away from home/office the whole week giving for the first time my Erlang course in Linköping (200 km south of Stockholm). A day after my departure, my firewall crashed due to some hardware failure. It has been very frustrating ‘watching’ from a distant position no access to either this blog, my company web and the mail. Finally, after a lot of work during Saturday I got…
Read more...Generating prime numbers with Erlang and Java

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...

