The goals of the concurrency standard?

Simon Marlow simonmar at microsoft.com
Wed Apr 12 05:24:57 EDT 2006


On 12 April 2006 08:41, John Meacham wrote:

> However, I am also of the mind that preemtiveness alone doesn't buy
> enough to make the runtime cost of locking worth it which is why I
> plan for jhc to be fully cooperative or fully OS threaded with no
> middle ground. but the situation is different in compilers such as
> nhc, where preemptiveness can be added relatively easily due to its
> run-time design and absolute speed was never a goal. In any case, the
> standard should admit a range of implementations.

Couldn't pre-emption be implemented quite easily in JHC if you compiled
to C--?  And imprecise exceptions, for that matter.

Cheers,
	Simon


More information about the Haskell-prime mailing list