Objective-c文件类型

Objective-c的.m文件由Objective-c编译器处理,而LLVM编译器能处理C、C++及其变体。LLVM是一个多语言编译基础设施,用于各种编程语言的优化。Apple在其开发工具中广泛使用LLVM,特别是在Mac OS X和iOS平台。
摘要由CSDN通过智能技术生成

.m 文件是objective-c代码,由objective-c编译器处理(扩展名代表message)

c编译器处理.c文件

c++编译器处理.cpp文件。


在xcode中,所有的这些编译工作默认由LLVM处理,这个编译器能够处理c语言的全部三个变体。


关于LLVM的介绍见下面:

LLVM (formerly Low Level Virtual Machine) is a compiler infrastructure written in C++; it is designed for compile-timelink-timerun-time, and "idle-time" optimization of programs written in arbitrary programming languages. Originally implemented for Cand C++, the language-agnostic design (and the success) of LLVM has since spawned a wide variety of front ends: languages with compilers that use LLVM include ActionScriptAdaDFortranOpenGL Shading LanguageHaskellJava bytecodeJuliaObjective-CPythonRubyRustScala and C#.


The LLVM project started in 2000 at the University of Illinois at Urbana–Champaign, under the direction of Vikram Adve and Chris Lattner. LLVM was originally developed as a research infrastructure to investigate dynamic compilationtechniques for static and dynamic programming languages. LLVM was released under the University of Illinois/NCSA Open Source License, a non-copyleft license. In 2005, Apple Inc. hired Lattner and formed a team to work on the LLVM system for various uses within Apple's development systems. LLVM is an integral part of Apple's latest development tools for Mac OS X and iOS.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值