Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, it's basically writing a nibless objective-c application but manually translating all invocations to objc_msgsend yourself. You're not going to be able to avoid the objective-c runtime though.


Clang has a pretty cool flag to compile objc to c. I believe it exists for Apple to port their few apps to windows (eg iTunes), but I suspect it could be used to build a pure c environment as well.


That is very cool, I think it's `-rewrite-objc`. Presumably it still needs to be linked to the objc runtime. It says it lowers to C++ instead of C though, now I wonder what pieces cannot be implemented using pure c.


I don’t think it really works anymore, unfortunately.


It doesn't support ARC so it's not very useful.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: