对于任何刚入门 Elixir/Erlang 的人,这里有几本很值得一看的书:* 《Learn You Some Erlang》 http://learnyousomeerlang.com/ * 《Erlang in Anger》 http://www.erlang-in-anger.com/ * 《Programming Elixir 1.2》 https://pragprog.com/book/elixir12/programming-elixir-1-2 要处理更大规模的 Elixir 应用,得对 Erlang VM/beam.smp 有实际了解……
For anyone jumping into Elixir/Erlang, here's a few great books you should look into: * Learn You Some Erlang http://learnyousomeerlang.com/ * Erlang in Anger http://www.erlang-in-anger.com/ * Programming Elixir 1.2 https://pragprog.com/book/elixir12/programming-elixir-1-2 For working with larger scale Elixir apps, a working knowledge on the erlang vm/beam.smp…
> I wanted to debug something
> I've analyzed Erlang strace
> "Erlang is complicated"
If you want to debug Erlang program then Erlang/OTP already includes tools to help you do that: http://www.erlang-in-anger.com/ - 92 page manual that includes:
- tracing functions called with defined parameters
- analyzing crash dumps, memory leaks, cpu scheduling
…distribution contains an amazing distributed database called Mnesia. For books, read the AOSA Chapter on Riak (http://www.aosabook.org/en/riak.html) and then read through the tutorials on Riak Core. Oh, and Erlang in Anger https://s3.amazonaws.com/erlang-in-anger/text.v1.0.3.pdf
Wah. Easy there, Satan :-)
That is cool trick though. So it's basically sending the port itself around and changing its ownership, with something like port_connect(Port,NewOwner)?
And btw, thank you for writing https://www.erlang-in-anger.com and http://learnyousomeerlang.com !
对于任何刚入门 Elixir/Erlang 的人,这里有几本很值得一看的书:* 《Learn You Some Erlang》 http://learnyousomeerlang.com/ * 《Erlang in Anger》 http://www.erlang-in-anger.com/ * 《Programming Elixir 1.2》 https://pragprog.com/book/elixir12/programming-elixir-1-2 要处理更大规模的 Elixir 应用,得对 Erlang VM/beam.smp 有实际了解……
For anyone jumping into Elixir/Erlang, here's a few great books you should look into: * Learn You Some Erlang http://learnyousomeerlang.com/ * Erlang in Anger http://www.erlang-in-anger.com/ * Programming Elixir 1.2 https://pragprog.com/book/elixir12/programming-elixir-1-2 For working with larger scale Elixir apps, a working knowledge on the erlang vm/beam.smp…
《Erlang in Anger》(Frank Herbert 著):http://www.erlang-in-anger.com
Erlang in Anger (Frank Herbert): http://www.erlang-in-anger.com
看起来不错,不过我觉得已经有一些很好的 Erlang 入门材料了。我倒是希望多些像这样的东西:http://www.erlang-in-anger.com/
Looks nice, but I think there are already some good introductions to Erlang. I wish there were more things like this: http://www.erlang-in-anger.com/
> 我想调试点东西 > 我分析了 Erlang 的 strace > “Erlang 太复杂了” 如果你想调试 Erlang 程序,Erlang/OTP 已经内置了帮你做到这一点的工具:http://www.erlang-in-anger.com/ —— 92 页的手册,内容包括: - 跟踪带特定参数调用的函数 - 分析崩溃转储、内存泄漏、CPU 调度
> I wanted to debug something > I've analyzed Erlang strace > "Erlang is complicated" If you want to debug Erlang program then Erlang/OTP already includes tools to help you do that: http://www.erlang-in-anger.com/ - 92 page manual that includes: - tracing functions called with defined parameters - analyzing crash dumps, memory leaks, cpu scheduling
……发行版里包含一个超棒的分布式数据库叫 Mnesia。书的话,先读 AOSA 里关于 Riak 的那一章(http://www.aosabook.org/en/riak.html),然后通读 Riak Core 的教程。哦,还有《Erlang in Anger》https://s3.amazonaws.com/erlang-in-anger/text.v1.0.3.pdf
…distribution contains an amazing distributed database called Mnesia. For books, read the AOSA Chapter on Riak (http://www.aosabook.org/en/riak.html) and then read through the tutorials on Riak Core. Oh, and Erlang in Anger https://s3.amazonaws.com/erlang-in-anger/text.v1.0.3.pdf
哇哦。悠着点,撒旦 :-) 不过这招挺酷的。所以基本上就是把 port 本身传来传去、改它的所有者,用类似 port_connect(Port,NewOwner) 的方式? 顺便说一句,谢谢你写了 https://www.erlang-in-anger.com 和 http://learnyousomeerlang.com !
Wah. Easy there, Satan :-) That is cool trick though. So it's basically sending the port itself around and changing its ownership, with something like port_connect(Port,NewOwner)? And btw, thank you for writing https://www.erlang-in-anger.com and http://learnyousomeerlang.com !