[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gwydion & threads



Rob Myers <robmyers@mac.com> wrote:
> On Thursday, March 14, 2002, at 02:40 PM, Scott Ribe wrote:
> 
> > Is it possible to write multi-threaded (Carbon, in this case) apps
> > using Gwydion? Or are there problems with global data not being
> > synchronized?
> 
> It isn't possible to use PThreads in Gwydion at this time. I think 
> there's a problem with the way we represent objects in memory.

What's the problem? Is it the two-word representation of objects?
That would make it hard to do assignments atomically, which I think
the Dylan threads spec requires.

I've been messing around with various small lambda calculus
implementations recently, and that's one of the reasons that's kept me
from whole-heartedly embracing a type-passing compilation style. 


Neel