What\'s best way to do the following? Binary -> list ->开发者_如何学C binary seems unnecessary.
Does anyone know of an implementation of a scripting language interpreter (something appropriate fo开发者_StackOverflowr a game) in Erlang? Something like Javascript or Lua would be great.You may try
I was reading this informative page on Green Thread (Wikipedia) and I wonder: what other programming systems rely on \"green processes\" beside Erlang?
I am trying to start using erlang:trace/3 and the dbg module to trace the behaviour of a live production system without taking the server down.
Is it possible to use list comprehension on two lists, item by item, in sequence? Given A = [1,2,3], B = [4,5,6], get some C = [f(1, 4), f(2, 5), f(3, 6)]. In other words, a more direct/efficient way
I\'m trying to write a basic Erlang program that reads in a file in one process and writes the file in another process.I\'m finding that sometimes the output file gets truncated.
I have the following Makefile to build my erlang project: .SUFFIXES: .erl .beam .yrl ERL_SRC := $(wildcard src/*.erl)
Is there a direct way to retrieve the registered name associated with a pid() ? 开发者_StackOverflow中文版Or do I have to go through the registered() names and do a whereis() on each element of the li
The Nitrogen project web page declares equal support for yaws, mochiweb, and inets, but with which of these web servers is it开发者_StackOverflow社区 going to perform the best? I.e. for a large scale
Could somebody e开发者_开发技巧xplain what an \"improper list\" is? Note:Thanks to all ! All you guys rock!I think @Vijay\'s answer is the best one so far and I just intend to Erlangify it.