Nim bindings for Godot Engine

I have not played with Godot 3.0 yet (other than opening the editor and looking around) but one upcoming feature is GDNative. Thanks to this feature we will have more language bindings like C#, Python.

One of those languages that I’m excited about and that I was not aware of is Nim. Here is why:

Nim is a statically typed language with an elegant Python-like syntax that compiles to native code. It is garbage-collected, but its GC supports real-time mode which this library makes use of. It means the GC will never run during game frames and will use fixed amount of frame idle time to collect garbage. This leads to no stalls and close to zero compromise on performance comparing to native languages with manual memory management.

Early performance number are very encouraging: https://github.com/cart/godot3-bunnymark

Here is the link to the project: https://github.com/pragmagic/godot-nim

I’m really looking forward to this.

Comments