ISBN 0-321-33025-0 Chapter 2 Evolution of the Major Programming Languages.

Slides:



Advertisements
Similar presentations
Programming Languages Language Design Issues Why study programming languages Language development Software architectures Design goals Attributes of a good.
Advertisements

Reasons to study concepts of PL
ISBN Chapter 1 Preliminaries. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.1-2 Chapter 1 Topics Motivation Programming Domains.
A Quick Overview of Languages. FORTRAN Designed in 1955 First release of the compiler in 1957 Algebraic in nature Scientific (numeric not string oriented)
ISBN Chapter 2 Evolution of the Major Programming Languages.
1 Copyright © 1995 by Addison-Wesley Publishing Co. 1. Plankalkül Never implemented - Advanced data structures - floating point, arrays, records.
Programming Languages Structure
ISBN Lecture 01 Preliminaries. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.1-2 Lecture 01 Topics Motivation Programming.
ISBN Chapter 2 Evolution of the Major Programming Languages.
1 Organization of Programming Languages-Cheng (Fall 2004) Evolution of Programming Languages (CSE452) Instructor: Dr. B. Cheng Fall 2004.
ISBN Chapter 2 Evolution of the Major Programming Languages.
Summer 02-03Programming Language Concepts1 Programming Language Concepts (CS 360) Lecture 1: Overview, Grammars, and Little Languages Jeremy R. Johnson.
ISBN Chapter 1 Topics Motivation Programming Domains Language Evaluation Criteria Influences on Language Design Language Categories Language.
Programming Language Concepts
1 Programming Languages Marjan Sirjani 2 1- The Study of Programming Languages The purpose of language is simply that it must convey meaning. (Confucius)
1 Programming Language Concepts Ethics Why study concepts of programming languages (PLs)? PL categories Influences on PL design Problem areas & needs that.
CS 355 – Programming Languages
CS 355 – PROGRAMMING LANGUAGES Dr. X. Copyright © 2012 Addison-Wesley. All rights reserved.1-2 Topics Zuse’s Plankalkül Minimal Hardware Programming:
(1.1) COEN 171 Programming Languages Winter 2000 Ron Danielson.
Evolution of the Major Programming Languages
ISBN Chapter 2 Evolution of the Major Programming Languages.
ISBN Chapter 2 Evolution of the Major Programming Languages.
Chapter 1. Introduction.
ISBN Chapter 2 Evolution of the Major Programming Languages.
ISBN Chapter 2 Evolution of the Major Programming Languages.
CS 403 Programming Language Theory Class 2 - August 29, 2000.
ISBN Chapter 2 Evolution of the Major Programming Languages.
1 Programming Languages Marjan Sirjani Course web site:
1 Programming Language History and Evolution In Text: Chapter 2.
CS 403 Programming Language Theory Class 3 - August 31, 2000.
ISBN Chapter 2 Evolution of the Major Programming Languages.
Copyright © 2006 Addison-Wesley. All rights reserved.1-1 ICS 410: Programming Languages.
Copyright © 2007 Addison-Wesley. All rights reserved.1-1 Reasons for Studying Concepts of Programming Languages Increased ability to express ideas Improved.
ISBN Chapter 2 Evolution of the Major Programming Languages.
ISBN CS 354 Preliminaries. Copyright © 2006 Addison-Wesley. All rights reserved.1-2 Course Topics What is a programming language? What features.
Copyright © 2007 Addison-Wesley. All rights reserved.1-1 Chapter 2: Evolution of the Major Programming Languages The IBM 704 and Fortran Functional Programming:
Engr. Isabelo Jun D. Paat, ME-CoE Lecturer 1 Programming Languages.
1 Chapter 2 © 1998 by Addison Wesley Longman, Inc. 2.1 Plankalkül Never implemented - Advanced data structures - floating point, arrays, records.
Evolution of the Major Programming Languages Chapter 2: Evolution of the Major Programming Languages Lectures # 5.
a medium allowing humans and computers to communicate an abstraction of the real world a notation for expressing algorithms the set of all syntactically.
History. Development Driven by Function Functions of a Programming Language –To describe computation for use by computers –To describe computation and.
Programming Language History and Evolution
A BRIEF HISTORY OF PROGRAMMING LANGUAGES
The language focusses on ease of use
Zuse’s Plankalkül – 1945 Never implemented Problems Zuse Solved
Concepts of Programming Languages
Basic 1960s It was designed to emphasize ease of use. Became widespread on microcomputers It is relatively simple. Will make it easier for people with.
Why study programming languages?
Evolution of the Major Programming Languages
Evolution of the Major Programming Languages
PROGRAMMING LANGUAGES
Evolution of the Major Programming Languages
Programming Language History and Evolution
Evolution of the Major Programming Languages
Evolution of the Major Programming Languages
Chapter 2 Plankalkül – Never implemented
Evolution of the Major Programming Languages
Ada – 1983 History’s largest design effort
Evolution of the Major Programming Languages
Evolution of the Major Programming Languages
Evolution of the Major Programming Languages
Evolution of the Major Programming Languages
Evolution of the Major Programming Languages
and Program Development
Cobol Design goals: Problems
Principles of Programming Languages
2.1 Plankalkül Pseudocodes Never implemented
Programming Languages
Presentation transcript:

ISBN Chapter 2 Evolution of the Major Programming Languages

Copyright © 2006 Addison-Wesley. All rights reserved.1-2 In the beginning, there was Machine Code What was wrong with using machine code? –Poor readability –Poor modifiability –Expression coding was tedious –Machine deficiencies--no indexing or floating point High-level language development went through a number of stages –Try it and see what works –Theoretical approach –Software Engineering approach

Copyright © 2006 Addison-Wesley. All rights reserved.1-3 Assembly Language Replaces op-codes of machine language with mnemonics One-to-one mapping from machine language to assembly code Two approaches –CISC = complex instruction set computer 808x assembly language –RISC = reduced instruction set computer MIPS

Copyright © 2006 Addison-Wesley. All rights reserved.1-4 Beyond Machine Code Pseudocodes were early attempts at high- level languages –Short Code –Speedcoding –UNIVAC compiling system These added operations that weren't built into the hardware

Copyright © 2006 Addison-Wesley. All rights reserved.1-5 Fortran = FORmula TRANslator Fortran was the first high-level programming language Environment of development –Applications were scientific –No programming methodology or tools –Machine efficiency was most important Design choices –No need for dynamic storage –Need good array handling and counting loops –No string handling, decimal arithmetic, or powerful input/output (commercial stuff)

Copyright © 2006 Addison-Wesley. All rights reserved.1-6 Functional Programming: LISP LISt Processing language – Designed at MIT by McCarthy AI research needed a language to –Process data in lists (rather than arrays) –Symbolic computation (rather than numeric) Only two data types: atoms and lists Syntax is based on lambda calculus

Copyright © 2006 Addison-Wesley. All rights reserved.1-7 Scheme Developed at MIT in mid 1970s Small Extensive use of static scoping Functions as first-class entities Simple syntax (and small size) make it ideal for educational applications

Copyright © 2006 Addison-Wesley. All rights reserved.1-8 Other Functional Languages

Copyright © 2006 Addison-Wesley. All rights reserved.1-9 The First Step Toward Sophistication: ALGOL 60 ALGOL 60 was the result of efforts to design a universal language Goals of the language –Close to mathematical notation –Good for describing algorithms –Must be translatable to machine code

Copyright © 2006 Addison-Wesley. All rights reserved.1-10 ALGOL 58 Concept of type was formalized Names could be any length Arrays could have any number of subscripts Parameters were separated by mode (in & out) Subscripts were placed in brackets Compound statements ( begin... end ) Semicolon as a statement separator Assignment operator was := if had an else-if clause No I/O - “would make it machine dependent”

Copyright © 2006 Addison-Wesley. All rights reserved.1-11 ALGOL 60 Overview New features –Block structure (local scope) –Two parameter passing methods –Subprogram recursion –Stack-dynamic arrays –Still no I/O and no string handling –Formal syntax description

Copyright © 2006 Addison-Wesley. All rights reserved.1-12 Computerizing Business Records: COBOL Environment of development –A number of different business languages were being developed by various organizations Design goals –Must look like simple English –Must be easy to use, even if that means it will be less powerful –Must broaden the base of computer users –Must not be biased by current compiler problems Still the most widely used business applications language

Copyright © 2006 Addison-Wesley. All rights reserved.1-13 The Beginning of Timesharing: BASIC Designed by Kemeny & Kurtz at Dartmouth Design Goals: –Easy to learn and use for non-science students –Must be “pleasant and friendly” –Fast turnaround for homework –Free and private access –User time is more important than computer time Never standardized - many versions over the years First widely used language with time sharing

Copyright © 2006 Addison-Wesley. All rights reserved.1-14 Some other milestones PL/1 - an attempt to write one language that everyone could use Dynamic typing –APL - lots of operators for vector and matrix operations –SNOBOL - designed for string processing Data abstraction (eventually resulted in Object-Oriented programming) –SIMULA 67

Copyright © 2006 Addison-Wesley. All rights reserved.1-15 Early Descendants of ALGOLs ALGOL languages impacted all imperative languages –Pascal - a teaching language that didn't stay in school –C - designed for system applications –Modula/Modula 2 –Ada - language designed by committee –Oberon –C++/Java –Perl (to some extent)

Copyright © 2006 Addison-Wesley. All rights reserved.1-16 Programming Based on Logic: Prolog Developed, by Comerauer and Roussel (University of Aix-Marseille), with help from Kowalski ( University of Edinburgh) Based on formal logic Non-procedural Can be summarized as being an intelligent database system that uses an inferencing process to infer the truth of given queries Highly inefficient, small application areas

Copyright © 2006 Addison-Wesley. All rights reserved.1-17 Object-Oriented Programming Simula 67 Smalltalk –First full implementation of an object-oriented language (data abstraction, inheritance, and dynamic type binding) C++ –Combines Imperative and Object-Oriented Programming Eiffel Delphi (Borland) –Based on Pascal Java C# –part of.NET programming environment

Copyright © 2006 Addison-Wesley. All rights reserved.1-18 Scripting Languages General Scripting Languages –sh and other Unix shell languages –awk –tcl/tk –perl –ruby –python An OO interpreted scripting language Scripting Languages for the Web –JavaScript client side programming interpreted by browser –PHP server side web applications produces HTML code as output Interpreted –A script (file) contains instructions to be executed

Copyright © 2006 Addison-Wesley. All rights reserved.1-19 Markup/Programming Hybrid Languages XML, XSLT –eXtensible Markup Language (XML): a metamarkup language –eXtensible Stylesheet Language Transformation (XSTL) transforms XML documents for display –Programming constructs (e.g., looping) JSP –Java Server Pages: a collection of technologies to support dynamic Web documents –servlet: a Java program that resides on a Web server; servlet’s output is displayed by the browser ASP –.NET technologies for web documents

Copyright © 2006 Addison-Wesley. All rights reserved.1-20 Genealogy of Common Languages

Copyright © 2006 Addison-Wesley. All rights reserved.1-21 Further Reading Check out some of the Bibliographic Notes at the end of the chapter Most programming languages texts contain a brief history of programming languages Peter Wegner "Programming Languages - The First 25 Years" in IEEE Transactions on Computers, volume C-25, December 1976 ACM History of Programming Languages Conference Proceedings, SIGPLAN Notices, volume 28, March 1993