Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

Reduction of compilation costs through language contraction

Published: 01 May 1974 Publication History
  • Get Citation Alerts
  • Abstract

    Programming languages tailored to particular groups of users can often be constructed by removing unwanted features from a general purpose language. This paper describes the use of simulation techniques to predict the savings in compilation cost achievable by such an approach. The results suggest a function which describes the effect of changes in the power of a language on the compilation cost of an algorithm expressed in that language: when features not actually used by the algorithm are removed from the language, the cost of compiling the algorithm decreases moderately, but when features that are needed are removed, the compilation cost increases sharply.

    References

    [1]
    Evans, Arthur. An Algol 60 compiler. In Annual Review iu Automatic Programmhtg, Vol 4. Pergamon Press, New York, 1964, pp. 87-124.
    [2]
    Kennedy, Michael, and Martin B. Solomon. Ten Statement Fortran Plus Fortran IV. Prentice-Hall, Englewood Cliffs, N.J., 1970.
    [3]
    Knuth, D.E. An empirical study of Fortran programs. Software-Practice and Experience (1) (1971), 105-133.
    [4]
    Knuth, D.E. Private communication. Reproduced in
    [5]
    Naur, P., and Woodger, M., Eds. Revised Report on the Algorithmic Language Algol 60. Comm. ACM 6, 1 (Jan. 1963), 1-20.
    [6]
    Shaw, Mary. Language structures for contractible compilers. Comput. Sci. Dep. Rep., Carnegie-Mellon U., Pittsburgh, Pa., Dec. 1971.
    [7]
    Wichmann, B.A. Some statistics from Algol programs. Central Computer Unit Rep. I I, Nat. Phys. Lab., Aug. 1970.

    Cited By

    View all

    Index Terms

    1. Reduction of compilation costs through language contraction

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image Communications of the ACM
      Communications of the ACM  Volume 17, Issue 5
      May 1974
      51 pages
      ISSN:0001-0782
      EISSN:1557-7317
      DOI:10.1145/360980
      Issue’s Table of Contents
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 01 May 1974
      Published in CACM Volume 17, Issue 5

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Algol
      2. compilation cost
      3. compiler design
      4. design of programming languages
      5. language contraction

      Qualifiers

      • Article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)72
      • Downloads (Last 6 weeks)12
      Reflects downloads up to 11 Aug 2024

      Other Metrics

      Citations

      Cited By

      View all

      View Options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Get Access

      Login options

      Full Access

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media