Chapter 1 Reasons to study concepts of PLs Programming Domains

Slides:



Advertisements
Similar presentations
Copyright © 1998 by Addison Wesley Longman, Inc. 1 Chapter One Preliminaries, including –Why study PL concepts? –Programming domains –PL evaluation criteria.
Advertisements

Chapter 1: Preliminaries
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.
ISBN Chapter 1 Preliminaries. Copyright © 2007 Addison-Wesley. All rights reserved.1-2 Chapter 1 Topics Reasons for Studying Concepts of.
CS 354 Overview. Copyright © 2007 Addison-Wesley. All rights reserved. 1–2 Course Topics What is a programming language? What features do programming.
Programming Languages Structure
ISBN Lecture 01 Preliminaries. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.1-2 Lecture 01 Topics Motivation Programming.
ISBN Chapter 1 Topics Motivation Programming Domains Language Evaluation Criteria Influences on Language Design Language Categories Language.
Copyright © 1998 by Addison Wesley Longman, Inc. 1 Concepts of Programming Languages Chapter 1.
ISBN Chapter 1 Preliminaries. Copyright © 2007 Addison-Wesley. All rights reserved.1-2 Chapter 1 Topics Reasons for Studying Concepts of.
Programming Language Concepts
Chapter 1 Preliminaries. Copyright © 2012 Addison-Wesley. All rights reserved.1-2 Chapter 1 Topics Reasons for Studying Concepts of Programming Languages.
CS 355 – Programming Languages
Programming Languages Introduction. Overview Motivation Why study programming languages? Some key concepts.
CS 363 Comparative Programming Languages
Programming Languages Summer
1 Programming Languages Introduction. 2 Overview Motivation Why study programming languages? Some key concepts.
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.
ICS 313 Fundamentals of Programming Languages Instructor: Abdul Wahid Wali Lecturer, CSSE, UoH
ISBN CS 354 Preliminaries. Copyright © 2006 Addison-Wesley. All rights reserved.1-2 Course Topics What is a programming language? What features.
ISBN Chapter 1 Preliminaries. Copyright © 2015 Pearson. All rights reserved.1-2 Chapter 1 Topics Reasons for Studying Concepts of Programming.
ISBN Chapter 1 Preliminaries. Copyright © 2009 Addison-Wesley. All rights reserved.1-2 Chapter 1 Topics Reasons for Studying Concepts of.
Course No Programming Languages Theory & Practice First Semester ITTIHAD UNIVERSITY Computer Science Department Instructor: Dr. Rafiqul.
ISBN Structure of Programming Languages Prof. Dr. Mostafa Abdel Aziem Mostafa Senior Lecturer
ISBN Chapter 1 Preliminaries. Copyright © 2006 Addison-Wesley. All rights reserved.1-2 Chapter 1 Topics Reasons for Studying Concepts of.
Concepts of Programming Languages
Chapter 1 Preliminaries.
Concepts of Programming Languages
CSCI 3370: Principles of Programming Languages Introduction
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
PROGRAMMING LANGUAGES
1.1 Reasons to study concepts of PLs
Chapter 1 Preliminaries.
Programming Languages
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
CS 3304 Comparative Languages Fall 2011
Chapter 1 Introduction.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminary. Chapter 1 Preliminary 1.1 Reasons for Studying Concepts of Programming Languages Increased capacity to express ideas Improved.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
CS 3304 Comparative Languages Fall 2011
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Topics Reasons for Studying Concepts of Programming Languages Programming Domains Language Evaluation Criteria Influences on Language Design.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Programming Languages, Preliminaries, History & Evolution
Reasons To Study Programming Languages
Chapter 1 Preliminaries.
Lecture 2 Concepts of Programming Languages
Chapter 1 Preliminaries.
Chapter 1 Preliminaries.
Presentation transcript:

Chapter 1 Reasons to study concepts of PLs Programming Domains 1. Increased capacity to express programming concepts 2. Improved background for choosing appropriate languages 3. Increased ability to learn new languages 4. Understanding the significance of implementation 5. Increased ability to design new languages 6. Overall advancement of computing Programming Domains 1. Scientific applications 2. Business applications 3. Artificial intelligence 4. Systems programming 5. Scripting languages 6. Special purpose languages

Chapter 1 Language Evaluation Criteria 1. Readability - The most important criterium - Factors: - Overall simplicity - Too many features is bad - Multiplicity of features is bad - Orthogonality - Makes the language easy to learn and read - Meaning is context independent - Control statements - Data type and structures - Syntax considerations 2. Writability - Simplicity and orthogonality - Support for abstraction - Expressivity 3. Reliability - Type checking - Exception handling - Aliasing - Readability and writability

Chapter 1 Evaluation criteria (continued) 4. Cost - Categories - Programmer training - Software creation - Compilation - Execution - Compiler cost - Poor reliability - Maintenance 5. Others: portability, generality, well-definedness Primary influences on language design 1. Computer architecture - We use imperative languages, at least in part, because we use von Neumann machines 2. Programming methodologies - 1950s and early 1960s: Simple applications; worry about machine efficiency - Late 1960s: People efficiency became important; readability, better control structures - Late 1970s: Data abstraction - Middle 1980s: Object-oriented programming

Chapter 1 Language Categories 1. Imperative Language Design Trade-offs 2. Functional 3. Logic 4. Object-oriented (closely related to imperative) Language Design Trade-offs 1. Reliability versus cost of execution 2. Writability versus readability 3. Flexibility versus safety Implementation Methods 1. Compilation - Translate high-level program to machine code - Slow translation - Fast execution

Chapter 1 Programming Environments 2. Pure interpretation - No translation - Slow execution - Becoming rare 3. Hybrid implementation systems - Small translation cost - Medium execution speed Programming Environments -The collection of tools used in software development 1. UNIX - An old operating system and tool collection 2. Borland C++ - A PC environment for C and C++ 3. Smalltalk - A language processor/environment 4. Microsoft Visual C++ - A large, complex visual environment