Earlier quoted context omitted.
In terms of raw performance, Go will be faster. However, the differentiator here is that the BEAM gives you the guarantees and tools to write highly concurrent applications with a sane mental model, fault-tolerance, and isolated processes. As a sibling said, it's fairly easy cluster applications. Additionally, if something truly needs to be ran in another language for performance, you can write a NIF in Rust or somet…
Highly depends on which libraries are you talking about. Essentially you cannot claim that Go will be faster. You can say that fasthttp is faster than Cowboy for a hello world application. Every real world application is much more complex and the stack's performance will be decided by its slowest element.
Some benchmark about pure CPU computation:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Erlang is really slower than Java
Go and Java now:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
You see the big difference, Go and Java are on part but Go usually takes way less memory than Java.
You can't have everything, message passing / immutability with no performance hit.