I know objc is cross platform as a language but I am not so sure how well it really work on Windows and Linux. They do claim that it works across platforms though so I will probably have to test myself.
Quote from: kilon on August 08, 2012, 11:33:45 pmI know objc is cross platform as a language but I am not so sure how well it really work on Windows and Linux. They do claim that it works across platforms though so I will probably have to test myself. If you've used Apple's Safari, QuickTime or iTunes on Windows, then you've used ObjC code on Windows. The ObjC runtime as well as Windows equivalents to many Mac frameworks are included (objc.dll, Foundation.dll, etc.). objc.dll is only 125K.The issue is probably more that most ObjC code uses Apple frameworks (Foundation, etc.), since that's where many of the useful classes are implemented. NSString, etc. are not part of the ObjC runtime, but rather part of the Foundation framework.This is where the uncertainty lies, not with the LLVM / Eero compiler itself. For example, if you wanted to use "NS" classes for Windows and Linux, what would you use? Can you use Apple's own dll's included with their Windows software? (Undocumented) For example, if you don't need to use any of these "NS" classes, I would think that the GNUstep ObjC runtime would be enough:http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/ObjC_classic/_index.html#//apple_ref/doc/uid/20001091However, that's kind of like programming in Object Pascal without using SysUtils or Classes units.Thanks.-Phil