|
|
|
|
|
by alco
4363 days ago
|
|
The differences are more than just in syntax. Elixir is also a standard lib that many enjoy, out-of-the box tooling (even Erlang folks have praised mix, the project manager for Elixir), meta-programming. For example, this code generates a bunch of functions using some compile-time code execution and a macro: https://github.com/alco/benchfella/blob/2513f85eff3886fdf1b3.... Doing the same in Erlang would involve using some 3rd party tool for code generation or doing the whole thing at runtime, in a more verbose way. In short, achieving similar development productivity with Erlang would be quite a challenge. |
|
Edit: I assumed this was a test, turns out it's a benchmark. My bad.