erlang

Discover erlang, include the articles, news, trends, analysis and practical advice about erlang on alibabacloud.com

Erlang-Interface Technology

The resume interface will be designed for system construction, so that he can be connected to the resume System of applications in different languages. This is called the interface technology of Erlang. Three methods of interface technology: 1. allow external operating systems to run outside the Erlang virtual machine. This is a safe approach. The code in the real-time external language is also problematic

Socket Communication Between Erlang and PHP

. During the test, I thought of the Erlang built-in ets and the legendary concurrency performance. If I use Erlang + ets as a key-value cache server like memcached, will the performance be better than memcached? As a result, I started my experiment and used Erlang to write a Socket server that supports concurrent connections and write a PHP client. In the test re

Let's talk about the trap mechanism of Erlang.

When analyzing Erlang:send's Bif, a Bif_trap series of macros was found. Refer to some of Erlang's own descriptions, which are designed to implement a mechanism called trap. The trap mechanism introduces Erlang's code directly into ERTs, allowing the C function to "use" these Erlang functions directly.Let's first think about why Erlang implements the trap mechanism. Let me start with the more recent fire go

Using IntelliJ idea to develop an Erlang project

Recently, Erlang version changed to R17, in order to support the Chinese language, the first line of the project all module file added the file format declaration: Percent coding:latin-1. However, Erlide will recognize this statement, causing the Chinese display garbled, this temporarily no option to solve the problem. So, I switched to the new IDE, which is the IntelliJ idea that this article is going to cover, which is good for

Erlang Memory Leak analysis

As projects become more dependent on Erlang, the problems they encounter increase. The system encountered high memory consumption problem in the previous time line, and recorded the analysis process of troubleshooting. The online system uses the Erlang R16B02 version.Problem descriptionThere are several online systems that run for some time and the memory soars. The system model is simple and has a network

Ubuntu 12.04 LTS 64-bit compiling and installation of Erlang R16B02

Compile and install Erlang R16B02 in Ubuntu 12.04 LTS 64-bit. 1. Download the Erlang R16B02 source code package Http://www.erlang.org/download/otp_src_R16B02.tar.gz 2. Because java is needed in the process of compiling Erlang, so install JDK and configure the corresponding environment variables first, use the jdk-6u43-linux-x64.bin Export JAVA_HOME =/usr/local/jd

Erlang vs go

1) Design The implementation of Erlang is based on the virtual machine beam. Go is a compilation language and has a single-integrated Compiler (unlike GCC, go solves the dependency problem very well, therefore, when compiling the go program, you do not need to specify the include and Library as the C program.) tnsdl is similar to go and belongs to native execution. Erlang mainly serves telecom-level applica

Erlang ETS--something about cache continue

The last time I talked about the basic idea and idea of implementing a simple cache, http://www.cnblogs.com/--00/p/erlang_ets_something_about_cache.html at the end of the article, speaking of judging single Record memory consumption. This time, we will continue to talk about Erlang data item memory related issues.In the Erlang efficiency_guide documentation, the memory consumption of the different data type

Introduction to Erlang (i)

Read erlang.org above Erlang course four-day tutorial1. Number type, two points to note1) B#val represents the number Val stored in B-binary, such as7> 2#101.5101 of binary storage is 10 binary 5.2) $Char The ASCII encoding that represents char, for example, $ A = 652. More difficult to translate the concept of--atom, can be understood as a constant, it can contain any character, start with a lowercase letter, if not start with a lowercase letter or a

Some ideas about go and Erlang

This is a creation in Article, where the information may have evolved or changed. Some ideas about go and Erlang Original link: http://blog.erlware.org/some-thoughts-on-go-and-erlang/The following is my translation, only for the exchange of learning, copyright belongs to the original author, reproduced please indicate the source, please do not use for commercial purposes. Update: I found that my article did

Erlang will replace Java in the concurrent Field

Erlang processes communicate from different perspectives, and Ralph says: even if the concurrency Erlan style can be easily added to other languages, these languages are hard to compete. Because Erlang is built specifically for telecommunications systems, all these aspects are important, and Ericsson has built an Erlang system with 99.9999999% normal operation ti

Ubuntu Builds Erlang development environment

be no javac, I found online method is:sudo apt-get install openjdk-6-jdk The environment variables for the OTP-17 version of Erlang do not seem to be set:Then we enter in the terminal: Erl Enter, we enter the Erlang environment. It is now possible to start Erlang development.But wouldn't it be more convenient if we could have a good development IDE? After s

Erlang type and function declaration Specification

Overview It indicates that Erlang is a dynamic language and variables are dynamically bound at runtime, which is difficult for us to obtain the type information of function parameters and returned values. In Erlang, we can use type and spec to define the data type and function prototype. Through this information, we conduct static checks on functions and calls to find some problems in code. At the same time

Solve the problem that Erlang R17 cannot recognize Chinese Characters

It has been a while since Erlang was updated to R17. The company's projects planned to migrate from the old version of Erlang to R17, but there were a lot of troubles, one of which was a Chinese problem. This problem is easy to reproduce: Create a new file T. erl and save it as UTF-8 without BOM format. -Module (T).-Export ([test/0]). Test ()-> ["I", In the old Erlang

CentOS 6.5 Source Installation Erlang Tutorial _erlang

Erlang is now part of the Fedora and Debian/ubuntu software warehouses. Erlang is currently the latest version of OTP 17.0. Erlang is a programming language for building large, highly scalable, high-availability programming languages for soft real-time systems. It has been used in telecommunications, finance, E-commerce, Internet telephony and instant messaging.

A method to start Erlang applications in standalone (daemon) __erlang

http://cryolite.iteye.com/blog/383927 Erlang defaults to run with a terminal, in the development process can be very convenient to check the bug, but after the development is completed, should run the service in the background. -noshell (this parameter closes the terminal but still does not run in the background and prints directly to the current screen with output) -noinput to prohibit the input under the terminal -hidden Hide Run -detached backgrou

Not the struggle for language--go vs Erlang

Because of the high concurrency and low latency requirements of the system, we have done a lot of research and comparison work on various languages and platforms. This naturally includes Go and Erlang, which are dedicated to developing high-concurrency applications.ConcurrentGo's support for high concurrency is achieved through goroutine. Goroutine can be understood as lightweight threads (thread). The Goroutine shared address space created by the sam

WhatsApp's Erlang World

Rick's two PPT finishingDownload: 2012 2013, after six months of Erlang, re-look at the two ppt to find more value of the learning place, from the PPT organized as follows:-Prefer Os:timestamp to Erlang:nowThe use of Erlang:now () should be banned, slightly more used, the entire node%si full, and the overall performance of the order of magnitude decreased.-Implement Cross-node Gen_server calls without using monitors (reduces dist traffic and proc Link

PHP expansion Module unpacking binary data in Erlang ext term format (generated by term_to_binary)

PHP Extension Module unpacking binary data in Erlang ext term format (generated by term_to_binary) 1. IntroductionThe article "Exploring the Term_to_binary data encapsulation mechanism of Erlang" has introduced the role of Erlang Extended term format (Erlang external term format) binary, Some students want to term_to_

Erlang and the Web

Erlang and the WebThis article is translated from:http://ninenines.eu/docs/en/cowboy/1.0/guide/erlang_web/The Web is concurrentWhen you visit a website, there is very little concurrency. Several connections are turned on, requests are sent through these connections, and then the Web page is displayed on your screen. Your browser will typically open 4 to 8 connections to the server, and the settings are really not much.But imagine that at the same time

Total Pages: 15 1 .... 6 7 8 9 10 .... 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.