gpubootcamp / SilverJinglei.github.io

GPU Bootcamp repository is communication platform for new recruits!
5 stars 2 forks source link

What is the meaning of API? #3

Open Xin1Wang opened 5 years ago

Xin1Wang commented 5 years ago

In computer programming, an application programming interface (API) is a set of subroutine definitions, communication protocols, and tools for building software. And the Internal implementation of API is realized by ourselves.

Xin1Wang commented 5 years ago

https://en.wikipedia.org/wiki/Application_programming_interface

SilverJinglei commented 5 years ago

Not only official 'API', but also we program will define ourself 'API'. for example, our project has 'layer's, we will define the 'API' between the 'Layer'.

The Interface is the core of 'API'. it encapsulates implementations => make it as black-box => easy to program (no need understand the complex implementations)