ablaze wholesale jewelry What is the difference between application programming interface (API) and application binary interface (ABI)?

ablaze wholesale jewelry

2 thoughts on “ablaze wholesale jewelry What is the difference between application programming interface (API) and application binary interface (ABI)?”

  1. national wholesale jewelry For the convenience of understanding, I use a broader C language and X86 architecture to give examples
    api: The lint () function used in the library function used by programmers when programming is programmed. API can greatly improve the development efficiency of program and shorten the source code. You can directly introduce the library file #include u003Cstdio.h> call the prop () when programming. No need to write the specific implementation code of the Printf () function by yourself.

    abi: It is a rule or standard. He stipulates the data type, storage method, function/method (parameter, return value, return address, variable storage position and format), such as x86, such as x86 The function parameters are stored in DI, Si, DX, CX several registers, and the return value is stored in AX, small end format store, and so on. The role is to facilitate software transplantation of different systems on the same platform.

    I I think this ABI can incorporate it into the category of the ISA instruction set architecture (this is just for the convenience of the subject, you understand, the definition of ISA does not include ABI ~). Essence Because the same ISA ABI is the same. Essence Essence

    I tried to give a popular example. The API has a taste of "predecessor planting trees and then cooling." ABI is like some theorems left by predecessors (you must do it according to this theorem, otherwise there will be big trouble).

    ~~~~~~~~~~~~~~~~~

  2. stainless steel religious jewelry wholesale API (Interface): Application interface
    is an interface that needs to be called when program development. In fact, it is some independent library files. It is mainly used for software development and completion of software to compile into binary files.
    abi (BINARY Interface): The application of the application of the application
    This is the interface that the application needs to call when the application is running
    Is whether the program can expand the platform, mainly depends on whether ABI is compatible with compatibility

Leave a Comment

Shopping Cart