Hacker News new | ask | show | jobs
by mmjaa 2692 days ago
I consider GCD to be a bit of a smell - not because its difficult to write for, but rather because its difficult to port such code elsewhere. And really, this seems to be the only rationale for Apple having maintained it as a component of the architecture for iOS - to be relatively different, or just different enough, from other systems to dissuade porting the code elsewhere.
1 comments

Yeah. Worth noting too that libdispatch has been open source since it was released 10 years ago. I compiled and used it on Linux before Swift was out.
Sure. The solution to not wanting to be dependent on Apple's software is .. to use more of Apples software.

Not really rational.

It’s open source. You can use it on Linux rather than being tied to MacOS or iOS. What’s your objection?
Lets try this a different way. Whats so great about GCD that other processor resource management systems get so wrong, that using GCD is the only thing that makes sense to you?

(Hint: its koolaid, kid.)

It’s not a memory management system.
Right, brain fart on the train. But the point still stands, why should we use GCD when there are other more portable means out there - which are also supported on iOS - to do the same thing? It's just different for the sake of being different.