<< The Return Of The Turbe C++ | Home | Major Security Hole Found In Rails >>

I Need To Get That Book!

Brian Goetz's Java Concurrency In Practice

Bryan Young: I've only made it halfway through, and I feel like the little kid in 'The Sixth Sense' -- I see bugs everywhere.

Bryan is talking about Brian Goetz's new book Java Concurrency in Practice. I have read many of Brian Goetz's columns in various web sites and have always learned something from each article.

I also heard Brian Coyner say that the book is worth a read.

I'm going to get a copy of the book tomorrow.



Re: I Need To Get That Book!

I am reading it now. It's full of good tips to help the reader avoid common threading mistakes.

Re: I Need To Get That Book!

The problem with threading is that some of us don't think about it when writing our code, as I did when I wrote the two line list.toArray() code 7 days ago. It took several rounds of going back and forth to get to the bottom of it.

Thinking in threads is tough because it's not a local problem. For example, I cannot make the two line list.toArray() code thread safe without looking at all of the rest of the code that's going to be running in the same JVM (at least code in the same application that have access to the list.) Keeping things simple, and keeping the code disciplined, and don't try to be clever are my rules for dealing with threads.


Add a comment Send a TrackBack