Does Swift compile to native code?

后端 未结 4 2208
南笙
南笙 2020-12-24 10:44

Simple question really, however there doesn\'t seem to be a straight answer in the current developer documentation.

Does Swift compile to machine language (i.e. asse

4条回答
  •  清酒与你
    2020-12-24 11:27

    Yes, it compiles to machine language by way of LLVM Bitcode and, as @connor said, runs on top of the Objective-C runtime.

提交回复
热议问题