Standard library A standard in library computer programming is the library made available across implementations of a programming language. These libraries are conventionally described in programming language specifications; however, contents of a language's associated library may also be determined by more informal practices of a language's community. OverviewA language's standard library is often treated as part of the language by its users, although the designers may have treated it as a separate entity. Many language specifications define a core set that must be made available in all implementations, in addition to other portions which may be optionally implemented. The line between a language and its libraries therefore differs from language to language. Indeed, some languages are designed so that the meanings of certain syntactic constructs cannot even be described without referring to the core library. For example, in Java, a string literal is defined as an instance of the java.lang.String class; similarly, in Smalltalk, an anonymous function expression constructs an instance of the library's BlockContext class. Conversely, Scheme contains multiple coherent subsets that suffice to construct the rest of the language as library macros, and so the language designers do not even bother to say which portions of the language must be implemented as language constructs, and which must be implemented as parts of a library. ContentsStandard libraries typically include definitions for commonly used algorithms, data structures, and mechanisms for input and output. 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: Subroutines Macro definitions Global variables Class definitions Templates Philosophies of standard library design vary widely. For example, Algorithms Data structures Interaction with the host platform, including input/output and operating system calls Philosophies Bjarne Stroustrup, designer of C++, writes: 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. 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: Van Rossum goes on to list libraries for processing XML, XML-RPC, email messages, and localization, facilities that the C++ standard library omits. This other philosophy is often found in scripting languages or languages that use a virtual machine, such as Java or the. NET Framework languages. In C++, such facilities are not part of the standard library, but instead other libraries, such as Boost. Examples of standard libraries
Popular articles UEFA Euro 2020 - The 2020 UEFA European Football Championship , commonly referred to as UEFA Euro 2020 or simply Euro 2020 , is scheduled to be the 16th UEFA European Championship, the quadrennial international me... UEFA European Championship - The UEFA European Football Championship , commonly known as the UEFA European Championship and informally as the Euros , is the primary association football competition contested by the senior men... Cristiano Ronaldo - Portuguese professional footballer who plays as a forward for club Juventus and captains the Portugal national team. Often considered the best player in the ... FIFA World Cup - international association football competition contested by the senior men's national teams of the members of the Fédération Interna... UEFA Euro 2016 - The 2016 UEFA European Football Championship , commonly referred to as UEFA Euro 2016 or simply Euro 2016 , was the 15th UEFA European Championship, the quadrennial international men's football ch... Kylian Mbappé - French professional footballer who plays as a forward for Ligue 1 club Paris Saint-Germain and the France national team. Considered one of the best players in the world, h... Germany national football team - The Germany national football team represents Germany in men's international football and played its first match in 1908. The team is governed by the German Football Association, founded in 1900. Be... Popular movies Cruella (film) - upcoming American crime comedy film directed by Craig Gillespie from a screenplay written by Aline Brosh McKenna, Jez Butterworth, Dana Fox, Kelly Marcel, Tony McNamara, and Steve Ziss... F9 (film) - upcoming American action film directed by Justin Lin and written by Daniel Casey. A sequel to 2017's The Fate of the Furious , it will be the ninth main installment in the Fast & Furious ... A Quiet Place Part II - 2020 American horror film and the sequel to A Quiet Place . The sequel film was written and directed by John Krasinski and stars Emily Blunt, Millicent Simmonds, and Noah... The Conjuring: The Devil Made Me Do It - upcoming American supernatural horror film, directed by Michael Chaves, with a screenplay by David Leslie Johnson-McGoldrick, from a story by Johnson-McG... Gone Girl (film) - 2014 American psychological thriller film directed by David Fincher and with a screenplay by Gillian Flynn based on her 2012 novel of the same title. The film stars Ben Affleck, Rosam... Luca (2021 film) - upcoming 2021 American computer-animated coming-of-age comedy film produced by Walt Disney Pictures and Pixar Animation Studios to be distributed by Walt Disney Studios Motion Pictures. I... Cocktail (1988 film) - 1988 American romantic comedy-drama film directed by Roger Donaldson and written by Heywood Gould, whose screenplay was based on his book of the same name. The film tells the story of ... Popular video games Minecraft - sandbox video game developed by Mojang Studios. Created by Markus "Notch" Persson in the Java programming language and released as a public alpha for personal computers in 2... Elden Ring - collaborative effort between game director Hidetaka Miyazaki a... The Legend of Zelda: Breath of the Wild - is a 2017 action-adventure game developed and published by Nintendo for the Nintendo Switch and Wii U consoles. Breath of the Wild is part of the Legend of Zelda franchise and is set at the end of... Roblox - online game platform and game creation system that allows users to program games and play games created by other users. Founded by David Baszucki and Erik Cassel in 2004 and released in... Shin Megami Tensei V - is an upcoming role-playing video game in development by Atlus. It is part of the Shin Megami Tensei series, itself a part of the larger Megami Tensei franchise, and is scheduled for release on th... Advance Wars - turn-based tactics video game developed for the Game Boy Advance by Intelligent Systems and published by Nintendo. It was released in North America on September 10, 2001 with a lat... Fatal Frame: Maiden of Black Water - survival horror video game developed by Koei Tecmo and published by Nintendo for the Wii U. The fifth main entry in the Fatal Frame series, it was released ... Popular books Nineteen Eighty-Four - dystopian novel by English novelist George Orwell. It was published on 8 June 1949 by Secker & Warburg as Orwell's ninth and final book... Bible - collection of religious texts or scriptures sacred to Christians, Jews, Samaritans, Rastafari and others. They generally consider the Bible to be a product of divine inspiration and a... SCP Foundation - fictional organization documented by the web-based collaborative-fiction project of the same name. Within the website's fictional setting, the SCP Foundation is responsible f... Trese - horror/crime black and white komik created by writer Budjette Tan and artist Kajo Baldisimo. It tells the story of Alexandra Trese, a detective who deals with crimes of supernatural origi... The Education of Little Tree - memoir-style novel written by Asa Earl Carter under the pseudonym Forrest Carter. First published in 1976 by Delacorte Press, it was initially promoted as an authen... Don Quixote - Spanish novel by Miguel de Cervantes. It was published in two parts, in 1605 and 1615. A founding work of Western litera... Romeo and Juliet - tragedy written by William Shakespeare early in his career about two young star-crossed lovers whose deaths ultimately reconcile their feuding families. It was among Shakespear... Popular television series
Loki (TV series) - upcoming American web television miniseries created for Disney+ by Michael Waldron, based on the Marvel Comics character of the same name. It is set in the Marvel Cinematic Universe, shar... Lucifer (TV series) - American urban fantasy television series developed by Tom Kapinos that premiered on Fox on January 25, 2016. It is based on the DC Comics character created by Neil Gaiman, Sam Kieth, a... The Handmaid's Tale (TV series) - American dystopian tragedy web television series created by Bruce Miller, based on the 1985 novel of the same name by Canadian author Margaret Atwood. The series was ordere... Manifest (TV series) - American supernatural drama television series, created by Jeff Rake, that premiered on September 24, 2018, on NBC. The series centers on the passengers and crew of a commercial airlin... Grey's Anatomy - American medical drama television series that premiered on March 27, 2005, on the American Broadcasting Company as a mid-season replacement. The fictional series focuses on the ... Peaky Blinders (TV series) - British period crime drama television series created by Steven Knight. Set in Birmingham, England, the series follows the exploits of the Shelby crime family in the direct afterm... The Walking Dead (TV series) - American post-apocalyptic horror television series for AMC based on the comic book series by Robert Kirkman, Tony Moore, and Charlie Adlard. The series features a large ensemb...
OWIKI.org. Text is available under the Creative Commons Attribution-ShareAlike License.