I think your statement goes too far. In my experience, it's very difficult to do lightweight threading on the JVM anywhere near the performance of the BEAM, as well as region allocation in the style used by high-performance Erlang programs. I think a comparison is unfair. The BEAM definitely sucks for compute-oriented tasks, but it's an immense amount of work to make a JVM-based program compete in the areas where it's good.
pron|6 years ago
verttii|6 years ago
Luckily, computational parallelization is not a big challenge with new libraries such as: https://github.com/plataformatec/flow
However, immutability might still become a challenge in terms of resources/performance. Rust is often used to patch that with Erlang's NIF.
cutler|6 years ago