Do you want to learn Erlang! I feel that erlang is the future direction of multi-thread concurrent multi-core open-source is his advantage. if you want to work with us, please visit http://groups.csdn.net/erlang. no error. if you want to learn
Here is a few resources:Programming Erlang, by Joe Armstrong. A Good book, really teaching-the fundamentals of Erlang and hot the abstractions is built. Some people found it a bit dry and hard to follow. Joe Armstrong is the original creator of Erlang, along with Robert virding and Mike WilliamsErlang in practice, screencasts by Kevin Smith. He starts from scratc
philosophy.
[7] The current fiery Micro-service architecture is somewhat similar to the philosophy of Erlang.
[8] In any case, adding type labeling to a program is a good practice.
[9] This aspect of performance is probably about 1/7 of the C language.
[10] The main role is to complete the browser WEBRTC media streaming and IMS network media flow between the interoperability, the need for a large number of transcoding and control
[11] This is my own
not.
# ERL + PC Unicode 7> IO: Format ("~ TS ", [[2, 25105]). I ok8> IO: Format ("~ TP ", [[25105])." I "ok9> # ERL + PC Latin1 3> IO: Format ("~ TS ", [[2, 25105]). I ok4> IO: Format ("~ TP ", [[25105]). [25105] ok5>
Code file encoding method
When the Erlang source code is compiled, it is easy to add a comment header to the file. If not, the file will be parsed according to the default encoding method. Epp: default_encoding/0 returns the default
supervisor will also quit, and the more senior supervisors will receive the signal and then restart them for processing. This watchdog mechanism is very well understood, in fact, is the try in OOP programming ... catch exception handling mechanism. When an exception occurs, one layer at a time is thrown upwards until someone restarts it.
OTP Platform
The most powerful place in Erlang is the most difficult place to
As a programmer, we once heard a lot of "industry news" and "technological innovation", and once came into contact with many "Master sayings" and "authoritative recommendations ". These are correct or not!
Now, let's welcome the Erlang feast!I. Experience
When searching for code in koders.com on December 31, November 2007, we found *. the source file in ERL format is amazed at the variety of development languages. At this time, I think
Http://www.cnblogs.com/me-sa/archive/2012/04/28/2475556.htmlErlang Crash Dump Viewer is really the wrong Pyle artifact, remember we discussed earlier [Erlang 0013] Crawl Erlang process runtime information [Erlang 0012]erlang process input queue, Here is the document I combed for "how to interpret the
ObjectiveRecently summarizing some of the basics of Erlang programming languages, we are going to introduce the Erlang programming language from the base to the advanced, and then do the analysis of the interesting libraries in the Erlang programming language.In fact, it is hoped that more and more people will focus on Erlang
can use pattern matching, which is a very good feature, we can let the code decide how to do it ourselves:
For example, we define a function that tells us the price of a certain kind of fruit:
Price (Apple)-> 2.0;
Price (banana)-> 1.2.
We then call Price (Fruit), which returns the specific prices based on the contents of the Fruit variable. The advantage of this is to save our code, we do not have to if...else ... or switch...case to serve it. Also easy to expand the code: Add a new fruit varie
From erlang time functions to the time correction system, erlang correctionMany people will notice this problem. erlang provides two time functions, erlang: now () and OS: timestamp (). In the same usage, the current time is returned. The specific time is counted from, January 1, January 1, 1970. The result is {MegaSec
The feast that Erlang cannot miss(Trot into the world of Erlang)Chenglitao ([email protected])As programmers, we have upon hearing a lot of "industry dynamics", "technological innovation", has been exposed to a lot of "master Proverbs", "authoritative recommendations." These are right or not, have become the past!Now, let's Meet the Erlang feast!First, experience
I launched a collection activity [LINK] On the Erlang resources Douban website, "[Collection] the Erlang papers we have read". I hope you will come and join us. the purpose of initiating such an activity is that there are very few Erlang-related publications, and most of the time they are looking for answers from academic papers. Finding the right papers is the f
, add the installation path plus to the \bin PATH environment variable.OS XIf you are a OS X user, to install Erlang OTP, type the following in the Terminal prompt (make sure you have Homebrew ins Talled on your machine):brew install erlangNote that if you prefer macports to Homebrew, and your command line should is different:port install erlang +sslLinuxThe installation process for Linux are similar to OS
Into the world of ErlangAs programmers, we have upon hearing a lot of "industry dynamics", "technological innovation", has been exposed to a lot of "master Proverbs", "authoritative recommendations." These are right or not, have become the past!Now, let's Meet the Erlang feast!ExperienceNovember 2007 in koders.com Search code, found the *.erl format of the source files, exclamation the development of the language of the pattern, at this time, I think
I sorted out the items I noted down when I read the materials.
Adding special-purpose processor support to the Erlang VM
P23The Erlang compiler and beam file formats are briefly introduced;
The Erlang compiler in short chapter mentions the core Erlang mentioned previously:
[Erlan
The first pain in learning Erlang is ide support, and the second pain point is that there are too few Chinese materials. For Beginners, Erlang benefited from the Chinese materials contributed by Yu Feng, Li Tao, and others, returning Erlang Chinese.CommunityHere is the Chinese version of Erlang stdlib;
What is a C
When I learned Erlang, I recorded some items in the white space of the book, and some of them were recorded in the demo notes. Today I 've sorted out some of them and shared them.
Last address: [Erlang 0009] Erlang note
Erlang is a message-oriented language. The message-oriented language does not share objects. inter
@127.0.0.1> nodes (). foo@127.0.0.1> ['Bob @ 127.0.0.1 '] foo@127.0.0.1> node (). foo@127.0.0.1> 'foo @ 127.0.0.1'
The pitfalls here are:
6.1 call q () on a remote node (),Both nodes exit.! It's terrible. It's best to rewrite the q () function in user_default.erl to prevent him from executing init: stop ().
6.2 replace erl with werl in the window;
6.3 erl supports custom parameters. For example, if you write erl-rmsh test, no error will be reported. If you accidentally write an error, it wil
Erlang development experience: Anti-pitfall guide and erlang experienceThis problem occurs in any language, and so does erlang. Here we will sort out some of my problems to avoid further difficulties. To be honest, the title of "anti-pitfall Guide" is somewhat unconventional, but we still hope to pay attention to it and avoid repeating these issues in actual deve
Have you seen the famous "Apache vs. Yaws" picture? Are you thinking that you should use the yaws too? The first impression of these figures is that Yaws has an incredibly big advantage in scalability, which can scale to 80,000 parallel connections, and Apache cannot continue to support it with only 4,000 connections. There is a clear divergence in the response to these graphs, a voice that says "These graphs are unlikely to be accurate" or "they must not be properly configured for Apache"; the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.