I've been looking for every bit of performance I can get out of our game, so I spent the past couple days writing a Lua to C# translator that supports a VERY limited subset of Lua functionality.
I figured I'd share it in case it's useful to anyone else: https://github.com/Sahasrara/Lua2CSharp
I've seen a >90% increase in performance at times. Not that it was all that time consuming before.
Lua to C# Translator
Re: Lua to C# Translator
Thanks!
Another alternative is to switch to NLua. It's a faster Lua implementation, but it requires some one-time extra setup steps.
Another alternative is to switch to NLua. It's a faster Lua implementation, but it requires some one-time extra setup steps.