If you're so worried about performance that you code in assembly in 2019, then even the fastest scripting language will seem hopelessly slow to you. That said, Ruby is even slower than Python, if anything, and really really not designed for embedding to the best of my knowledge (though it can be). Lua is both very easy to integrate, and one of the fastest scripting languages out there, so that's probably much closer to what you want.