Using Erlang, you’ll be surprised at how easy it becomes to deal with parallel problems, and how much faster and more efficiently your programs run. That’s because Erlang uses sets of parallel processes—not a single sequential process, as found in most programming languages.
Joe Armstrong, creator of Erlang, introduces this powerful language in small steps, giving you a complet...
Using Erlang, you’ll be surprised at how easy it becomes to deal with parallel problems, and how much faster and more efficiently your programs run. That’s because Erlang uses sets of parallel processes—not a single sequential process, as found in most programming languages.
Joe Armstrong, creator of Erlang, introduces this powerful language in small steps, giving you a complete overview of Erlang and how to use it in common scenarios. You’ll start with sequential programming, move to parallel programming and handling errors in parallel programs, and learn to work confidently with distributed programming and the standard Erlang/Open Telecom Platform (OTP) frameworks.
You need no previous knowledge of functional or parallel programming. The chapters are packed with hands-on, real-world tutorial examples and insider tips and advice, and finish with exercises for both beginning and advanced users.
The second edition has been extensively rewritten. New to this edition are seven chapters covering the latest Erlang features: maps, the type system and the Dialyzer, WebSockets, programming idioms, and a new stand-alone execution environment. You’ll write programs that dynamically detect and correct errors, and that can be upgraded without stopping the system. There’s also coverage of rebar (the de facto Erlang build system), and information on how to share and use Erlang projects on github, illustrated with examples from cowboy and bitcask.
Erlang will change your view of the world, and of how you program.
作者简介
· · · · · ·
Joe Armstrong is one of the creators of Erlang. He has a Ph.D. in computer science from the Royal Institute of Technology in Stockholm, Sweden and is an expert on the construction of fault-tolerant systems. He has worked in industry, as an entrepreneur, and as a researcher for more than 35 years.
The world is parallel.
If we want to write programs that behave as other objects behave in
the real world, then these programs will have a concurrent structure.
Use a language that was designed for writing concurrent applications,
and development becomes a lot easier.
Erlang programs model how we think and interact. (查看原文)
Functional programming forbids code with side effects. Side effects and concurrency don’t mix. You can have sequential code with side effects, or you can have code and concurrency that is free from side effects.You have to choose. There is no middle way. (查看原文)
《Programming Erlang》Joe的新书,买了个电子版,在花了一些时间读了一下之后,发发牢骚,写写读后感。 书不太厚,也不薄,500多页,但是单纯附录就占了100+,Appendix F Module and Function Reference,有凑页面的嫌疑。有仁兄打印了整本书,叠起来转头那么厚,其实后面那...
(展开)
我运行后,弹出四个对话窗口,然后就错误了! 下面是错误i的log: =ERROR REPORT==== 31-Aug-2011::09:30:56 === Error in process <0.53.0> with exit value: {undef,[{lib_md5,string,["axjxhxoabhkcythsqnvbqwhxbAsDT67aQ"]},{lib_chan,authenticate,4},{lib_chan,connect,5...
(展开)
1 有用 大雨晴空 2014-11-20 17:41:01
感觉没有一个像mix这样的工具,build, release,还是感觉比较原始。所以最终还是去写elixir了。。。
0 有用 [已软注销] 2014-11-19 17:02:30
快速扫了遍
0 有用 买个包儿 2021-04-18 19:56:28
非常适合有点基础的我入门,erlang 的消息传递式并发怎么看都觉得自然。
0 有用 E-Neo 2020-04-28 13:36:55
这本就好很多,毕竟是 Erlang 设计者写的。函数式部分所有都差不多那样没啥意思,并发和分布式部分有些意思。
0 有用 阿呆 2023-10-15 12:12:15 山东
最近决定用Erlang做个项目,就又读了一遍,转眼间作者也已经去世多年了,这书怕是以后很难再会有人写第三版。一直谨记作者的教诲:“一件事情如果过于复杂,那么一定是哪里出问题了。” 无论是编程还是生活。
0 有用 阿呆 2023-10-15 12:12:15 山东
最近决定用Erlang做个项目,就又读了一遍,转眼间作者也已经去世多年了,这书怕是以后很难再会有人写第三版。一直谨记作者的教诲:“一件事情如果过于复杂,那么一定是哪里出问题了。” 无论是编程还是生活。
0 有用 买个包儿 2021-04-18 19:56:28
非常适合有点基础的我入门,erlang 的消息传递式并发怎么看都觉得自然。
0 有用 E-Neo 2020-04-28 13:36:55
这本就好很多,毕竟是 Erlang 设计者写的。函数式部分所有都差不多那样没啥意思,并发和分布式部分有些意思。
0 有用 whunmr 2015-07-13 14:57:30
作者讲的很全面。读了learn your an Erlang for great good后,还需要再读下这本才靠谱。
1 有用 大雨晴空 2014-11-20 17:41:01
感觉没有一个像mix这样的工具,build, release,还是感觉比较原始。所以最终还是去写elixir了。。。