What are some possible solutions to make the BEAM faster for CPU calculations?

Have you looked at Can Nx replace Rust for number crunching? - Nx Forum - Elixir Programming Language Forum ?