mikeash.com: just this guy, you know?

Posted at 2010-05-17 21:27 | RSS feed (Full text feed) | Blog Index
Next article: Some Light Reading
Previous article: Friday Q&A 2010-05-14: What Every Apple Programmer Should Know
Tags: cocoa distributed messaging networking
SocketObjC: A Networkable Messaging Library
by Mike Ash  

Reader Steven Degutis was inspired by my post about Distributed Objects and decided to make something that avoided those pitfalls. The result is SocketObjC, a remote messaging library that uses continuation passing style to achieve full asynchronous messaging. I haven't tried it, but it's worth checking out.

Did you enjoy this article? I'm selling a whole book full of them. It's available for iBooks and Kindle, plus a direct download in PDF and ePub format. It's also available in paper for the old-fashioned. Click here for more information.


Jesper at 2010-05-17 21:34:12:
No link to SocketObjC itself.

Jesper at 2010-05-17 21:34:32:
There it is.

mikeash at 2010-05-18 03:30:39:
Yeah, I had a brain fart when I first wrote the post and forgot to include the link. Got it fixed shortly afterwards, but I guess you hit the window of opportunity.

Jonathan Wight at 2010-05-18 05:45:44:
"Instead of exceptions, problems are simply ignored"


Steven Degutis at 2010-05-18 10:35:17:

I consider that a feature. But as mentioned in the proceeding sentence, if you want to handle problems, you can easily modify the code to do so, especially considering it's open source. If you really dig exceptions, go throw in some exception-throwing into the code. If you're like me and would prefer to use something like a notification or a block-callback for things like timeouts, then you can add that too. SocketObjC doesn't force any one way of problem-handling on you like DO does.

Neil Clayton at 2011-01-25 23:32:47:
Anyone seen an up to date link for the library? It seems to have vanished...

mikeash at 2011-01-26 04:56:29:
The author seems to have found religion in a way which has adversely affected his online presence, for some reason. Not sure where the code might still be found. For a kinda-sorta similar idea, you may be interested in MAAsyncIO:


Steven Degutis at 2012-10-18 16:11:15:
SocketObjC was terrible and buggy and beyond repair so I deleted it for everyone's sake.

Comments RSS feed for this page

Add your thoughts, post a comment:

Spam and off-topic posts will be deleted without notice. Culprits may be publicly humiliated at my sole discretion.

Web site:
Formatting: <i> <b> <blockquote> <code>. URLs are automatically hyperlinked.
Hosted at DigitalOcean.