When does it become necessary to use C++?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By independentCog
:warning: Old Version Published before Godot 3 was released.

As far as computational physics how can you tell when to trade in GDscript for c++? What situations has anyone had where they had go that route?

I would say whenever you need to.
If you are not comfortable with performance at some point, try it with c++.

volzhs | 2016-05-22 14:06

:bust_in_silhouette: Reply From: zhagsenkk

plenty of calculation,like AI

:bust_in_silhouette: Reply From: Zylann

I go C++ when GDScript’s slowness impacts the game experience, no matter how hard I try to optimize the code.
I had to do that for procedural 3D world generation.

Thanks for the info. =)

independentCog | 2016-05-24 03:30