Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Standard library
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Library provided with a programming language to provide common services}} {{refimprove|date=May 2019}} In [[computer programming]], a '''standard library''' is the [[library (computing)|library]] made available across [[Programming language implementation|implementations]] of a [[programming language]]. Often, a standard library is specified by its associated [[programming language specification]], however, some are set in part or whole by more informal practices of a language community. Some languages define a core part of the standard library that must be made available in all implementations while allowing other parts to be implemented optionally. As defined with the core language aspects, the line between the core language and its standard library is relatively subtle. A [[programmer]] may confuse the two aspects even though the language designers intentionally separate the two. The line between the core language and its standard library is further blurred in some languages by defining core language constructs in terms of its standard library. For example, [[Java (programming language)|Java]] defines a [[string literal]] as an instance of the java.lang.String class. [[Smalltalk]] defines an anonymous function expression (a "block") as an instance of its library's BlockContext class. [[Scheme (programming language)|Scheme]] does not specify which portions must be implemented as core language vs. standard library.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)