CLU (programming language)
CLU is a class-based programming language created at the Massachusetts Institute of Technology (MIT) by Barbara Liskov and her students starting in 1973. While it did not find extensive use, it introduced many features that are used widely now, and is seen as a step in the development of object-oriented programming (OOP). Key contributions include abstract data types, call-by-sharing, iterators, multiple return values (a form of parallel assignment), type-safe parameterized types, and type-safe variant types. It is also notable for its use of classes with constructors and methods, but without inheritance.
CLU is a class-based programming language created at the Massachusetts Institute of Technology (MIT) by Barbara Liskov and her students starting in 1973. While it did not find extensive use, it introduced many features that are used widely now, and is seen as a step in the development of object-oriented programming (OOP). Key contributions include abstract data types, call-by-sharing, iterators, multiple return values (a form of parallel assignment), type-safe parameterized types, and type-safe variant types. It is also notable for its use of classes with constructors and methods, but without inheritance. complex_number = cluster is add, subtract, multiply, ... rep = record [ real_part: real, imag_part: real ] add = proc ... end add; subtract = proc ... end subtract; multiply = proc ... end multiply; ... end complex_number; A cluster implements a data abstraction, which is a set of objects and a set of primitive operations to create and manipulate those objects. These correspond to the public components of a class in recent OO languages. A cluster also defines a type that can be named outside the cluster (in this case, "complex_number"), but its representation type (rep) is hidden from external clients. Cluster names are global, and no namespace mechanism was provided to group clusters or allow them to be created "locally" inside other clusters. In a cluster, the explicit type conversions up and down change between the abstract type and the representation; implicit conversions between these types are signified using the special type cvt. CLU does not otherwise perform implicit type conversions. There is a universal type any, and a procedure force[] to check that an object is a certain type. Objects may be mutable or immutable, the latter being base types such as integers, booleans, characters and strings. A final distinctive feature in CLU is parallel assignment (multiple assignment), where more than one variable can appear on the left hand side of an assignment operator. For instance, writing x,y := y,x would exchange values of x and y . In the same way, functions could return several values, like . Parallel assignment (though not multiple return values) predates CLU, appearing in CPL (1963), named simultaneous assignment, but CLU popularized it and is often credited as the direct influence leading to parallel assignment in later languages. All objects in a CLU program live in the heap, and memory management is automatic. CLU supports type-parameterized user-defined data abstractions. It was the first language to offer type-safe bounded parameterized types, using where clauses to express constraints on actual type arguments. Unlike in languages with template-based generics, a use of such a data abstraction can be type-checked without access to the implementation of the abstraction. Dictionary of Programming Languages CLU comparison at '99 bottles of beer' multi-language demo algorithm site
References
- ^ Barron, D. W.; Buxton, J. N.; Hartley, D. F.; Nixon, E.; Strachey, C. (1963). "The main features of CPL" . Computer Journal . 6 (2): 134– 143. doi : 10.1093/comjnl/6.2.134 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ "CLU emerged during a time when software developers faced growing challenges in managing complexity and ensuring reliability in large systems. Barbara Liskov, along with her team at MIT" . Zactra Technologies Inc . 2024-12-02 . Retrieved 2025-06-23 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1750633200.0
- ^ Ierusalimschy, R.; De Figueiredo, L. H.; Celes, W. (2007). "The evolution of Lua" (PDF) . Proceedings of the third ACM SIGPLAN conference on History of programming languages – HOPL III . pp. 2-1 – 2-26 . doi : 10.1145/1238844.1238846 . ISBN 978-1-59593-766-7 . Archived (PDF) from the original on 2010-07-03. Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ "Functional Programming HOWTO — Python 3.8.3 documentation" . docs.python.org . Retrieved 2020-05-25 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1590361200.0
- ^ "CLU files, 1976–1989" . Tapes of Tech Square (ToTS) collection, MC-0741 . Department of Distinctive Collections, Massachusetts Institute of Technology. swh:1:dir:5dc935d1c236b15a99b0750cf236b2d89ec951d0 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ Liskov, Barbara ; Zilles, Stephen (1974). "Programming with abstract data types". Proceedings of the ACM SIGPLAN symposium on Very high level languages . pp. 50– 59. CiteSeerX 10.1.1.136.3043 . doi : 10.1145/800233.807045 . {{ cite conference }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ "Ruby's Roots and Matz's Leadership" . Appfolio Engineering . 2019-11-08 . Retrieved 2019-11-15 . Matz feels that blocks are the greatest invention of Ruby (I agree.) He got the idea from a 1970s language called CLU from MIT, which called them 'iterators'... Wikipedia revision 1359705090, retrieved 2026-11-19 · 1573772400.0
- ^ Liskov, B.; Atkinson, R.; Bloom, T.; Moss, E.; Schaffert, J.C.; Scheifler, R.; Snyder, A. (1981). CLU Reference Manual . Lecture Notes in Computer Science. Vol. 114. Springer. doi : 10.1007/BFb0035014 . ISBN 9783540108368 . S2CID 27382594 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ a b Liskov, Barbara (1992). "A history of CLU". The second ACM SIGPLAN conference on History of programming languages. Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ a b c Liskov, B. ; Snyder, A.; Atkinson, R.; Schaffert, C. (August 1977). "Abstraction mechanisms in CLU". Communications of the ACM . 20 (8): 564– 576. CiteSeerX 10.1.1.112.656 . doi : 10.1145/359763.359789 . S2CID 17343380 . {{ cite journal }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ a b Curtis, Dorothy (2009-11-06). "CLU home page" . Programming Methodology Group, Computer Science and Artificial Intelligence Laboratory . Massachusetts Institute of Technology . Retrieved 2016-05-26 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1464217200.0
- ^ a b Curtis, Dorothy (2009-11-06). "Index of /pub/pclu" . Programming Methodology Group, Computer Science and Artificial Intelligence Laboratory . Massachusetts Institute of Technology. Archived from the original on 2021-06-21 . Retrieved 2016-05-26 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1464217200.0
- ^ Ushijima, Tetsu. "clu2c" . clu2c . woodsheep.jp . Retrieved 2016-05-26 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1464217200.0
- ^ Lundh, Fredrik. "Call By Object" . effbot.org . Archived from the original on 23 November 2019 . Retrieved 21 November 2017 . replace "CLU" with "Python", "record" with "instance", and "procedure" with "function or method", and you get a pretty accurate description of Python's object model. Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ a b c Stroustrup, Bjarne (1996). A History of C++: 1979--1991 . New York, NY, USA: Association for Computing Machinery. pp. 699– 769. doi : 10.1145/234286.1057836 . Retrieved 25 March 2022 . Wikipedia revision 1359705090, retrieved 2026-11-19 · 1795042800.0
- ^ Lattner, Chris (2014-06-03). "Chris Lattner's Homepage" . Chris Lattner . Retrieved 2014-06-03 . The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list. Wikipedia revision 1359705090, retrieved 2026-11-19 · 1401750000.0
Cite this
"CLU (programming language)". 1781628827. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1359705090 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy