Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-pkt8n Total loading time: 0 Render date: 2024-08-07T09:49:12.918Z Has data issue: false hasContentIssue false

1 - Introduction

Published online by Cambridge University Press:  05 June 2013

Yanhong Annie Liu
Affiliation:
Stony Brook University, State University of New York
Get access

Summary

From clarity to efficiency: systematic program design

At the center of computer science, there are two major concerns of study: what to compute, and how to compute efficiently. Problem solving involves going from clear specifications for “what” to efficient implementations for “how”. Unfortunately, there is generally a conflict between clarity and efficiency, because clear specifications usually correspond to straightforward implementations, not at all efficient, whereas efficient implementations are usually sophisticated, not at all clear. What is needed is a general and systematic method to go from clear specifications to efficient implementations.

We give example problems from various application domains and discuss the challenges that lead to the need for a general and systematic method. The example problems are for database queries, hardware design, image processing, string processing, graph analysis, security policy frameworks, program analysis and verification, and mining semi-structured data. The challenges are to ensure correctness and efficiency of developed programs and to reduce costs of development and maintenance.

Example problems and application domains

Database queries. Database queries matter to our everyday life, because databases are used in many important day-to-day applications. Consider an example where data about professors, courses, books, and students are stored, and we want to find all professor-course pairs where the professor uses any of his own books as the textbook for the course and any of his own students as the teaching assistant for the course.

Type
Chapter
Information
Systematic Program Design
From Clarity to Efficiency
, pp. 1 - 21
Publisher: Cambridge University Press
Print publication year: 2013

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Introduction
  • Yanhong Annie Liu, Stony Brook University, State University of New York
  • Book: Systematic Program Design
  • Online publication: 05 June 2013
  • Chapter DOI: https://doi.org/10.1017/CBO9781139567879.002
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Introduction
  • Yanhong Annie Liu, Stony Brook University, State University of New York
  • Book: Systematic Program Design
  • Online publication: 05 June 2013
  • Chapter DOI: https://doi.org/10.1017/CBO9781139567879.002
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Introduction
  • Yanhong Annie Liu, Stony Brook University, State University of New York
  • Book: Systematic Program Design
  • Online publication: 05 June 2013
  • Chapter DOI: https://doi.org/10.1017/CBO9781139567879.002
Available formats
×