和工具包之间的区别

和工具包之间的区别

本文介绍了框架、库、IDE、API、SDK 和工具包之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一些例子.我总是很困惑,所以通过一些例子我可能会更好地理解它.

I want some examples. I always get confused, so with some examples I might be able to figure it out better.

另外:Eclipse 是 API 还是 IDE?

Also: Is Eclipse an API or IDE?

推荐答案

IDE 是一个集成开发环境 - 一个具有额外开发支持(例如表单设计器、资源编辑器等),编译和调试应用程序.例如 Eclipse、Visual Studio.

An IDE is an integrated development environment - a suped-up text editor with additional support for developing (such as forms designers, resource editors, etc), compiling and debugging applications. e.g Eclipse, Visual Studio.

是一段代码,您可以从自己的代码中调用这些代码,以帮助您更快/更轻松地完成工作.例如,位图处理库将提供用于加载和操作位图图像的工具,从而使您不必为自己编写所有代码.通常,库仅提供一个功能领域(处理图像或操作 zip 文件)

A Library is a chunk of code that you can call from your own code, to help you do things more quickly/easily. For example, a Bitmap Processing library will provide facilities for loading and manipulating bitmap images, saving you having to write all that code for yourself. Typically a library will only offer one area of functionality (processing images or operating on zip files)

API(应用程序编程接口)是一个术语,表示库中的函数/方法,您可以调用它们来要求它为您做事 - 库的接口.

An API (application programming interface) is a term meaning the functions/methods in a library that you can call to ask it to do things for you - the interface to the library.

SDK(软件开发工具包)是一个库或一组库(通常带有额外的工具应用程序、数据文件和示例代码),可帮助您开发使用特定系统(例如用于使用操作系统 (Windows SDK) 功能的扩展代码、通过特定系统 (DirectX SDK) 绘制 3D 图形、编写插件以扩展其他应用程序 (Office SDK) 或编写代码以制作像 Arduino 或一部手机做你想做的事).SDK 通常仍然只有一个焦点.

An SDK (software development kit) is a library or group of libraries (often with extra tool applications, data files and sample code) that aid you in developing code that uses a particular system (e.g. extension code for using features of an operating system (Windows SDK), drawing 3D graphics via a particular system (DirectX SDK), writing add-ins to extend other applications (Office SDK), or writing code to make a device like an Arduino or a mobile phone do what you want). An SDK will still usually have a single focus.

工具包就像一个 SDK - 它是一组工具(通常还有代码库),您可以使用它们来更轻松地访问设备或系统......尽管可能更专注提供工具和应用程序,而不仅仅是代码库.

A toolkit is like an SDK - it's a group of tools (and often code libraries) that you can use to make it easier to access a device or system... Though perhaps with more focus on providing tools and applications than on just code libraries.

框架是一个大型库或一组库,可提供多种服务(而不是像大多数库/SDK 那样可能只有一种专注的能力).例如,.NET 提供了一个应用程序框架——它可以更容易地使用你需要的大多数(如果不是全部)不同的服务(例如 Windows、图形、打印、通信等)来编写大量的应用程序——所以一个库"为您需要做的几乎所有事情提供支持.通常,框架提供了一个完整的基础,您可以在此基础上构建自己的代码,而不是构建使用库代码来完成部分工作的应用程序.

A framework is a big library or group of libraries that provides many services (rather than perhaps only one focussed ability as most libraries/SDKs do). For example, .NET provides an application framework - it makes it easier to use most (if not all) of the disparate services you need (e.g. Windows, graphics, printing, communications, etc) to write a vast range of applications - so one "library" provides support for pretty much everything you need to do. Often a framework supplies a complete base on which you build your own code, rather than you building an application that consumes library code to do parts of its work.

当然有很多例子与这些描述并不完全匹配.

There are of course many examples in the wild that won't exactly match these descriptions though.

这篇关于框架、库、IDE、API、SDK 和工具包之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 15:49