Erlang編程

Erlang編程

《Erlang編程》是東南大學出版社出版的圖書,ISBN是9787564122690。

基本介紹

  • 書名:Erlang編程
  • 又名: Programming Erlang
  • ISBN:9787564122690
  • 頁數:470頁
  • 出版社:東南大學出版社
  • 出版時間:2010年6月1日
  • 開本:16
內容簡介,目錄,作者簡介,媒體評論,

內容簡介

《Erlang編程(影印版)》深入介紹了Erlang,這是一門滿足高並發、容錯和快速回響等苛刻要求的理想程式語言。隨著多核CPU以及與之俱來的新並發擴展方式嶄露頭角,Erlang正在獲得更廣泛的接受和套用。只要擁有這本指南,無論此前的編程水平或經驗如何,你都將學會用Erlang編寫複雜的並發程式。
《Erlang編程》由Erlang國際社區的兩位領袖級人物基於他們的培訓教材撰寫,重點解析該語言的語法和語義,並詳細闡述模式匹配、嚴格列表(proper lists)、遞歸、調試、網路與並發等重要概念的精髓要義。
《Erlang編程(影印版)》可以幫助你:理解並掌握Erlang的諸多強項,以及其設計者潛心設計的各種特性;學習並發背後的概念和Erlang相應的處理方法;編寫高效的Erlang程式,並且保持代碼整潔易讀;發現Erlang如何滿足分散式系統的需求;小試牛刀,添加簡單圖形用戶界面;學習Erlang的追蹤機制,用於調試並發和分散式系統;使用內嵌的Mnesia資料庫和其他表存儲特性。
無論你是新手還是富有經驗的Erlang開發者,《Erlang編程》都是案頭必備的重要參考資料。

目錄

1.introduction why should i use erlang?
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 erlang integers
the erlang shell
floats
atoms
booleans
tuples
lists
term comparison
variables
complex data structures
pattern matching
functions
modules
exercises
3.sequential erlang conditional evaluations
guards
built-in functions
recursion
runtime errors
handling errors
library modules
the debugger
exercises
4.concurrent programming creating processes
message passing
receiving messages
registered processes
timeouts
benchmarking
process skeletons
tail recursion and memory leaks
a case study on concurrency-oriented programming
race conditions, deadlocks, and process starvation
the process manager
exercises
5.process design patterns client/server models
a process pattern example
finite state machines
event managers and handlers
exercises
6.process error handling process links and exit signals
robust systems
exercises
7.records and macros records
macros
exercises
8.software upgrade upgrading modules
behind the scenes
upgrading processes
the .erlang file
exercise
9.more data types and high-level constructs functional programming for real
funs and higher-order functions
list comprehensions
binaries and serialization
references
exercises
10.ets and dets tables ets tables
dets tables
a mobile subscriber database example
exercises
11.distributed programming in erlang distributed systems in erlang
distributed computing in erlang: the basics
the epmd process
exercises
12.otp behaviors introduction to otp behaviors
generic servers
supervisors
applications
release handling
other behaviors and further reading
exercises
13.introducing mnesia when to use mnesia
configuring mnesia
transactions
partitioned networks
further reading
exercises
14.gui programming with wxerlang wxwidgets
wxerlang: an erlang binding for wxwidgets
a first example: microblog
the miniblog example
obtaining and running wxerlang
exercises
15.socket programming user datagram protocol
transmission control protocol
the inet module
further reading
exercises
16.interfacing erlang with other programming languages an overview of interworking
interworking with java
c nodes
erlang from the unix shell: erl_call
port programs
library support for communication
linked-in drivers and the ffi
exercises
17.trace bifs, the dbg tracer, and match specifications introduction
the trace bifs
tracing calls with the trace_pattern bif
the dbg tracer
match specifications: the fun syntax
match specifications: the nuts and bolts
further reading
exercises
18.types and documentation types in erlang
typer: success types and type inference
documentation with edoc
exercises
19.eunit and test-driven development test-driven development
eunit
the eunit infrastructure
testing state-based systems
testing concurrent programs in erlang
exercises
20.style and efficiency applications and modules
processes and concurrency
stylistic conventions
coding strategies
efficiency
and finally
appendix: using erlang
index

作者簡介

作者:(瑞典)塞薩芮利(Francesco Cesarini) (英國)湯普森(Simon Thompson)
塞薩芮利(Francesco Cesarini)從事Erlang/OTP教學14年,學生不僅來自高校,還有開發者、測試人員和項目/技術經理。他幫助籌建了愛爾蘭、 美國和英國的Erlang開發中心。
湯普森(Simon Thompson)是一位來自肯特大學計算實驗室的邏輯學與計算方法教授,在過去的25年中,他一直致力於本科生和研究生的計算機教學工作。

媒體評論

“儘管我已經使用Erlang多年,但在審讀這份手稿的過程中,我還是常常在螢幕上打開該書某些章節,以便編程時引用。不同水平層次的所有Erlang程式設計師都能在這本頗具價值的好書中找到問題解答和參考材料。”
——Steve Vinoski,“The Functional Web”專欄作家,《IEEE Internet Computing》雜誌

相關詞條

熱門詞條

聯絡我們