Do anybody have any benchmarks relating Go vs Lua Performance?

So I’m thinking about changing my realtime match code from Lua to Go to favor performance and less RAM footprint but the Benchmarks i’ve found on the web comparing Lua to Go are pretty scarce, and the Benchmark listed on Nakama website shows little difference but states that aren’t CPU heavy computations on it. As I’m using this on Authoritative server with a high Tick rate so i assume i may see i higher performance difference.

Do anyone have more to say on this topic?


Lua runs on an emulated runtime via virtual machine, so it’ll likely be slightly slower than Go plugins, which are native compiled code.

Therefore looking at performance alone, Go will probably be the better choice.

1 Like