API vs SDK: What’s the Difference?

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 4

  • @RatKing59
    @RatKing59 10 днів тому +2

    The definitions provided assumes APIs are tools for connecting services across the web. I can’t believe I’m becoming a greybeard in programming, but APIs existed long before web programming.
    An SDK is an API - both expose endpoints to a consumer which define the rules and data necessary to interact with their underlying implementations. They’re both intended to abstract the consumer and, hopefully, expose much of the logic while ensuring the use of the tools are within limits.
    The only difference between them is that SDKs contain the code and dependencies necessary to complete the task and APIs are just a concept.
    As an example: a PlayStation SDK contains everything you need to make a game work on a PlayStation hardware, including the exposed interfaces for the graphics card, sound engine, clock, network, etc.
    In that same example, the API is the code exposed to the user like “renderFrame()” which can be called by the developer to fire off the rendering process. This API abstracts you from the underlying calls to the AMD chips, TSMC RAM, proprietary CPU, etc.

  • @klawtawar
    @klawtawar 19 днів тому

    Very nice presentation 🎉

  • @jeba6891
    @jeba6891 9 місяців тому +1

    Thank you Sir🙋‍♀

  • @TaraKulshrestha
    @TaraKulshrestha 5 місяців тому

    Thank you, this was helpful!