News for hackers. Stuff that matters.
Re:Three bad things: threads, garbage collection, and nondet... by ewjordan on Tuesday August 17, 2010 @09:40AM (#1611051)
My favorite bit:

So far, the vast majority of the programs I write have been single-threaded, refcounted (or manually memory managed), and deterministic. I think I'll continue to do it that way, thanks.

Well, gee, I'm so glad that's cleared that up for me - here I was, writing multi-threaded/non-deterministic code all over the place, just because I like it so much. Tracking down race conditions is a choice, we can choose not to get involved with any of it, and we'll be just fine! Some guy on the Internet says so, it must be true!

Re:Three bad things: threads, garbage collection, and nondet... by jbooth on Tuesday August 17, 2010 @01:11PM (#1611737)
Well, you can write deterministic code in Java using threads, just use defined constructs that give you guarantees about how things will be executed and orders -- ExecutorService and BlockingQueue are your friends.