N
N
NosferatuZodd2022-02-01 17:55:55
Backend
NosferatuZodd, 2022-02-01 17:55:55

Why is the backend not written in C++?

Since C++ is so all of itself and super fast, why don't they write a backend on it? Why prefer the same Java, .NET, PHP, etc.? Java is incredibly gluttonous (compared to C ++, of course), C # .NET is also kind of slower, well, I’m silent about PHP, I’m still more interested in large projects like banking systems, etc., where PHP, of course, has no place.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Antony, 2022-02-01
@dolphin23

Development is much faster - as a result, it is cheaper and Time to market is much lower, which in real life is much more important than performance (not always, but in general it is).
Renting another server can very often be more profitable than paying for an extra six months of development and rolling out the product later than competitors.
While you make and debug your cool fast application, everyone will use Vasya's crooked slow craft for a long time.

A
Adamos, 2022-02-01
@Adamos

On Crosses, you will have to write from scratch what Python or Pyha has out of the box: working with strings, dates, databases, etc. - that is, 90% of the entire backend. And when you write all this and assemble it into classes to make it convenient to use, you suddenly find that you wrote the same Puff, only in a bicycle format.

V
Vitsliputsli, 2022-02-01
@Vitsliputsli

I’m silent about PHP, I’m still more interested in large projects like banking systems, etc., where PHP, of course, has no place

PHP is a very fast language, used in completely different areas, from machine control in production to fintech. The choice of C#, Java, PHP, Python often consists in "the team leader likes it more", so here the language does not matter much.
Why not C++? Because it takes a long time and there is not much performance gain. Since individual modules requiring high speed are written in Go or even C. Otherwise, it takes longer to wait for responses from the database and these modules than to process Java or php code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question