Does Objective-C compile to native code or byte-code?

前端 未结 4 1052
孤独总比滥情好
孤独总比滥情好 2021-02-14 09:58

On OS X, does Objective-C compile to native code or byte-code?

Can Objective-C programs be compiled on Linux?

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-14 10:50

    Yes, Objective-C compiles to machine code.

    Objective-C compilers exist for Linux, but Cocoa is an OS X-only technology. I've heard of an open replacement called GNUstep, but don't know much about it.

提交回复
热议问题