# Do anybody have any benchmarks relating Go vs Lua Performance?

**URL:** https://forum.heroiclabs.com/t/do-anybody-have-any-benchmarks-relating-go-vs-lua-performance/3252
**Category:** Runtime Framework
**Created:** [November 11, 2022, 11:54am UTC](https://forum.heroiclabs.com/t/do-anybody-have-any-benchmarks-relating-go-vs-lua-performance/3252 "2022-11-11T11:54:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lscardinali](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/lscardinali/32/1426_2.png) [@lscardinali](https://forum.heroiclabs.com/u/lscardinali)
#### Post date: [November 11, 2022, 11:54am UTC](https://forum.heroiclabs.com/t/do-anybody-have-any-benchmarks-relating-go-vs-lua-performance/3252/1 "2022-11-11T11:54:53Z")

</div>

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?

Thanks!

---

<div class="post-metadata">

### Author: ![ftkg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/ftkg/32/1180_2.png) [@ftkg](https://forum.heroiclabs.com/u/ftkg)
#### Post date: [November 11, 2022, 10:41pm UTC](https://forum.heroiclabs.com/t/do-anybody-have-any-benchmarks-relating-go-vs-lua-performance/3252/2 "2022-11-11T22:41:19Z")

</div>

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.
