Re: [MacRuby-devel] macruby GCD Fibers

2012-01-17 Thread Alan Skipp
Hi folks, just a quick note (followed by a question) to let you know that my GCD rendition of ruby 1.9's most used feature – Fibers, is nearing completion. Code here: https://github.com/alskipp/MacrubyFibers Currently passes 51 expectations from the fiber spec. 3 failures, all related to raisi

Re: [MacRuby-devel] macruby GCD Fibers

2012-01-10 Thread Joshua Ballanco
Hey Alan, Awesome! I haven't had a chance to go through the code in detail, but I like the general approach. I'll definitely be looking into this in more detail later, but for now I just wanted to let you know that there are specs for Ruby 1.9's fibers in the MacRuby repo at 'spec/frozen/librar

[MacRuby-devel] macruby GCD Fibers

2012-01-05 Thread Alan Skipp
Hi everyone, I've had a go at implementing Fibers using dispatch queues. The code can be found here: https://gist.github.com/1565393 Inspiration was taken from the following ruby 1.8 Fibers implementation: https://gist.github.com/4631 The implementation of Fiber.yield currently relies upon a h