Getting to BEAM without going through Erlang