API — A set of procedures and data structures that are available to a programmer for making use of a piece of software. Implementation can change but the interface stays the same.
SDK — The vendor provided tools for creating software on a platform. Usually includes a set of APIs and sometimes compilers and other build tools.
Framework — It can be a library that shields the programmer from where the software eventually ends up running, and gives the illusion of a uniform platform. For every common feature among, for instance, operating systems, the framework provides a proxy interface and takes care of the platform specific details. A framework is the opposite of a composable library. Anything you make in it is bound to the framework.
Package — A parcel containing goods sent, for instance, per mail.
Name:
Anonymous2012-09-05 5:35
The units of decomposition.
Package - a bundle of functions
API - a list of functions offered to the user of a package
Framework - a number of packages combined to work together
SDK - same as a framework
Name:
Anonymous2012-09-05 10:31
:(
Package is just some code, not necessarily only functions.
Frameworks is some kind of application skeleton. While library functions need to be called, a framework calls functions defined in your code.
A Software Development Kit is a set of tools to help software development (duh), like compilers, debuggers, libraries, converters, editors and etc.
Name:
Anonymous2012-09-05 10:42
>>5 Package is just some code, not necessarily only functions.
Any code is a function, which takes input and produces output.
>>6
Nope.
Macros, variables and typedefs aren't functions.
Name:
Anonymous2012-09-05 11:49
Package is a directory.
API is something you are forced to use.
Framework is like a Linux distribution, put together a bunch of random shit in it and give it a name.
SDK is API docs + examples + tools + maybe framework, distributed by the ones who control the API.