P
P
P4tRicK2019-09-02 16:57:37
C++ / C#
P4tRicK, 2019-09-02 16:57:37

C++ and C# performance?

Are C++ and C# very different in performance?
Studying gamedave, especially with Unity and C#, I found a lot of recommendations that it is better to learn C ++ with UE, that any serious project will sag significantly and this will be very noticeable, is it so?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GavriKos, 2019-09-02
@GavriKos

Well, i.e. Doesn't the fact that the unit eventually translates c# to c++ bother you? ;-)
In fact. When using the engine, the importance of language in the context of performance has already faded from the forefront. Look at supported platforms, at the render pipeline, at internal optimizations.

V
Vitaly Stolyarov, 2019-09-02
@Ni55aN

It should work faster in C++ on average, but is it worth it if it produces 5-10% more frames, and spend one and a half times more effort on development?
It is better to first make a clear architecture and write easy-to-modify code, and only then, if necessary, make optimizations (and then, rather, they will be needed in terms of data structure and algorithms).

#
#, 2019-09-02
@mindtester

Unity != .Net FrameWork
unity is based on mono and uses il2cpp
and if the authors of the recommendations did not know about it, this is their problem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question