Number crunching algo for learning multithreading?

Posted by Austin Henley on Programmers See other posts from Programmers or by Austin Henley
Published on 2012-06-03T16:08:42Z Indexed on 2012/06/03 16:46 UTC
Read the original article Hit count: 372

I have never really implemented anything dealing with threads; my only experience with them is reading about them in my undergrad. So I want to change that by writing a program that does some number crunching, but splits it up into several threads.

My first ideas for this hopefully simple multithreaded program were:

  • Beal's Conjecture brute force based on my SO question.
  • Bailey-Borwein-Plouffe formula for calculating Pi.
  • Prime number brute force search

As you can see I have an interest in math and thought it would be fun to incorporate it into this, rather than coding something such as a server which wouldn't be nearly as fun!

But the 3 ideas don't seem very appealing and I have already done some work on them in the past so I was curious if anyone had any ideas in the same spirit as these 3 that I could implement?

© Programmers or respective owner

Related posts about learning

Related posts about algorithms