Hacker News new | ask | show | jobs
by freedomben 2928 days ago
Erlang is slow af? That doesn't harmonize with the benchmarks I've seen, but I'm open minded. Do you have anything I can read?
1 comments

It's common knowledge that it's nowhere near compiled languages for computational speed. It's advantage is massive parallelism and reliability.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Saying Erlang is slow is like saying Ruby is slow. But both are built for problems other than crunching numbers. Not a knock on either language.

Crystal is built in the same vein as Nim - meant to be as quick as C++ but easier to write. Erlang was built for a different use case altogether.

Thanks, much appreciated.
Also shown on the benchmarks game website —

"Most (all?) large systems developed using Erlang make heavy use of C for low-level code, leaving Erlang to manage the parts which tend to be complex in other languages, like controlling systems spread across several machines and implementing complex protocol logic." (quoted from the Erlang FAQ).

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

iow the performance of apps which use Erlang a lot, is not necessarily limited by the performance of the Erlang implementation.