Friday, 6 June 2014

Hiding GCD - (Or a very rough attempt at doing an Async!)

Just a bit of code today - some thoughts on hiding GCD usage behind an f# like async facade (bit difficult without monads but there you go)

When I've fine tuned this I'll give a more detailed commentary.
It does compile and run quite happily.

UPDATE: There's a pretty fundamental error in the code below (red wine was involved during the creation process). I'll leave as is for the moment to see if anyone can point it out and fix it later. As a clue - it's in the (!) operator code.

No comments:

Post a Comment