Citizendia
Your Ad Here

A standard library for a programming language is the library that is conventionally made available in every implementation of that language. A programming language is an Artificial language that can be used to write programs which control the behavior of a machine particularly a Computer. In Computer science, a library is a collection of Subroutines used to develop Software. In some cases, the library is described directly in the programming language specification; in other cases, the contents of the standard library are determined by more informal social practices in the programming community. A programming language specification is an artifact that defines a Programming language so that users and implementors can agree on what programs in that

Depending on the constructs made available by the host language, a standard library may include:

Most standard libraries include definitions for at least the following commonly used facilities:

Philosophies

Philosophies of standard library design vary widely. In Computer science, a subroutine ( function, method, procedure, or subprogram) is a portion of code within a larger A macro (from the Greek 'μάκρο' for long or far in Computer science is a rule or Pattern that specifies how a certain input sequence (often a sequence In Computer programming, a global variable is a variable that is accessible in every scope. In Object-oriented programming, a class is a Programming language construct that is used as a blueprint to create objects This blueprint includes attributes Templates are a feature of the C++ programming language that allow functions and classes to operate with generic types. In Mathematics, Computing, Linguistics and related subjects an algorithm is a sequence of finite instructions often used for Calculation In Computer science and Mathematics, a sorting algorithm is an Algorithm that puts elements of a list in a certain order. A data structure in Computer science is a way of storing Data in a computer so that it can be used efficiently In Computer science, a list is an ordered collection of entities / Items In the context of Object-oriented programming languages In Computer science, a tree is a widely-used Data structure that emulates a Tree structure with a set of linked nodes In Computer science, a hash table, or a hash map, is a Data structure that associates keys with values. For example, Bjarne Stroustrup, designer of C++, writes:

What ought to be in the standard C++ library? One ideal is for a programmer to be able to find every interesting, significant, and reasonably general class, function, template, etc. Bjarne Stroustrup (/'bjɑːnə 'sdʁʌʊ̯ˀsdʁɔb/ born December 30, 1950 in Aarhus C++ (" C Plus Plus " ˌsiːˌplʌsˈplʌs is a general-purpose Programming language. , in a library. However, the question here is not, "What ought to be in some library?" but "What ought to be in the standard library?" The answer "Everything!" is a reasonable first approximation to an answer to the former question but not the latter. A standard library is something every implementer must supply so that every programmer can rely on it. [1]

This suggests a relatively small standard library, containing only the constructs that "every programmer" might reasonably require when building a large collection of software. This is the philosophy that is used in the C and C++ standard libraries. tags please moot on the talk page first! --> In Computing, C is a general-purpose cross-platform block structured C++ (" C Plus Plus " ˌsiːˌplʌsˈplʌs is a general-purpose Programming language.

By contrast, Guido van Rossum, designer of Python, has embraced a much more inclusive vision of the standard library; in the Python tutorial, he writes:

Python has a "batteries included" philosophy. Python is a general-purpose High-level programming language. Its design philosophy emphasizes programmer productivity and code readability This is best seen through the sophisticated and robust capabilities of its larger packages. [2]

Van Rossum goes on to list libraries for processing XML, XML-RPC, email messages, and localization, facilities that the C++ standard library omits. Don't change "Extensible" XML-RPC is a Remote procedure call protocol which uses XML to encode its calls and HTTP as a transport mechanism This other philosophy is often found in Scripting languages (as in Python or Ruby) or languages that use a Virtual machine, such as Java or the .NET Framework languages. "Scripting" redirects here For other uses see Script. Python is a general-purpose High-level programming language. Its design philosophy emphasizes programmer productivity and code readability Ruby is a dynamic, reflective, general purpose Object-oriented programming language that combines syntax inspired by Perl with Smalltalk In Computer science, a virtual machine (VM is a Software implementation of a machine (computer that executes programs like a real machine

Examples of standard libraries

References

  1. ^ Bjarne Stroustrup. The C standard library (also known as libc) is a now-standardized collection of Header files and library routines used to implement common operations such tags please moot on the talk page first! --> In Computing, C is a general-purpose cross-platform block structured In C++, the Standard Library is a collection of classes and functions, which are written in the Core language. C++ (" C Plus Plus " ˌsiːˌplʌsˈplʌs is a general-purpose Programming language. The Standard Template Library ( STL) is a software library partially included in the C++ Standard Library. In C++, the Standard Library is a collection of classes and functions, which are written in the Core language. The Java Class Library is a set of dynamically loadable libraries that Java applications can call at Runtime. Java refers to a number of Computer software products and specifications from Sun Microsystems that together provide a system for developing Application software The Base Class Library ( BCL) is a Standard library available to all languages using the. The C++ Programming Language. 3rd Ed. Addison-Wesley, 1997
  2. ^ Guido van Rossum. Python Tutorial.

© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
Dapyx Software network: MP3 Explorer | Ebook Manager | Zenithic