From Mathematics to Generic Programming

From Mathematics to Generic Programming

查阅电子书
手机扫码
  • 微信扫一扫

    关注微信公众号

因版权原因待上架

内容简介

In this substantive yet accessible book, pioneering software designer Alexander Stepanov and his colleague Daniel Rose illuminate the principles of generic programming and the mathematical concept of abstraction on which it is based, helping you write code that is both simpler and more powerful.

If you’re a reasonably proficient programmer who can think logically, you have all the background you’ll need. Stepanov and Rose introduce the relevant abstract algebra and number theory with exceptional clarity. They carefully explain the problems mathematicians first needed to solve, and then show how these mathematical solutions translate to generic programming and the creation of more effective and elegant code. To demonstrate the crucial role these mathematical principles play in many modern applications, the authors show how to use these results and generalized algorithms to implement a real-world public-key cryptosystem.

As you read this book, you’ll master the thought processes necessary for effective programming and learn how to generalize narrowly conceived algorithms to widen their usefulness without losing efficiency. You’ll also gain deep insight into the value of mathematics to programming–insight that will prove invaluable no matter what programming languages and paradigms you use.

You will learn about

How to generalize a four thousand-year-old algorithm, demonstrating indispensable lessons about clarity and efficiency

Ancient paradoxes, beautiful theorems, and the productive tension between continuous and discrete

A simple algorithm for finding greatest common divisor (GCD) and modern abstractions that build on it

Powerful mathematical approaches to abstraction

How abstract algebra provides the idea at the heart of generic programming

Axioms, proofs, theories, and models: using mathematical techniques to organize knowledge about your algorithms and data structures

Surprising subtleties of simple programming tasks and what you can learn from them

How practical implementations can exploit theoretical knowledge

作者简介

Alexander A. Stepanov studied mathematics at Moscow State University from 1967 to 1972. He has been programming since 1972: first in the Soviet Union and, after emigrating in 1977, in the United States. He has programmed operating systems, programming tools, compilers, and libraries. His work on foundations of programming has been supported by GE, Polytechnic University, Bell L...

(展开全部)

From Mathematics to Generic Programming是2011年由Addison-WesleyProfessional出版,作者AlexanderA.Stepanov。

得书感谢您对《From Mathematics to Generic Programming》关注和支持,如本书内容有不良信息或侵权等情形的,请联系本网站。

购买这本书

你可能喜欢
深入浅出Spring Boot 2.x 电子书
本书章节编排合理,深入浅出地阐述了Spring Boot 2.x的原理与应用,以及当今较为流行的微服务系统经常用到的技术及原理,内容通俗易懂。
Go语言趣学指南 电子书
Go是谷歌公司为了解决重大问题而设计的一种小型编程语言。完成大型项目需要大型团队,而大型团队中团队成员的经验水平往往各不相同。Go是一种小巧却功能强大的语言,它能够被任何人理解和使用,无论其经验如何。 快速、现代的编程语言能让业余爱好者、初学者和专业人员都受益。你需要的正是这样的语言。本书针对Go语言基础知识提供了实操性的指导,使你能够掌握Go语法,使用类型和函数,探索状态和并发等更重要的概念,并通过大量练习来巩固学到的知识。 本书包括以下内容: ●切片、接口、指针和并发等重要语言概念; ●地鼠太空航行、火星探测器、文本加密以及人类繁衍模拟等7个单元实验; ●无须安装即可在Go Playground中运行的示例。 本书面向所有熟悉计算机编程以及渴望获得这一技能的人。
计算机导论 电子书
本书系统介绍计算机基础知识,兼具实践与习题。
Arduino入门基础教程 电子书
“精通Arduino硬件平台:由浅入深,循序渐进。”
计算机数学:算法基础线性代数与图论 电子书
计算机专业数学教材:六章涵盖核心知识,培养逻辑编程思维。