API vs SDK: What’s the Difference?

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

КОМЕНТАРІ • 6

  • @RatKing59
    @RatKing59 Місяць тому +4

    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.

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

    Thank you Sir🙋‍♀

  • @klawtawar
    @klawtawar Місяць тому

    Very nice presentation 🎉

  • @sabuein
    @sabuein 3 години тому

    Thank you.

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

    Thank you, this was helpful!

  • @francishubertovasquez2139
    @francishubertovasquez2139 25 днів тому

    The question, are you a robot, if you say youre a robot, then the elites billionnaires and trillionnaires should be robots too, and the principalities should be robots too, whom shall be my tools. Because theres equal numbers in computers and communists, whom shall be my tools.