Questions tagged [erlang]

A functional programming language that is well suited for distributed, concurrent, and fault-tolerant applications.

40 questions
8
votes
2 answers

Where is it appropriate to do input validation in Erlang?

I'm writing a module that runs a finite state machine* based on the contents of an array of records passed in at initialization. Each record describes a state and includes instructions on how to act on inputs (i.e., when in state S1, input I…
Blrfl
  • 20,375
3
votes
2 answers

What are my options for running highly optimized code on the BEAM?

I have a small Elixir module that takes up almost all the execution time of my program. I would like to optimize it. It seems like it takes around 15x as long time as the same implementation in C, so there should be some margin to take from. The…
3
votes
2 answers

What does using ZeroMQ in Erlang offer that Erlang already didn't?

I'm only passingly familiar with either, but it seems like most of what ZeroMQ offers is already built into Erlang, yet there's an Erlang-ZeroMQ binding that's fairly active according to its github page. What am I missing?