Hi Jordan,
On Feb 12, 2010, at 11:12 AM, Jordan K. Hubbard wrote:
> That's definitely a good start, yes, though I must confess to not quite
> understanding the dispatch.fork example?
All Dispatch.fork does is allow you to access the return value of the block
(whenever it is available), either s
That's definitely a good start, yes, though I must confess to not quite
understanding the dispatch.fork example?
On Feb 12, 2010, at 10:20 AM, Ernest N. Prabhakar, Ph.D. wrote:
> Note that this requires the latest nightly to work, as I redid the semantics
> of Dispatch.group.
>
> Fairly minima
Hi Jordan,
On Feb 10, 2010, at 12:30 AM, Jordan K. Hubbard wrote:
> P.S. Is it just me, or do other people have a really hard time turning specs
> into usage-case examples when they read them?
In answer to your plea, I've not only commented up the Dispatch module with
examples:
http://svn.mac
Hi Jordan,
On Feb 10, 2010, at 12:30 AM, Jordan K. Hubbard wrote:
> On Feb 8, 2010, at 5:46 PM, Ernest N. Prabhakar, Ph.D. wrote:
>
>> I've also written up specs to both test and demonstrate these constructs:
>
> P.S. Is it just me, or do other people have a really hard time turning specs
> int
On Feb 8, 2010, at 5:46 PM, Ernest N. Prabhakar, Ph.D. wrote:
> I've also written up specs to both test and demonstrate these constructs:
P.S. Is it just me, or do other people have a really hard time turning specs
into usage-case examples when they read them?
_
On Feb 8, 2010, at 5:46 PM, Ernest N. Prabhakar, Ph.D. wrote:
> For MacRuby 0.6, I'd like to provide higher-level convenience APIs to reduce
> the "cognitive overhead" and "semantic noise" of using Grand Central
> Dispatch. In other words, let people do what they want without having to
> lear
Hi all,
One quick change -- I redid Futures to duck-type to Thread instead of lambda:
> http://svn.macosforge.org/repository/ruby/MacRuby/trunk/lib/dispatch/future.rb
and changed Dispatch.fork to use that instead:
> http://svn.macosforge.org/repository/ruby/MacRuby/trunk/lib/dispatch/dispatch.r
Hi all,
As hopefully you all know, MacRuby 0.5 includes wrappers for almost all of the
C "dispatch" APIs for Grand Central Dispatch. While relatively straightforward
to use, the APIs are somewhat verbose and C-ish.
http://svn.macosforge.org/repository/ruby/MacRuby/trunk/spec/macruby/core/gcd/