
29 Mar
2012
29 Mar
'12
6:31 a.m.
On 29 March 2012 05:57, Ryan Newton
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/18ed460be111b47a759486677960093d71eef...
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.