Hacker News new | ask | show | jobs
by coldcode 2693 days ago
I don't find GCD difficult to write for, maybe if you are used to Go it is different enough. Not sure what exactly you would use Go for in an iOS/Macos app unless maybe you have a Go framework you want to include.
2 comments

Isn’t this what the author is doing?
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.
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.