Ousterhout's dichotomy
From Wikipedia, the free encyclopedia
This article or section needs sources or references that appear in reliable, third-party publications. Primary sources and sources affiliated with the subject of the article are generally not sufficient for a Wikipedia article. Please include more appropriate citations from reliable sources, or discuss the issue on the talk page. This article has been tagged since May 2008. |
This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (May 2008) |
Ousterhout's dichotomy is John Ousterhout's claim[1] that high-level languages tend to fall into two groups, each with distinct properties and uses: "system programming languages" and "scripting languages". This distinction underlies the design of his language Tcl.
System programming languages (or "applications languages") usually have the following properties:
- They are statically typed
- They support the creation of complex data structures
- Programs in them are compiled into machine code
System programming languages tend to be used for components and applications with large amounts of internal functionality such as operating systems, database servers, and Web browsers. These applications typically employ complex algorithms and data structures and require high performance. Popular system programming languages include C, C++, and Pascal.
By contrast, scripting languages (or "glue languages") tend to have the following properties:
- They are dynamically typed
- They have little or no provision for complex data structures
- Programs in them ("scripts") are interpreted directly, or compiled into bytecode or a parse tree
Scripting languages tend to be used for applications where most of the functionality comes from other programs (often implemented in system programming languages); the scripts are used to "glue" together other programs or add additional layers of functionality on top of existing programs. Scripts tend to be short and are often written by less sophisticated programmers, so execution efficiency is less important than simplicity and ease of interaction with other programs. Common applications for scripting include Web page generation, report generation, graphical user interfaces, and system administration. Popular scripting languages include AppleScript, C Shell, DOS batch files, Perl, Tcl,Windows PowerShell, and Python.
[edit] References
- ^ Ousterhout, John (March 1998). Scripting: Higher Level Programming for the 21st Century. IEEE Computer magazine. Retrieved on 2007-12-28.
This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.