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 whole books full of them! Volumes II and III are now out! They're available as ePub, PDF, print, and on iBooks and Kindle. Click here for more information.


No link to SocketObjC itself.
There it is.
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.
"Instead of exceptions, problems are simply ignored"


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.
Anyone seen an up to date link for the library? It seems to have vanished...
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:

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.

The Answer to the Ultimate Question of Life, the Universe, and Everything?
Formatting: <i> <b> <blockquote> <code>.
NOTE: Due to an increase in spam, URLs are forbidden! Please provide search terms or fragment your URLs so they don't look like URLs.
Hosted at DigitalOcean.