Re: [MacRuby-devel] [MacRuby] #447: GCD Crashes

2009-11-27 Thread MacRuby
#447: GCD Crashes --+- Reporter: p...@…|Owner: lsansone...@… Type: defect| Status: closed Priority: major |Milestone: MacRuby 0.5

Re: [MacRuby-devel] [MacRuby] #447: GCD Crashes

2009-11-23 Thread John Shea
Hi again, thanks for the code .. I am actually not trying to make a point - just trying to learn, and start a discussion that leads to learning. since the code below means nothing to me - thats probably a good place for me to start. Cheers, J On Nov 23, 2009, at 9:58 PM, Ernest N. Prabhakar

Re: [MacRuby-devel] [MacRuby] #447: GCD Crashes

2009-11-23 Thread Ernest N. Prabhakar, Ph.D.
Hi John, On Nov 23, 2009, at 12:55 PM, John Shea wrote: > No I assume at some stage the ruby block has to be turned into a C block with > associated scope - and from my limited knowledge on GCD that does not seem so > easy. Again, I think I'm still missing your point. In the context of GCD, th

Re: [MacRuby-devel] [MacRuby] #447: GCD Crashes

2009-11-23 Thread John Shea
> > > Did you mean the other way around? You seem to be discussing how to turn > C blocks into Ruby blocks. > hmmm? no that was not my intent. No I assume at some stage the ruby block has to be turned into a C block with associated scope - and from my limited knowledge on GCD that does not seem

Re: [MacRuby-devel] [MacRuby] #447: GCD Crashes

2009-11-23 Thread Ernest N. Prabhakar, Ph.D.
Hi John, On Nov 23, 2009, at 1:03 AM, John Shea wrote: > I imagine that it is actually quite hard to turn ruby blocks into C blocks - > normally everything would be copied to the stack with C blocks - unless > manually copied to the heap - but probably in macruby they have to be > immediately c

Re: [MacRuby-devel] [MacRuby] #447: GCD Crashes

2009-11-23 Thread John Shea
Hi Pete, I imagine that this bug is similar to one I posted (420). I was getting similar behaviour and things much improved when I unrolled the loop. Maybe you could try that? (or try what i suggest below). I am waiting with bated breath to see Laurent's GCD code in the macruby version of Sinatra

[MacRuby-devel] [MacRuby] #447: GCD Crashes

2009-11-22 Thread MacRuby
#447: GCD Crashes --+- Reporter: p...@…| Owner: lsansone...@… Type: defect| Status: new Priority: major | Milestone: MacRuby 0.5