程序设计语言 - [美] Michael L. Scott

程序设计语言

[美] Michael L. Scott

出版时间

2007-06-01

ISBN

9787121042980

评分

★★★★★
书籍介绍
这是一本很有特色的教材,其核心是讨论程序设计语言的工作原理和技术。本书融合了传统的程序设计语言教科书和编译教科书的有关知识,并增加了一些有关汇编层体系结构的材料,以满足没学过计算机组织的学生们的需要。书中通过各种语言的例子,阐释了程序设计语言的重要基础概念,讨论了各种概念之间的关系,解释了语言中许多结构的形成和发展过程,以及它们演化为今天这种形式的根源。书中还详细讨论了编译器的工作方式和工作过程,说明它们对源程序做了什么,以及为什么要那样做。书的每章最后附有复习题和一些更具挑战性的练习。这些练习的特别价值在于引导学生进一步深入理解各种语言和技术。本书第2版新增了脚本语言问题的讨论,涵盖Perl、Python、Ruby、Tcl、PHP、JavaScript、XSLT等和其他语言。 本书在美国大学已使用了十余年,目前被欧美许多重要大学用于“程序设计语言”或者“软件系统”课程。本书适合高年级本科生或者一年级研究生使用,许多内容对专业程序员也很有价值。
AI导读
核心看点
  • 融合语言设计与编译原理,深入解析工作原理
  • 涵盖汇编体系结构,满足无计算机组织基础读者
  • 新增Perl、Python等脚本语言讨论,紧跟时代
适合谁读
  • 高年级本科生及一年级研究生,系统学习语言
  • 希望深入理解语言特性与编译器机制的专业程序员
  • 对计算机科学底层逻辑有强烈好奇心的技术爱好者
读前提醒
  • 内容涵盖面广且深,建议结合具体语言实例阅读
  • 部分章节涉及汇编与编译细节,需具备一定基础
  • 注意区分不同版本翻译质量,推荐参考第二版
读者共识
  • 知识体系扎实全面,被誉为超越算法导论的经典
  • 深入浅出讲解语言设计规则,帮助读者不迷失
  • 翻译质量参差不齐,部分版本存在语句不通问题

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "Excellent Compilers. Fortran owes much of its success to extremely good compilers. In part this is a matter of historical accident. Fortran has been around longer than anything else, and companies have invested huge amounts of time and money in making compilers that generate very fast code. It is al"
  • "Economics, Patronage, and Inertia. Finally, there are factors other than technical merit that greatly influence success. The backing of a powerful sponsor is one. PL/I, at least to first approximation, owes its life to IBM. Cobol and, more recently, Ada owe their life to the U.S. Department of Defen"
  • "Declarative languages are in some sense "higher level"; they are more in tune with the programmers point of view, and less with the implementor's point of view. Imperative languages predominate, however, mainly for performance reasons."
  • "There is a tension in the design of declarative languages between the desire to get away from "irrelevant" implementation details, and the need to remain close enough to the details to at least control the outline of an algorithm. The design of efficient algorithms, after all, is what much of comput"
  • "Logic- or constraint-based languages take their inspiration from predicate logic. They model computation as an attempt to find values that satisfy certain specified relationships, using gaol-directed search through a list of logical rules. Prolog is the best-known logic language. The term is also so"
  • "The von Neumann languages are the most familiar and successful. They include Fortran, Ada 83, C, and all of the others in which the basic means of computation is the modification of variables. Whereas functional languages are based on expressions that have values, von Neumann languages are based on "
  • "We have seen several examples already of higher-order functions: call/cc (sec continuations), for-each (Example 10.19), compose (Example 10.20), and apply (page 535)."
  • "First, much of the power of first-class functions depends on the ability to create new functions on the fly, and for that we need a function constructor: something like Scheme’s lambda or ML’s fn."
用户评论
很扎实的一本书
内容全面,简单清晰..
还好吧... 真厚 :)
9.1
大致翻看,下学期准备看的书之一
好多还是看不懂TT
翻译的不好,比如Garbage Collection 翻译成废料收集,具体的我就不举例了,保证你会吐血的,珍惜生命,请看原版
没有4星半,只好给5星了
囫囵吞枣读了一遍,有读懂十分之一么?不过仅从读懂的那部分来看就是好书。翻译稍微有点老,有些地方跟现在的术语翻译不是很一致。除此之外翻译还是很好的。计算机领域翻译质量高的书真是太难得了
收藏