https://craftofcoding.wordpress.com/2024/10/21/algol-68-seemed-like-a-good-idea-until-it-wasnt/ Skip to content Primary Menu The Craft of Coding Musings on programming and education Search for: [ ] [Search] Close Menu * Home * About * Course Material (free) * FAQ * IMAGE PROCESSING * LANGUAGES * Learning to Program * PRACNIQUES (programming case studies) * Programming Stuff * Recursion * Usability, Design and Web * Useful snippets of code Search for: [ ] [Search] Recent Posts * Dijkstra on the essence of programming * Dijkstra on competent programming * Niklaus Wirth on programming in 1968 * Algol-68 seemed like a good idea - until it wasn't * Tony Hoare on language design Archives * November 2024 * October 2024 * September 2024 * August 2024 * July 2024 * June 2024 * May 2024 * April 2024 * March 2024 * February 2024 * January 2024 * December 2023 * November 2023 * October 2023 * September 2023 * August 2023 * July 2023 * June 2023 * May 2023 * April 2023 * March 2023 * February 2023 * January 2023 * December 2022 * November 2022 * October 2022 * September 2022 * August 2022 * July 2022 * June 2022 * May 2022 * April 2022 * March 2022 * February 2022 * January 2022 * December 2021 * November 2021 * October 2021 * September 2021 * July 2021 * June 2021 * May 2021 * April 2021 * March 2021 * February 2021 * January 2021 * December 2020 * November 2020 * October 2020 * September 2020 * August 2020 * July 2020 * June 2020 * May 2020 * April 2020 * March 2020 * February 2020 * January 2020 * December 2019 * November 2019 * October 2019 * September 2019 * August 2019 * July 2019 * June 2019 * May 2019 * April 2019 * March 2019 * February 2019 * January 2019 * December 2018 * November 2018 * October 2018 * September 2018 * August 2018 * July 2018 * June 2018 * May 2018 * April 2018 * March 2018 * February 2018 * January 2018 * December 2017 * November 2017 * October 2017 * September 2017 * August 2017 * July 2017 * June 2017 * May 2017 * April 2017 * March 2017 * February 2017 * January 2017 * December 2016 * November 2016 * October 2016 * September 2016 * August 2016 * July 2016 * June 2016 * May 2016 * April 2016 * March 2016 * February 2016 * January 2016 * December 2015 * November 2015 * October 2015 * September 2015 * June 2015 * May 2015 * April 2015 * March 2015 * January 2015 * December 2014 * November 2014 * June 2014 * May 2014 * April 2014 * March 2014 * January 2014 * December 2013 * November 2013 * October 2013 * September 2013 * July 2013 * June 2013 Meta * Register * Log in * Entries feed * Comments feed * WordPress.com Algol-68 seemed like a good idea - until it wasn't The 1960s saw rapid growth in programming languages, which was both good and bad. The first (commercial) languages appeared in the late 1950s, in the guise of Fortran, and Cobol, which were very successful. Work on Algol started in 1958, it was to be a scientific programming language, providing features that Fortran just didn't, e.g. better structured control, in a package that had roughly the same scope as Fortran, i.e. numerical computation. Algol-58 didn't really get too far, with emphasis shifting to Algol-60 first implemented by 1960. Algol-60 had a lot going for it, but it seemingly wasn't enough for the group that produced the 1962 revision of Algol-60. Working Group 2.1 of IFIP wanted a more universal language, one whose scope could include areas covered by Cobol and Lisp, and so they set about extending the language into Algol-X, what would become Algol-68. But Algol-68 wasn't really a new version of Algol, it was a whole new language. A very complex, and intriguing language, perhaps ahead of its time, perhaps too obscure. The best we could do was to send with it a minority report, stating our considered view that, " . . . as a tool for the reliable creation of sophisticated programs, the language was a failure." C.A.R. Hoare, The Emperor's Old Clothes (CACM , 1981) In December 1968 the working group adopted the proposal by Dutch computer scientist Adriaan van Wijngaarden. But the draft proposal for Algol-68 was opposed by some members of the committee. In the Revised Report of the Algorithmic Language ALGOL-68 (ALGOL Bulletin), the authors acknowledged the "wholehearted cooperation, support, interest, criticism and violent objections from members of WG 2.1'', which may sum up how committee members really felt. Both Hoare and Dijkstra were critical about abandoning the simplicity of Algol-60, the new language becoming a vehicle for complex ideas. That was only half of it - even after being specified it seems that it was a hard language for which to implement a compiler. Algol-68 was a language written for programmers (albeit academic programmers), not for compiler writers. In the 1960s a lot of effort was put into the formal definition of languages, with little effort put into creating languages that could be used in a practical manner, or for teaching programming. It seems like many in the fledgling CS community wanted to build languages based on academic ideals, rather than anything useful. Niklaus Wirth was a long time subscriber of the quest to build ALGOL-68, but realized its shortcomings early on. He considered the working group too rigid and ineffective, and not open to suggestions from others. Wirth alluded to an alternative, but "It would have required the renunciation of the immodest ambition to erect another monument or mile stone along the road of progress in computer sciences. It would have required a shift from a fanatic perfectionism in formal definition methods towards honest consideration of pragmatics.". Wirth and Hoare would spin off their draft proposal for Algol-X into Algol-W, a simple extension of Algol-60 which would ultimately form the basis of Pascal. "Wirth recognized Algol 68 for what it was, a catastrophe." Bertrand Meyer, "Niklaus Wirth, or the Importance of Being Simple ", CACM (Jan.9, 2024) The first Algol-68 compiler appeared in 1970, Algol-68R (initially written in Algol-60), implemented by the Royal Radar Establishment (UK). But it was based on a subset of the original language, with modifications such as loops not ending with OD. It seems to have been popular in the UK, used for teaching programming in the 1970s. While there were other implementations, the language didn't really make inroads into the programming community. Arguably Wirth's Algol-W was a better successor to Algol-60. The committee did spend a number of years trying to refine Algol-68, however Hoare recollecting the development of Algol-68 in The Emperor's Old Clothes, still felt that the improvements were too conservative, "... in my view it does not remove the basic technical flaws in the design, nor does it begin to address the problem of its overwhelming complexity." The Algol family of languages was firmly rooted in the academic community, and arguably did not have the same connections to industry as the likes of Fortran and Cobol. Industry did not adopt Algol-68, IBM did not support it (it was arguably the largest manufacturer of mainframes in the 1960s, into the 70s). Algol-68 also had to compete against languages with a smaller language footprint, such as Pascal and C. In reality there has never really been a universal programming language, it is likely a fallacy of academia. Algol-68 was not a success, not as a commercial language, and not as a teaching language. Part of the problem with Algol-68 may have stemmed from having "too many cooks in the kitchen", at a time when programming language design was still a fledgling craft (IFIP Working Group 2.1 supposedly had about 28 members). Algol-68 (or derivatives of) did rise to some prominence in one place - the USSR. The most prominent implementation of the language came from Leningrad State University. It was apparently used to design Russian telephone exchanges. Further reading: * Languages in Perspective: The Algol "family" * Why Algol bested Fortran (for a bit) * Ghosts in the machine: Algol 60 * Why Algol 68 was weird (and ultimately failed) * A brief look at the utter madness of Algol 68 * The Swiss Army Knife Syndrome and ALGOL 68 * Algol 68 implementations and dialects * Algol 68 Genie (compiler) * Exploring Algol 68 in the 21st century * Algol 68 - 25 Years in the USSR Share this: * LinkedIn * Pinterest * Email * Facebook * Twitter * Like Loading... Related 21/10/2024 spqr Algol 68Algol languagesAlgol-68Algol-68 as a failure Post navigation - Tony Hoare on language design Niklaus Wirth on programming in 1968 - Create a free website or blog at WordPress.com. [Close and accept] Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: Cookie Policy * Reblog * Subscribe Subscribed + [wpcom-] The Craft of Coding Join 367 other subscribers [ ] Sign me up + Already have a WordPress.com account? Log in now. * + [wpcom-] The Craft of Coding + Customize + Subscribe Subscribed + Sign up + Log in + Copy shortlink + Report this content + View post in Reader + Manage subscriptions + Collapse this bar %d [b] Design a site like this with WordPress.com Get started