Erlang编程

出版时间:2010-6  出版社:东南大学出版社  作者:Francesco Cesarini,Simon Thompson  页数:470  
Tag标签:无  

前言

What made us start writing this book in the first place is the enthusiasm we share for Erlang. We wanted to help get the word out, giving back a little of what the community has given to us. Although we both got into Efiang for very different reasons, the end result was the same: lots of fun hours doing lots of fun stuff at a fraction of the effort it would have taken with other languages. And best of all, it is not a tool we use for hobby projects, but one we use on a daily basis in our real jobs! Francesco: Why Erlang? The year was 1994. While studying computer science at Uppsala University, one of the courses I took was on parallel programming. The lecturer held up the first edition of Concurrent Programming in Erlang (Prentice Hall) and said, "Read it." He then held up a handout and added, "These are the exercises, do them," after which Erlang barely got a mention; it was quickly overshadowed with the theory of threads, shared memory,semaphores, and deadlocks. As the main exercise for this course, we had to implement a simulated world inhabited by carrots, rabbits, and wolves. Rabbits would roam this world eating carrots that grew in random patches. When they had eaten enough carrots, the rabbits would get fat and split in two. Wolves ran around eating up the rabbits; if they managed to catch and eat enough rabbits, they would also get fat and split. Rabbits and wolves within a certain distance of each other would broadcast information on food and predators. If a rabbit found a carrot patch, other rabbits would quickly join him. If a wolf found a rabbit,the pack would start chasing it.

内容概要

本书深入介绍了Erlang,这是一门满足高并发、容错和快速响应等苛刻要求的理想编程语言。随着多核CPU以及与之俱来的新并发扩展方式崭露头角,Erlang正在获得更广泛的接受和应用。只要拥有这本指南,无论此前的编程水平或经验如何,你都将学会用Erlang编写复杂的并发程序。    《Erlang编程》由Erlang国际社区的两位领袖级人物基于他们的培训教材撰写,重点解析该语言的语法和语义,并详细阐述模式匹配、严格列表(proper lists)、递归、调试、网络与并发等重要概念的精髓要义。    本书可以帮助你:理解并掌握Erlang的诸多强项,以及其设计者潜心设计的各种特性;学习并发背后的概念和Erlang相应的处理方法;编写高效的Erlang程序,并且保持代码整洁易读;发现Erlang如何满足分布式系统的需求;小试牛刀,添加简单图形用户界面;学习Erlang的追踪机制,用于调试并发和分布式系统;使用内嵌的Mnesia数据库和其他表存储特性。    无论你是新手还是富有经验的Erlang开发者,《Erlang编程》都是案头必备的重要参考资料。

作者简介

作者:(瑞典)塞萨芮利(Francesco Cesarini) (英国)汤普森(Simon Thompson)塞萨芮利(Francesco Cesarini)从事Erlang/OTP教学14年,学生不仅来自高校,还有开发者、测试人员和项目/技术经理。他帮助筹建了爱尔兰、 美国和英国的Erlang开发中心。汤普森(Simon Thompson)是一位来自肯特大学计算实验室的逻辑学与计算方法教授,在过去的25年中,他一直致力于本科生和研究生的计算机教学工作。

书籍目录

ForewordPreface1.Introduction Why Should I Use Erlang? The History of Erlang Erlang's Characteristics  High-Level Constructs  Concurrent Processes and Message Passing  Scalable, Safe, and Efficient Concurrency  Soft Real-Time Properties  Robustness  Distributed Computation  Integration and Openness Erlang and Multicore Case Studies  The AXD301 ATM Switch  CouchDB  Comparing Erlang to C++ How Should I Use Erlang?2.Basic Erlang3.Sequential Erlang4.Concurrent Programming5.Process Design Patterns6.Process Error Handing7.Records and Macros8.Software Upgrade9.More Data Types and High-Level Constructs10.ETS and Dets Tables11.Distributed Programming in Erlang12.OTP Behaviors13.Introducing Mnesia14.GUI Programming with wxErlang15.Socket Programming16.Interfacing Erlang with Other Programming Languages17.Trace BIFs,the dbg Tracer,and Match Specifications18.Types and Documentation19.EUnit and Test-Driven Development20.Style and EfficiencyAppendix:Using ErlangIndex

章节摘录

插图:

媒体关注与评论

“尽管我已经使用Erlang多年,但在审读这份手稿的过程中,我还是常常在屏幕上打开该书某些章节,以便编程时引用。不同水平层次的所有Erlang程序员都能在这本颇具价值的好书中找到问题解答和参考材料。”   ——Steve Vinoski,“The Functional Web”专栏作家,《IEEE Internet Computing》杂志

编辑推荐

《Erlang编程(影印版)》由东南大学出版社出版。

图书封面

图书标签Tags

评论、评分、阅读与下载


    Erlang编程 PDF格式下载


用户评论 (总计22条)

 
 

  •   最近在学习Erlang,找了蛮多材料,这本书讲的还是不错的
  •   正在努力学习中,英文版的稍微有点难度。但是很感兴趣,所以蛮有动力的。书的质量还可以吧。
  •   这本书不错,夯实基础必备;建议再买一本OTP的书
  •   简单易懂,7天看完
  •   书海没看,一口气又买了300多块钱的,希望不要浪费
  •   才看了一点,就不评价了
  •   买回来 才看到是英语的,看起来虽然没有障碍 但是比汉语的慢多了
  •   感觉很好, 送货速度很快,感觉很好。
  •   如果想真正掌握Erlang,从这本书开始吧。
  •   推荐入门好书
  •   还没看完,总体感觉很不错
  •   老外喜欢这么看这么小的字吗?
  •   If you are doing erlang programming in your daily work, this is a must-have in-depth textbook for you.
  •   跟perl一起买的,当时为了考ccna,买来自己看还是可以的
  •   还不错,蛮清楚的影印版,比想象的要好
  •   纸张不错,印刷还行,给4分
  •   书的质量不错,讲的很好,像跟着一位很好的老师,就算是英文也很好懂
  •   这里都没说明是英文版,我不小心买来了英文版。请问如何退货?
  •   书很不错,印刷质量挺好
  •   纸质印刷都还不错。字小了点
  •   书的纸张颜色很难看,字体也不好看。还没开始读,不知道内容怎么样。
  •   书送到后,发现到处是折角,破损,失望····
 

250万本中文图书简介、评论、评分,PDF格式免费下载。 第一图书网 手机版

京ICP备13047387号-7