[Haskell-cafe] Google Summer of Code - Lock-free data structures

Florian Hartwig florian.j.hartwig at gmail.com
Thu Mar 29 12:31:19 CEST 2012


On 29 March 2012 05:57, Ryan Newton <rrnewton at gmail.com> wrote:
> I just read in your proposal that you started looking into the casMutArray#
> issue as well.  How far have you gotten with that?  Do you want to work on
> this together a bit?
>
> I've got an implementation of a casArray# primop that passes a basic test,
> but I'm not sure if the GC write barrier is correct:
>
>
> https://github.com/rrnewton/ghc/commit/18ed460be111b47a759486677960093d71eef386

The write barrier is what I got stuck on as well. I don't know much
about Haskell's GC. I'm going to read up on it, but my Master's
project is due in in 3 weeks, so it's difficult to find the time right
now. I'd be happy to work with you on this, but it'll probably have to
wait until then.



More information about the Haskell-Cafe mailing list