ABI vs API
来源:互联网 发布:ubuntu ftp服务器 编辑:程序博客网 时间:2024/05/19 15:23
application programming interfaces (APIs), which similarly define interfaces between program components, but at the source code level.
是源代码级别的,每次都要编译
ABIs (which may or may not be officially standardized) is usually the job of the compiler, OS or library writer, but application programmers may have to deal with ABIs directly when writing programs in a mix of programming languages, using foreign function call interfaces between them.
是binary级别的,如果两个componnet是ABI兼容的话,是可以直接调用的,不需要编译;但是如是不兼容的话,就需要从新编译两者了
ABIs cover details such as:
- a processor instruction set (with details like register file structure, stack organization, memory access types, …)
- the sizes, layout, and alignment of basic data types the processor can directly access
- the calling convention, which controls how functions’ arguments are passed and return values retrieved; for example, whether all parameters are passed on the stack or some are passed in registers, which registers are used for which function parameters, and whether the first function parameter passed on the stack is pushed first or last onto the stack
- how an application should make system calls to the operating system and, if the ABI specifies direct system calls rather than procedure calls to system call stubs, the system call numbers
- and in the case of a complete operating system ABI, the binary format of object files, program libraries and so on.
https://en.wikipedia.org/wiki/Application_binary_interface
阅读全文
0 0
- ABI vs API
- API & ABI
- API & ABI
- API和ABI
- API、ABI区别
- ABI API EABI
- API与ABI
- day7:API和ABI
- api 和 abi
- ABI和API的区别
- ABI与API的区别
- API和ABI的理解
- ABI
- API 与 ABI 的具体含义
- process VS thread API
- API VS SPI
- Implementation vs API dependency
- ABI,Legacy ABI, EABI
- 正则表达式贪婪与非贪婪模式
- SparkStreaming
- Java8新特性(内置的核心函数式接口)
- java多线程打印出“A12B34C56D78E910...”的简单理解
- 推荐一个下载中国城市统计年鉴的地址
- ABI vs API
- webpack 3.0+基础学习
- 村村通公路(Prim)
- 文件作为字典参数上传
- 微信jsSDK本地调试流程攻略(nodeJs实现获取access_token等信息)
- 原始断点续传
- java几种常用设计模式简单示例
- lynda.com教程之Learning Python and Django_手把手零基础搭建Django项目
- apache主配置文件httpd.conf详解