Java Threads

Ever since I studied a module in Concurrent programming in my Masters I have been fascinated by thread programming. Growing up many moons ago as a junior programmer I was always lead to believe that threads are a bad thing and can lead to some very serious problems.
This can be true if you are not aware of some of the principles of thread programming but in the right hands they can be a very useful tool in a programmers tool kit.

One argument that keeps raising it’s head is that Synchronization is a big hit on performance. Brian Goetz has discussed this in an article of his entitled Java theory and practice: Urban performance legends. The first urban legend that he discuses, is this very topic. It is interesting to see that some programmers may compromise their programs thread safety for what they perceive to be faster code.

I have been looking on Blogger for a way to categories my blog entries, if anyone knows how to do this with Blogger can you let me know, via the comments.


  1. No comments yet.
(will not be published)