News for hackers. Stuff that matters.
Re:Shell Scripting with Objective-C by melling on Saturday May 31, 2014 @10:00PM (#7827885)
Shell scripting usually means writing in your shells (e.g sb, csh, zsh) native script. The author is using it to mean small scripts that he runs in a shell, which is fine with me.

I'm starting to use Go for these sorts of things because it's really fast. I'd try objc but if I want to move my programs to a Linux server, I'm out of luck.

Re:Shell Scripting with Objective-C by wtallis on Saturday May 31, 2014 @10:12PM (#7827919)
You're not out of luck when it comes to using objc on linux, you just have to forgo a lot of the newer APIs. But if you're using it on a server, chances are you won't miss the GUI APIs that GNUstep lacks.
Re:Shell Scripting with Objective-C by mrsteveman1 on Sunday June 01, 2014 @09:03PM (#7831371)
Indeed, I had an entire server blog engine written in objc, I had it running quite well on a Mac VPS (Lion running on vmware on Xserves), that I intended to move over to a Linode.

But I wanted libdispatch, blocks, all the stuff in the newer objc runtime, etc. Back then that meant playing all sorts of games compiling a specific objc runtime (there's more than one outside of apple), in a specific order with other things from GNUstep, using clang at certain steps instead of gcc to compile it all. It was a mess, but if I had really wanted to I probably could have pulled it off, and now I'm sure things have improved. I moved the entire thing to python and forgot about it though.

But I've always liked the idea of writing little things that have no GUI of any kind in objc, I wrote a few commandline utilities in objc and loved it. Background services on the system (mac or linux either one) would be fun too I think.