4 ms·
Erlang's use case is handling lots of connections simultaneously, and messaging between processes. These benchmarks are all single-threaded, pure computation.
by chris_st 8y ago
Erlang's use case is handling lots of connections simultaneously, and messaging between processes.
These benchmarks are all single-threaded, pure computation. Erlang is pretty slow at that (alas).
- elcritch 8y agoI’d certainly put Erlang (and Elixir) in the class of scripting languages. In that category it beats out most of the other classic scripting languages like Python, Ruby, Perl, and Lua at execution speed and energy usage, aside from JavaScript and oddly PHP. For being a mostly pure functional language it performs pretty well in that category. To the parent comment’s question, the reputation for solid performance likely comes from Ruby/Python developers. When dealing with web server applications it really shines due to how it handles concurrency. Also NIFs are really easy to write, especially in Rust.