A
A
Alexander Pikeev2020-07-05 22:15:07
C++ / C#
Alexander Pikeev, 2020-07-05 22:15:07

Does performance depend on the engine?

Will there be a difference in game performance on the Godot engine when using C# or C++?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Shatunov, 2020-07-06
@Baryon

From the question it is not possible to understand the performance criteria that you are interested in. In general, the topic of performance and profiling is so vast that it is almost impossible to talk about it in a general context. The performance of graphical output is fundamentally different from the performance of a mathematical model, the performance of a mechanic, or the performance of a network connection. And all this will be radically different from the performance of the resource subsystem and the performance of the system belt.
If we talk about some abstract performance in isolation from real tasks, then it is better to refer to the widely distributed notes on this topic. For example, make such a request .
The first link will provide you with the desired information.
From my personal experience, I can still say this. If you start development, it is better to start with the language of the highest level possible. You choose between C# and C++. Take C# and start with it.
And only when your code starts to hit a performance ceiling, move parts of it to C++. The high performance of C++ is offset by low development speed, high demands on developer experience, high cost of error, and a small error probability gradient with experience.
Additionally, not all code needs to be in the same language. It is reasonable to write something dynamically changing on an easily updated script. C++ should only be used where performance requirements override development speed and ease of modification.

F
freeExec, 2020-07-05
@freeExec

Shit code in any language will run slower. Therefore, write on what you can.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question