《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...
(展开)
在学习一门语言之前,首先要了解它的特点,以及与其他语言的区别。 下面这一段是Armstrong在扉页上写的一段话: 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 h...
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.引自第12页
强调了两点:一是parallel,二是concurrent。
也就是说Erlang本身就是支持并行和并发的。
(小恶魔:在这时,我们不禁要问,难道其他的语言就不支持并行并发了吗?)
Contents
Begin
Getting Started
Sequential Programming
Exceptions
Advanced Sequential Programming
Compiling and Running Your Program
Concurrency
Concurrent Programming
Errors in Concurrent Programs
Distributed Programming
IRC Lite
Interfacing Techniques
Programming with Files
Programming with Sockets
ETS and DETS: Large Data Storage Mechanisms
OTP Introduction
Mnesia: The Erlang Database
Making a System with OTP
Multicore Prelude
Programming Multicore CPUs
看了目录之后,Sequential - Concurrency - Distributed - Multicore
Once upon a time a programmer came across a book describing a funny programming language. It had an unfamiliar syntax, equal didn’t mean equals, and variables weren’t allowed to vary. Worse, it wasn’t even object-oriented. The programs were, well, different.... Not only were the programs different, but the whole approach to programming was different. The author kept on and on about concurren...
2012-01-06 19:33:50
Once upon a time a programmer came across a book describing a funny
programming language. It had an unfamiliar syntax, equal didn’t mean
equals, and variables weren’t allowed to vary. Worse, it wasn’t even
object-oriented. The programs were, well, different....
Not only were the programs different, but the whole approach to programming
was different. The author kept on and on about concurrency
and distribution and fault tolerance and about a method of programming
called concurrency-oriented programming—whatever that might mean.
But some of the examples looked like fun. That evening the programmer
looked at the example chat program. It was pretty small and easy to
understand, even if the syntax was a bit strange. Surely it couldn’t be
that easy.
The basic program was simple, and with a few more lines of code, file
sharing and encrypted conversations became possible. The programmer
started typing....
这段话写的让人想笑…^-^
0 有用 hoterran 2012-03-01 00:24:17
基本看完。OTP章节不爽内容太少
0 有用 3 2012-06-13 20:38:36
ice
0 有用 lili 2013-02-28 15:33:53
书不错, 就是翻译的有点二。 我就不知道怎么就把 guard 翻译成断了。。。。 翻成守卫都比断言好10000倍。。。
0 有用 蝉 2013-12-09 10:11:42
: TP312ER
0 有用 老C 2010-10-05 08:23:46
2010年国庆读完第一遍。确实对现有编程思维的冲击很大,待继续深入。
0 有用 很水 2020-09-03 10:31:28
讲的泛泛,深度不够
0 有用 皮诺曹 J 2020-08-13 21:13:25
想了解erlang和并发的程序员非常推荐,但是对并发没有兴趣就不要读了,你体会不到快感。自学编程想找一份高薪工作的新人也没必要读,因为新人在工作中根本用不到这些概念。挺遗憾的,软件开发环境越来越差,好的技术好的概念都被花里胡哨的广告掩盖了。typescript 和 golang 都好烂啊。
0 有用 改名就认不出 2020-02-18 14:34:10
粗略扫盲,太过随性的定义像lib_misc的代码一样整本书都是
0 有用 Ziv 2019-02-28 23:25:11
非常好的书。学些Erlang不仅可以帮助你成为更好的程序员,还可以帮助你成为更好的运维。
0 有用 moooofly 2018-12-04 23:49:50
erlang学习参考书