And not all algorithms are amenable to breaking up easily in that fashion.

Javascript + thread constructs == serious pain :-P