bloated, and the lack of system programming genes, after all, it is enterprise development origin of the last I chose Erlang, because it is excellent in the network layer performance, At the same time fault tolerance and robustness are very good, its virtual machine is the only one comparable to the JVM, but also the OTP super-heavyweight weapons, almost can be a Kill network layer application, but according to my summary it has a mishap and a soft r
Erlang is now part of the Fedora and Debian/ubuntu software repositories.The most current version of Erlang is OTP 17.0. Erlang is a programming language used to build a programming language for large-scale, highly scalable, high-availability soft real-time systems. It has been used in telecommunications, finance, e-commerce, VoIP, and instant messaging. Erlang's
appropriate, is too bloated, and lack of system programming genes, after all, it is enterprise-level development background
finally I chose Erlang, because it performs well in the network layer, while the fault-tolerant and robustness are very good, its virtual machine is the only one comparable to the JVM, but also the OTP super-heavyweight weapons, almost can be a network layer application, but according to my summary it has a mishap and a soft r
appropriate, is too bloated, and lack of system programming genes, after all, it is enterprise-level development background
Finally I chose Erlang, because it performs well in the network layer, while the fault-tolerant and robustness are very good, its virtual machine is the only one comparable to the JVM, but also the OTP super-heavyweight weapons, almost can be a network layer application, but according to my summary it has a mishap and a soft rib
Reprinted: http://blog.sina.com.cn/s/blog_49faf32901008pap.html
By Joe ArmstrongOriginal article: What's all this fuss about ErlangTranslator: Joshua Zhu Xu Shiwei)
What's all this fuss about Erlang?
No one can predict the future, but I plan to make some rational speculation.
Let's assume that intel is correct and the Keifer project is successful. If so, the 32-core processor will appear in the market in 2009/2010 years. It is not surprising that sun
First, the purpose of the library's existence can be broadly divided into:1. Provide convenience2, as far as possible to solve some pain pointsFirst, let's clarify some of the pain points in the Erlang programming language (pseudo-pain points):1, single process issueErlang virtual machine belongs to preemptive scheduling, and preemptive scheduling has many advantages, but it also has the disadvantage. Virtual machines are allocated the same resources
The Erlang Shell is an interface program that users interact with the Erlang runtime system. In fact, the Erlang VM runs without any shell, as long as the parameter detached is added at startup to get out of the terminal. -detachedStarts the Erlang runtime system detached from the system console. Useful for running dae
Solution to high memory usage of Erlang Server
Question: The Erlang server has 1 million online users, and 16 GB of memory is quickly swallowed up. The memory occupied by player processes is high.
Solution:
Step 1:Erlang: system_info (process_count). Check whether the number of processes is normal and whether it exceeds the maximum number of processes on the
The following example is mentioned in many of the basic Erlang tutorials on the web today:-module (tut).-export ([DOUBLE/1]).Double (X)2 * X.Then compile the Tut.erl source file in the Erlang shell:1> C (tut).But for a beginner who has just touched Erlang, the following errors often occur:./tut.erl:none:no such file or directoryErrorThe prompt message tells the u
http://blog.csdn.net/karl_max/article/details/3976372The 6th chapter compiles and runs the program1. Erlang:halt () can immediately stop the system from running.2. The q () command can complete some processing of files and databases before exiting. It is a shell alias for Init:stop ()3. Erlang can dynamically load code, and the running code can be dynamically trimmed after recompilation without stopping the program from running.4. Module load related
Internal Implementation of erlang catch (first draft), erlangcatchRecently, some colleagues in the project team shared the internal data (Eterm) of erlang. Eterm is short for Erlang Term, used to represent any type of data in erlang, that is, any data that erlang can use can
Erlang send analysis and parameter significance, erlangsendErlang send is a basic message sending function used by a process to send a message to another process. This function can be used for local node process communication or remote node Process Communication.Preface recently, some colleagues encountered the problem of message accumulation caused by erlang: send, which aroused my strong attention. I also
This is a creation in
Article, where the information may have evolved or changed.
original articles, reproduced please specify the Source: Server non-amateur research http://blog.csdn.net/erlib author Sunface
It is estimated that many students will find this confusing, go's name has been thunderclap piercing, but Erlang? This stuff is God horse? Is it a programming language? I've never heard of it before.
Here, let me first introduce the more famous
When my team and I decided to transform technology to Erlang, a series of problems emerged: What ide does Erlang use? How to compile Erlang? How do I run a program compiled by Erlang? How can I debug a program written in Erlang? In fact, these problems are universal. When le
Erlang Multi-process and multithreading:In Erlang development, the smallest execution unit we face is the process, and of course this process is not a process at the system level, nor is it a thread. It is a process that is based on the Erlang runtime system. So how does Erlang's multi-process become multi-threaded at the system level and then processed by multi-
This is a creation in
Article, where the information may have evolved or changed.
When it comes to concurrent, Erlang and the go language are common, and the main feature of both languages is that Concurrent,erlang has a history of more than more than 20 years and is a language invented to simplify the development of telecom concurrency and high reliability applications. Go is the design of Google from 2007
Reprinted: http://chaoslawful.iteye.com/blog/310346#bc2251686
Evaluation purpose
The purpose of this test is to investigate the specific performance differences between the Erlang file I/O and the C standard I/O.
Prerequisites
Erlang has two types of operations: normal file I/O and bare file I/O. The file handle of normal file I/O is a process ID, therefore, you can access the handle from any location of th
.
Kruskal algorithm-merging forests into trees
Third, topological sortingTopological order : if there is a forward path from V to W in the diagram, V must precede w. The sequence of vertices that satisfy this condition is called a topological order.The process of obtaining a topological order is topological ordering .AOV (Activity on Vertex) If there is a reasonable topological order, it must be a directed acyclic graph (Directed acyclic
blocking operations in each "Thread"; otherwise, the entire mechanism will become invalid.
Of course there are some perfect solutions. Erlang can be regarded as relatively perfect. Erlang implements lightweight threads and schedulers on virtual machines and becomes the basis of language. In Erlang, users do not control threads, but create a large number of light
Http://wenku.baidu.com/link?url=AUQR8Hn-e-fEB_lqjXsd8XfapWj1qAK7J05JoBXFib_ Llsk5qsotia8hixnv1xkezi-khfsh18qb9ned5pkipb8h6odfvr6kg75musyaammErlang Learning NotesI. The focus of Erlang language features1. Catch is a tuple that returns the value of an expression or an error messageTry...catch is able to capture different types of errors and have process control2, the message will never fail, if you try to send a message to a non-existent process, will o
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.